|
Thanks 1000000000000...
Man can be an Island but islands to need water around them to be islands (Own)
|
|
|
|
|
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)
|
|
|
|
|
please continue the same previous thread.
not a new one each time.
please delete the new entry and post it by replying from my post.
thank u.
|
|
|
|
|
Looks like you need to link to the Odbcinst.lib library
Regards,
Davy
|
|
|
|
|
Hi all,
When I perform the SQLExecDirect Function, I receive a return code of -2, what does it mean? Can anyone please assists me?
ret = SQLExecDirect(m_hStmt, (SQLCHAR*)szSqlStr, SQL_NTS);
The only programmers that are better that C programmers are those who code in 1's and 0's
Programm3r
My Blog: ^_^
|
|
|
|
|
SQL_INVALID_HANDLE is defined as -2 in sql.h
|
|
|
|
|
|
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..................
|
|
|
|
|
usually when you use some variable or function, without including the headerfile, where it is defined,
you will get such problems.
are you facing any?
|
|
|
|
|
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.
|
|
|
|
|
Check whether you have added the cpp file in the project( take the file view and check the cpp file is under the "Source Files" ).
|
|
|
|
|
you mean it is working in vc6 and not in .net 2003.
|
|
|
|
|
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,
Suman
|
|
|
|
|
In release mode it is working surely because your code isn't automatically checked as in debug mode, but this doesn't means that there isn't an error.
You have to fiind it in debug mode!
Russell
|
|
|
|
|
The problem resolved after I moved some variables from inside class of header file to .cpp file as file level variable.(like MMIOINFO variables)
Thanks for your suggestion.
Best Regards,
Suman
|
|
|
|
|
Russell
|
|
|
|
|
can any body suggest me some code snippet to delete a file programatically,
something like,
DeleteFile("C:\\myfolder\\myfile");
please suggest.
thanks.
-- modified at 5:01 Tuesday 4th September, 2007
|
|
|
|
|
chandu004 wrote: DeleteFile("C:\\myfolder\\myfile");
Whats problem with the above code?
|
|
|
|
|
WOV IS DELETEFILE REALLY AVAILABLE?
I JUST TRIED TO SPECIFY THE PROTO.
I WILL JUST TRY IT OUT AND GET BACK TO YOU.
THANK YOU.
|
|
|
|
|
He need some sample code...
- NS -
|
|
|
|
|
yes naveen i got it.
and my sincere sorry for posting without verifying it.
|
|
|
|
|
I really enjoyed that...
|
|
|
|
|
|
You can also use of SHFileOperation .
|
|
|
|
|
Which is the latest version of VC++ ???
|
|
|
|