List:MySQL++« Previous MessageNext Message »
From:Joel Fielder Date:May 3 2007 9:34am
Subject:RE: Not able to register mysqlpp.dll
View as plain text  
Hi there,

Regsvr32 is generally for registering and unregistering the objects
found in COM dlls (although there's nothing to stop you putting other
initialisation stuff in there).  Mysql++ is not a COM dll and neither
does it have the DllRegisterServer or DllUnregisterServer entry points,
so regsvr32 will fail even if LoadLibrary works.  What are you trying to
achieve by registering it?

As for why LoadLibrary fails, don't know - it could be any number of
reasons (http://msdn2.microsoft.com/en-us/library/ms684175.aspx). Maybe
it's trying to call the DllMain entry point function, which again is not
found in mysql++.

This page http://support.microsoft.com/kb/207132 has source code for a
regsvr32 application.  Maybe you could use that to diagnose your
problem?

Joel

Thread
Not able to register mysqlpp.dllBassam A. Al-Khaffaf3 May
  • RE: Not able to register mysqlpp.dllJoel Fielder3 May
    • RE: Not able to register mysqlpp.dllBassam A. Al-Khaffaf4 May
      • RE: Not able to register mysqlpp.dllJoel Fielder4 May
      • Re: Not able to register mysqlpp.dllWarren Young4 May
RE: Not able to register mysqlpp.dllIan Daysh3 May