DLL only working with Windows SDK installed

  • Thread starter Thread starter DasNeo
  • Start date Start date
D

DasNeo

Guest
Hey,

I made a DLL (in C++) and would like to use it in Alaska (XBase++). I can not load the DLL if Windows SDK is not installed. (Other DLLs are loading correctly)

The DLL itself is just importing another DLL and exporting some functions. (Because you can't load .NET DLLs in Alaska directly)


Is there a way to get around installing Windows SDK?


Here's some Code:

dll.h:


__declspec(dllimport) int test(LPSTR cID);

some more...


dll.cpp

__declspec(dllexport) int test(LPSTR cID)
{
try {
String ^S1 = gcnew System::String(cID);
return CosCom::Diverse::test(S1);
}
catch (Exception^) {
return 0;
}
}



Please tell me if you need additional information.


Thanks,

André.

Continue reading...
 
Back
Top