Hi there,
I am using UseDLL() to load VC++ dll, this VC++ dll has an import for ComAdmin.dll ( for ComAdminCatalog related operations). but it gives me error that "Dll function call crashed" error. ComAdmin.dll is imported using
"c:\\windows\\system32\\com\\Comadmin.dll" no_namespace
Can anyone help me to resolve this issue please? Thanks in advance.
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.
VC+ dll crashed error when used from InstallShield
Started by
Mitesh
, Mar 14 2006 13:23
3 replies to this topic
Posted 14 March 2006 - 16:28
Have you specified the correct calling convention for your dll function (cdecl or stdcall)
Stefan Krüger
InstallSite.org twitter facebook
Posted 16 March 2006 - 13:26
Hi Stefan,
Thanks for you response. I am using extern "C" long APIENTRY COMOperations(Paramters) syntax.
I have such other cople of functions. All works fine when I use them from InstallShield, But when I add below line to COMOperationsfunction, "Dll function call crashed" error comes.
ICOMAdminCatalogPtr Catalog("COMAdmin.COMAdminCatalog");
and when I ramark this line, everything works fine. Please suggest some solution.
Thanks for you response. I am using extern "C" long APIENTRY COMOperations(Paramters) syntax.
I have such other cople of functions. All works fine when I use them from InstallShield, But when I add below line to COMOperationsfunction, "Dll function call crashed" error comes.
ICOMAdminCatalogPtr Catalog("COMAdmin.COMAdminCatalog");
and when I ramark this line, everything works fine. Please suggest some solution.
Posted 20 March 2006 - 18:35
If you just need to access the COMADMIN objects, please see my reply to your other post regarding the subject.