View Single Post
  #5  
Old 03-17-2005, 04:19 PM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Quote:
Originally Posted by bushman77
i added those files to my project and now i'm left with only 4 errors. They are as follows:

mysqlclient.lib(my_init.obj) : error LNK2019: unresolved external symbol __imp__RegCloseKey@4 referenced in function _my_win_init
mysqlclient.lib(my_init.obj) : error LNK2019: unresolved external symbol __imp__RegEnumValueA@32 referenced in function _my_win_init
mysqlclient.lib(my_init.obj) : error LNK2019: unresolved external symbol __imp__RegOpenKeyExA@20 referenced in function _my_win_init
Like Ive said before in IRC, those are system commands used to edit the registry. If your compiler does not have the appropriate library files for that..you're probably not going to be able to compile it with that. And I believe because the Microsoft VS .NET Compiler is not a free compiler..distributing the headers and libraries would be warez..but dont quote me on that.
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Reply With Quote