Hi All,
I am using InstallShield Professional 5.3. I need to invoke "getDevicePool" function which is defined in "InstallUtil" class of the "InsightRegister" dll, from my install script "setup.rul".
I have attached the code for DLL. And below in the code snippets to invoke that function.
prototype string InsightRegister.getDevicePool(BYREF STRING, NUMBER, BYVAL STRING);
//Load DLL in the memory.
dllLoadResult = UseDLL (SUPPORTDIR ^ "InsightRegister.dll");
if (dllLoadResult != 0)
then
MessageBox ("DLL load failed.", SEVERE);
abort;
endif;
szOCSConns = getDevicePool(szHostName, 5, "InsightForOCS");
The project is building fine. But when I run the setup, it throws error :-
Failed to find DLL function : InsightRegister.getDevicePool
Any sort of help to achieve the desired result is highly appreciated.
Thanks,
Nayan
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.
Invoking a dll function
Started by
nayannilank
, Jul 14 2010 08:02
2 replies to this topic