Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Cannot link SqlCommander sample with MSC8...  () 1 Vote
Re: Cannot link SqlCommander sample with MSC8... [message #9189 is a reply to message #9181] Fri, 20 April 2007 12:46 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14265
Registered: November 2005
Ultimate Member
Look at the beginning of SqlCommander.cpp

#if defined(PLATFORM_WIN32) && defined(COMPILER_MSC)
#define HAVE_OLEDB
#endif

This means that OLEDB connections are disabled for migw, that is why it works...

You cannot compile it most likely because you have not installed part of SDK that provides OLEDB.

I suppose you are not very interested in OLEDB, therefore a simple way how to get around the problem is to disable for MSC too:

#if defined(PLATFORM_WIN32) && defined(COMPILER_MSC)
// #define HAVE_OLEDB
#endif

Mirek
 
Read Message icon5.gif
Read Message icon9.gif
Read Message
Read Message icon5.gif
Read Message icon7.gif
Read Message
Read Message icon7.gif
Read Message
Read Message icon12.gif
Read Message icon5.gif
Read Message
Read Message icon4.gif
Read Message
Read Message icon7.gif
Read Message
Read Message icon9.gif
Previous Topic: GCC 4.1.2 for Windows and Ultimate++
Next Topic: Attempting to compile U++ drawing examples
Goto Forum:
  


Current Time: Fri Jul 04 04:40:59 CEST 2025

Total time taken to generate the page: 0.04099 seconds