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

Error calling .dll functions since upgrade to 2010


1 reply to this topic

sksmith66

sksmith66
  • Full Members
  • 1 posts

Posted 20 May 2010 - 19:04

we finally upgraded our installshield license and I'm attempting to convert our installs from installshield 5.5 to 2010. I'm now getting errors when making calls to functions in some of our custom .dlls. I've tried several things. I've re written the .dll in both C+ and C#. I tried using the cdecl declaration when defining the prototype, and I've tried it without that.

here is the snippet of install script:

prototype STRING SpInstall.GetOPVersion (STRING);
...
...
...
if ( FindFile ( SUPPORTDIR, "SpInstall.dll", svResult ) = 0 ) then
nResult = UseDLL(szDLLName);
strVersion = GetOPVersion(szDirName);
UnUseDLL(szDLLName);


and here is my dll:

namespace SpInstall
{
public class SpInstall
{
string GetOPVersion(string _DirName)
{
...
}
}
}
attached is the error. any one got any ideas?

Attached Images

  • error.JPG

Edited by sksmith66, 20 May 2010 - 20:05.


Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 25 May 2010 - 14:51

I would recommend contacting Flexera and they will help you with working through such issues with an upgraded IS project.
user posted image