This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Usedll() fails to load
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Jul 01, 2008
05:19 AM
Usedll() fails to load
Hi,
I'm porting a Installshield 2.01 project to IS 2008. The usedll function fails to load after porting it to IS 2008. I have checked the path, the path is fine and the dll exists in the path. Does any one know the cause or is there any limitation? Please help.
Thanks.
I'm porting a Installshield 2.01 project to IS 2008. The usedll function fails to load after porting it to IS 2008. I have checked the path, the path is fine and the dll exists in the path. Does any one know the cause or is there any limitation? Please help.
Thanks.
(6) Replies
‎Jul 01, 2008
09:15 AM
Could you post the specific code that fails?
‎Jul 03, 2008
04:24 AM
No big deal here,
if (0==UseDLL(szDll)) then
g_nRet = nisoppep.ApiDoInstall(hMSI);
Sprintf(g_szMsg,"DoInstall returned %d",g_nRet);
else
g_szMsg = "DoInstallUpdate: Unable to load nisoppep.dll";
g_nRet = -1;
endif;
I suspect that the version of the created dll is obsolete that it is not supported, can it be the case?
if (0==UseDLL(szDll)) then
g_nRet = nisoppep.ApiDoInstall(hMSI);
Sprintf(g_szMsg,"DoInstall returned %d",g_nRet);
else
g_szMsg = "DoInstallUpdate: Unable to load nisoppep.dll";
g_nRet = -1;
endif;
I suspect that the version of the created dll is obsolete that it is not supported, can it be the case?
‎Jul 03, 2008
04:28 AM
vigorvick wrote:
No big deal here,
if (0==UseDLL(szDll)) then
g_nRet = nisoppep.ApiDoInstall(hMSI);
Sprintf(g_szMsg,"DoInstall returned %d",g_nRet);
else
g_szMsg = "DoInstallUpdate: Unable to load nisoppep.dll";
g_nRet = -1;
endif;
I suspect that the version of the created dll is obsolete that it is not supported, can it be the case?
I hope you are not trying to load a 64 bit compiled dll on a 64 bit platform, coz that Installshield does not support that. I haven't tested my Installer on a win2k8 32bit machine but I've had same problem with UseDll on a 64 bit platform.
‎Jul 08, 2010
10:44 AM
Hi, vigorvick,
Your last post says that the problem is solved. How did you solve it? I am having a similar problem and would like to know your solution. I want our customers to have the best experience, and don't want to load them down with lots of overhead and prerequisites. 🙂
Thanks!
Dave
Your last post says that the problem is solved. How did you solve it? I am having a similar problem and would like to know your solution. I want our customers to have the best experience, and don't want to load them down with lots of overhead and prerequisites. 🙂
Thanks!
Dave