when do we get this kind of errors.................
i got this error ,i declared it in .h file and implemented it in .cpp file,plz kindly help me if any lig or dll required for it.............
dsn1 error LNK2019: unresolved external symbol _SQLConfigDataSource@16 referenced in function "public: bool __thiscall DynamicDSN::CreateDSN(class ATL::CStringT<char,class strtraitmfc_dll<char,class="" atl::chtraitscrt<char=""> > > &)" (?CreateDSN@DynamicDSN@@QAE_NAAV?$CStringT@DV?$StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@@Z)
look here plz.the same i build in VC++6.0 and got the same error i have given the lib file as "odbccp32.lib".this is working file,but when came to ,net 2003 i have given the same file as lib but it still give me the same eroor,plz help me.................
yes ,chandu.its working fine in VC++ 6 afteradding the lib file ,the same i did in .net 2003 ,it doesn t go fine the above error occurs
plz help me..................
No, not at all. This is a linker error, meaning that the compilation went ok (so, all required header files were included). But, the linker cannot find a variable. It comes usually because you declared somewhere an extern variable (with the extern keyword) but forgot to define it in a specific cpp file.
When I am checking the .Wav file using mmioDescend(hSrc ,&mmckInfoParent,NULL,MMIO_FINDRIFF );, it is returning MMIOERR_OUTOFMEMORY in debug mode. But Release mode works well.
What could be the reason for this?
Thanks & Regards,
On my Dialog I've got a "picture control" element. It is assigned with a var "m_pictureControl" in the code.
I draw an image inside the border of the picture control with GDI+. The problem that occurs is, that the image overpaints the border of the picture control (only when zoomed, otherwise I can shrink it, so that it can fit inside).
I get the area where the image will be drawed like that: