Hi Jonathan, Jonathan Blitz wrote: > I want to include libpqxx code in a Windows Form Application created > form VS 2005. [...] > WFA.obj : error LNK2028: unresolved token (0A000013) "public: virtual > void __clrcall pqxx::nonnoticer::operator()(char const * const)" > ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function "void > __clrcall `dynamic initializer for 'const pqxx::nonnoticer::`local > vftable'''(void)" > ([EMAIL PROTECTED]@@6B@@@[EMAIL PROTECTED]@@$$FYMXXZ) > > > > > > Each one of these errors repeats many times. > > > > Am I restricted to putting the cod in a DLL? > > Not the end of the world if I am but would be better if I could put it > straight into the program.
If you want to include libpqxx with a .NET program (as you were trying to do), it should be .NET code as well, I mean, libpqxx should have been written in managed C++. It isn't, so that's not possible. :-) Cheers, Bart _______________________________________________ Libpqxx-general mailing list Libpqxx-general@gborg.postgresql.org http://gborg.postgresql.org/mailman/listinfo/libpqxx-general