Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Public Module In ActiveX DLL

Hi!!!
I make a Dll with some classModules & Modules.Can anyone tell me how can i make the Modules (No classModules) Public. So when i use the Dll with another project, i can use the public procedures who saved in a module.
Thank`s

Comments

  • JomacJomac Member Posts: 231
    : Hi!!!
    : I make a Dll with some classModules & Modules.Can anyone tell me how can i make the Modules (No classModules) Public. So when i use the Dll with another project, i can use the public procedures who saved in a module.
    : Thank`s
    :

    On you project properties dialog, set the thredding model to "Single Threaded" - each application that uses the DLL will then create there own instances of the class(s) but will share the loaded library (including public module code). It is even possable to have the module store a collection of loaded class instances and pass events between them.

    Another way is to register the DLL in the windows "Running Table of Objects" (ROT) but this is a lot more complicated.
    ______
    [size=2][b][blue]J[/blue]omac.[/b][/size]

Sign In or Register to comment.