Problem calling class in dll

I have a Third Party dll (MarkLogicXdmp.dll)

I want to use that dll in VC++ win32 Project.

I am able to load the dll into VC++ form application and console application, using static linking and the code that I am working looks like this:


XdmpConnection ^conn = gcnew XdmpConnection("localhost", 8090);

Conn->SetCredentials ("mark", "mark");


Where XdmpConnection is a class in that dll (MarkLogicXdmp.dll) and SetCredentials is a function in that class.

Now I want to implement this code in

Comments

  • : I have a Third Party dll (MarkLogicXdmp.dll)
    :
    : I want to use that dll in VC++ win32 Project.
    :
    : I am able to load the dll into VC++ form application and console
    : application, using static linking and the code that I am working
    : looks like this:
    :
    :
    : XdmpConnection ^conn = gcnew XdmpConnection("localhost", 8090);
    :
    : Conn->SetCredentials ("mark", "mark");
    :
    :
    : Where XdmpConnection is a class in that dll (MarkLogicXdmp.dll) and
    : SetCredentials is a function in that class.
    :
    : Now I want to implement this code in
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