Jump to content


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.
Photo

Tring to call External DLL


1 reply to this topic

vattipalli

vattipalli
  • Members
  • 1 posts

Posted 03 December 2004 - 06:40

Hi,

Iam trying to migrate installshield project from 5.5 version to 10.5.
I get the following error :
Linking...
isrt.obl(Service.obs) : error L8407: 'Advapi32.OpenSCManagerA' : conflicts with previous definition
isrt.obl(Service.obs) : error L8407: 'Advapi32.OpenServiceA' : conflicts with previous definition
isrt.obl(Service.obs) : error L8407: 'Advapi32.QueryServiceStatus' : conflicts with previous definition
isrt.obl(Service.obs) : error L8407: 'Advapi32.StartServiceA' : conflicts with previous definition
Setup.inx - 4 error(s)

iam currently working on windows xp.
The following are the function definitions:
prototype HWND Advapi32.OpenServiceA(HWND,POINTER,NUMBER);
prototype Advapi32.QueryServiceStatus(HWND,POINTER);
prototype HWND Advapi32.OpenSCManagerA(POINTER,POINTER,NUMBER);
prototype HWND Advapi32.StartServiceA(HWND,NUMBER,POINTER);

Please help me in solving the error



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 03 December 2004 - 15:11

InstallScript now has built in support for NT services. It makes use of these API functions, so they are already defined (maybe with slightly different data types)