I am trying to call a function from a dll I'm importing using the #import statement, the code is below:
#import "myDLL.dll"
using namespace myNS;
myNS::ITF::Validate(BSTR1, BSTR2, &BSTR3);
I get the error C2352: 'myNS::ITF::Validate' : illegal call of non-static member function.
Is there a way to fix this, or better yet, is there a different way of calling a function from a dll file.
P.S. all i have is the DLL file it was writen using delphi.
Thank You.
#import "myDLL.dll"
using namespace myNS;
myNS::ITF::Validate(BSTR1, BSTR2, &BSTR3);
I get the error C2352: 'myNS::ITF::Validate' : illegal call of non-static member function.
Is there a way to fix this, or better yet, is there a different way of calling a function from a dll file.
P.S. all i have is the DLL file it was writen using delphi.
Thank You.