hi, im trying to call a dll function through install shield 5.5 but having some errors while declaring dll function. this is the code
prototype STRING SerialKey.GetProductNo();
and in vc function is
extern "C" __declspec(dllexport ) CString GetProductNo()
{
// function code
//
return sSerial;
}
CAN ANY1 PLZ SOLVE MY PROBLEM
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

CALLING DLL FUNCTION FROM INSTALL SHIELD 5.5
Started by
hasee
, Oct 09 2003 13:01
2 replies to this topic
Posted 09 October 2003 - 14:11
Moved to Professional 5.5 forum
Stefan Krüger
InstallSite.org twitter facebook
Posted 09 October 2003 - 14:12
I don't think you can return a string from a dll as return value. You would have to return it in a parameter.
Stefan Krüger
InstallSite.org twitter facebook