Calling an App server from a DLL

Hi,
How can i connect to a com server (appserver implemented as a Activex library)from a normal DLL in the Client aplication.
I have all my Client application in Dll an a single Menu form call the form a need from the library. but i need to create the client datamodule
but i just get "coinitialize have not been called". how can i solve this?
Thanks

Comments

  • : Hi,
    : How can i connect to a com server (appserver implemented as a Activex library)from a normal DLL in the Client aplication.
    : I have all my Client application in Dll an a single Menu form call the form a need from the library. but i need to create the client datamodule
    : but i just get "coinitialize have not been called". how can i solve this?
    : Thanks
    :
    In the initialization of your unit call the coInitialize() and in the finalization call the coUnInitialize.
Sign In or Register to comment.

Howdy, Stranger!

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

Categories

In this Discussion