[IBPP-DISCUSS] Compiling IBPP with MSVC6 problem
IBPP is a C++ client class library for FirebirdSQL
Status: Inactive
Brought to you by:
epocman
From: Emilio B. <em...@te...> - 2003-02-25 15:58:47
|
Hi, i'm new to IBPP. I get the following when compiling a test app in Visual C++ 6.0: PruebaDlg.obj : error LNK2001: unresolved external symbol "class IBPP::IDatabase * __cdecl IBPP::DatabaseFactory(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std: My code is very simple... just to test if it compiles: void CPruebaDlg::OnButton1() { IBPP::Database ib = IBPP::DatabaseFactory("","","",""); ib->Create(); ib->Connect(); } I have included Ibpp.h and ibpp.lib into my project directory, and in the top of the file i #include "ibpp.h" and defined the IBPP_WINDOWS IBPP_MSVC What am i doing wrong? Thanks in Advance. Emilio Blanco |