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 » Community » Newbie corner » Connecting to PostgreSQL DB without reference file
Connecting to PostgreSQL DB without reference file [message #38311] Sun, 09 December 2012 20:41 Go to previous message
DOTMPP is currently offline  DOTMPP
Messages: 4
Registered: December 2012
Junior Member
Hi, I can connect to the test PostgreSQL DB using the reference package, but I don't know how to do it on my own using my own DB.

For example,

Quote:

protected:
PostgreSQLSession m_session;



I have no idea what type this is. I tried including all the things the reference file includes, but it still doesn't work.

It gives me "20 unresolved externals" error.

Quote:

error LNK2019: unresolved external symbol "public: virtual __thiscall Upp::SqlSession::~SqlSession(void)" (??1SqlSession@Up
p@@UAE>@XZ) referenced in function __unwindfunclet$??0PostgreSQLSession@Upp@@QAE>@XZ$0
DataBaseConnection.obj : error LNK2019: unresolved external symbol "public: __thiscall Upp::SqlSession::SqlSession(void)" (??0SqlSession@Upp@@QAE>@XZ
) referenced in function "public: __thiscall Upp::PostgreSQLSession::PostgreSQLSession(void)" (??0PostgreSQLSession@Upp@@QAE>@XZ)
DataBaseConnection.obj : error LNK2001: unresolved external symbol "protected: virtual class Upp::SqlConnection * __thiscall Upp::PostgreSQLSession:
:CreateConnection(void)" (?CreateConnection@PostgreSQLSession>@Upp@@MAEPAVSqlConnection>@2>@XZ)
DataBaseConnection.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Upp::PostgreSQLSession::Begin(void)" (?Begin@Pos
tgreSQLSession@Upp@@UAEXXZ)


etc...

[Updated on: Sun, 09 December 2012 20:47]

Report message to a moderator

 
Read Message
Read Message
Previous Topic: Convert M$VC console app to U++
Next Topic: Many Widget Factories one class
Goto Forum:
  


Current Time: Tue May 21 21:23:22 CEST 2024

Total time taken to generate the page: 0.01572 seconds