I am facing a problem while making a call to a function in a DLL. I am
migrating my project from version 5. This same exact code used to work under
version 5 and crashing here.
The error message I get is the following:
--------
Error Number: 0x80040707
Description: DLL function call crashed: PfInstall.ConnectToDBEngine
Setup will now terminate.
-------
and in another case for a difference function, which is called after the
previous one
-------
Error Number: 0x80040704
Description: DLL function call resulted in bad stack
Possible incorrect prototyping: PfInstall.SetCompanyAndFinInformation
Setup will now terminate.
-------
I have updated the prototypes to include the BYREF V/s BYVAL qualifiers.
Can someone help please?
thanks
Do you specify a return value for your dll? In InstallShield 5.x this was
not used, however in 6.x you need to specify a return value for the dll you
are calling.
Sincerely
--
Olga K.
InstallShield Technical Support
InstallShield® Professional 2000 is now available from InstallShield
Software Corporation! Take advantage of new event-based scripting
and enhanced third-party technology support. Target the Windows Installer
service of Windows 2000. Find out more! Visit www.installshield.com
and upgrade to InstallShield Professional 2000 today!
Kedar wrote in message <38429...@news.installshield.com>...
CK
Olga K (InstallShield) wrote in message
Error Number: 0x80040704
Description: DLL function call resulted in bad stack
Possible incorrect prototyping: Dlg.InvokeRegistration
Setup will now terminate.
dll worked in is5x, but not in is6x.
what exactly do you mean by specifying a return value?
thanks.
>adam sapek <adams at installshield.com> wrote in message
>news:384d6...@news.installshield.com...
>> Check with QuickView what are the exported names of these functions. My
>> guess is they are decorated. If that's the case just use a .def file to
>> define exports.
ja...@hotmail.com wrote in message <384DD7A3...@hotmail.com>...