List:MySQL++« Previous MessageNext Message »
From:Daniel Date:September 11 2004 12:32am
Subject:Re: Visual Studio .NET (7.1.3088) and mysql++ 1.7.15
View as plain text  
> > Mysql++ and the examples compiled and are working like expected, but when I
> > try to create my own project the linking doesn't work correctly.
> 
> This is usually a symptom of linking with a different C runtime 
> library than was used to build the MySQL and MySQL++ libraries.  
> Study the Code Generation settings in the example projects, and 
> match them in your own project.
> 
> If it works, I'd appreciate a report back with details I can drop 
> into the README.vc++ file that comes with the package.

I am building an application with the fltk toolkit and a mysql database. It is
compiled with runtime library 'multithreaded debug dll', which you surely know
mysql++ is not. I believe this is the problem. The code generation settings in
my project are:

Enable string pooling: no
Enable minimal build: Yes
Enable C++ Exceptions: Yes
Smaller Type Check: No
Basic Runtime Checks: Both
Runtime Library: Multithreaded Debug DLL
Struct Member Alignment: Default
Buffer Security Check: No
Enable Function-Level Linking: No
Enable Enhanced Instruction Set: Not Set

The FLTK faq says fltk really should be generated using Multithreaded DLL, and
I would like to follow their recommendation. (A brief explanation 'in simple
words' of the difference between the runtime libraries would be appreciated).

Thank you in advance,
Daniel Polski
Thread
Visual Studio .NET (7.1.3088) and mysql++ 1.7.15Daniel10 Sep
  • Re: Visual Studio .NET (7.1.3088) and mysql++ 1.7.15Warren Young10 Sep
    • Re: Visual Studio .NET (7.1.3088) and mysql++ 1.7.15Daniel11 Sep
      • Re: Visual Studio .NET (7.1.3088) and mysql++ 1.7.15Thomas Werth13 Sep
      • Re: Visual Studio .NET (7.1.3088) and mysql++ 1.7.15Warren Young13 Sep
        • Re: Visual Studio .NET (7.1.3088) and mysql++ 1.7.15Daniel13 Sep
          • Re: Visual Studio .NET (7.1.3088) and mysql++ 1.7.15Warren Young13 Sep
            • Re: Visual Studio .NET (7.1.3088) and mysql++ 1.7.15Daniel14 Sep
              • Re: Visual Studio .NET (7.1.3088) and mysql++ 1.7.15Warren Young14 Sep