List:MySQL++« Previous MessageNext Message »
From:Bassam A. Al-Khaffaf Date:May 4 2007 2:56am
Subject:RE: Not able to register mysqlpp.dll
View as plain text  
Well Guys, Thanks a lot for your response.

I wrote a radius server using all the specifications that I mentioned in the
last post. This server has many modules that all linked together to generate
a single executable file when I build the solution.

Later, I decided to restructure my application and separate these modules
into DLL's to be compliant with software engineering standards and

I start learning how to build DLLs and then I came across the registration
of the DLLs using regsvr32, and I found that the best thing, in my case, to
test is to register mysqlpp.dll and see what the impact is.

As my answer to your previous replies, however, I think I still need to
register the mysqlpp.dll libraries for both debug and release versions
because I stored them in:
C:\program files\mysql\mysql++-2.2.1\vc\debug
C:\program files\mysql\mysql++-2.2.1\vc\release

My application won't work unless I copy the mysqlpp.dll into my application
directory or into C:\windows\system32 directory, and that is why I still
want to register them in order to make my application work without copying

Looking forward to hearing from you


>-----Original Message-----
>From: Joel Fielder [mailto:joel.fielder@stripped]
>Sent: Thursday, May 03, 2007 5:35 PM
>To: plusplus@stripped
>Subject: RE: Not able to register mysqlpp.dll
>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 ( Maybe
>it's trying to call the DllMain entry point function, which again is not
>found in mysql++.
>This page has source code for a
>regsvr32 application.  Maybe you could use that to diagnose your
>MySQL++ Mailing List
>For list archives:
>To unsubscribe:
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.5.467 / Virus Database: 269.6.2/785 - Release Date: 5/2/2007
>2:16 PM

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