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

Use Delphi DLL in InstallShield


3 replies to this topic

davels

davels
  • Members
  • 6 posts

Posted 09 October 2006 - 15:39

I'm trying to use a Delphi DLL in InstallShield but it's not workiong.
Does someone already try to insert a DLL in InstallShield?

Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 09 October 2006 - 15:45

Can't help you with that I am afraid, but if you read this article you might get some ideas: http://www.codeproje...ustomaction.asp

If Delphi DLLs really do compile to native, I guess the challenge lies in the calling convention used.

Edited by Glytzhkof, 09 October 2006 - 15:46.

Regards
-Stein Åsmul

davels

davels
  • Members
  • 6 posts

Posted 09 October 2006 - 15:55

Thanks for your help, I will check in this way smile.gif

Zweitze

Zweitze
  • Full Members
  • 522 posts

Posted 10 October 2006 - 21:29

I had no problem with Delphi 5 DLLs. Some hints:
- The exported functions must have the "cdecl" calling convention.
- Do not use external BPL libraries, as they may not be present on the target system.
- For headers of MSI.DLL (necessary for calling functions like MsiGetProperty) look at http://www.delphi-jedi.org/ and search for Platform SDK / Win32API