U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ SQL » dbaccess via odbc
Re: dbaccess via odbc [message #16807 is a reply to message #16806] Sat, 12 July 2008 14:33 Go to previous messageGo to previous message
maxmeier is currently offline  maxmeier
Messages: 9
Registered: July 2008
Location: Nürnberg
Promising Member
Hi,

thanks for your answer. I added OleDB and Sql packages and tried the following...

#include <Core/Core.h>
#include <OleDB.h>

using namespace Upp;

CONSOLE_APP_MAIN
{
OleDBSession sess;
}

...and got a compile error from win sdk and moreover compiler says that "OleDBSession" is not known:

c:\program files\microsoft sdks\windows\v6.0a\include\ocidl.h(2809) : error C2061: Syntaxfehler: Bezeichner 'CY'
c:\program files\microsoft sdks\windows\v6.0a\include\ocidl.h(2812) : error C2061: Syntaxfehler: Bezeichner 'CY'
D:\cpp_projects\MyApps\CoreConsole1\CoreConsole1.cpp(12) : error C2065: 'OleDBSession': nichtdeklarierter Bezeichner
Mad

Can you help?

BTW: where can I have a look into your database explorer? Couldn't find something like that in the upp-sources.

Bye
maxmeier

[Updated on: Sat, 12 July 2008 14:45]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message icon4.gif
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Previous Topic: MySql basic example
Next Topic: linking error trying to compile SQL_MySql demo on linux fedora 9
Goto Forum:
  


Current Time: Fri Nov 06 03:09:23 GMT+1 2026

Total time taken to generate the page: 0.00674 seconds