Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. Can OCX tell which DLL called it?

Can OCX tell which DLL called it?

Scheduled Pinned Locked Moved Visual Basic
comquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Crazy Joe Devola
    wrote on last edited by
    #1

    Hi, If an exe A.EXE calls an ActiveX DLL B.DLL, which opens a form which has an OCX called C.OCX: Is there a way C.OCX can tell teh name of the DLL which launched the form that called it?

    D 1 Reply Last reply
    0
    • C Crazy Joe Devola

      Hi, If an exe A.EXE calls an ActiveX DLL B.DLL, which opens a form which has an OCX called C.OCX: Is there a way C.OCX can tell teh name of the DLL which launched the form that called it?

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      No there isn't. The only way it can tell is if your OCX has function which take a parameter as such. The form would then have to pass a reference to itself to the function, which is never done by default. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups