Re: use of VC++ code in Qt
Are you really need that?
Why you dont want use QString insthead ;)
Re: use of VC++ code in Qt
I could be wrong, but it seems that uafxcw.lib library is linked with a C/C++ runtime library and your project is using another one. Try to recompile it with the same one that your project uses. This option could be adjusted in Project Options -> C/C++ Code Generation -> Runtime library.
Re: use of VC++ code in Qt
Ok guys
Thanks for your reply. I have resolved that error. The solution is just make the use in dll in Shared dll mode and compile again.
But, still one question : Is it so that any VC++ code can be compiled and linked with Qt project?
Re: use of VC++ code in Qt
Quote:
Originally Posted by shailesh
But, still one question : Is it so that any VC++ code can be compiled and linked with Qt project?
There is no such thing as "VC++ code". These are WinAPI (or MFC) calls. Qt is a library like any other. It uses WinAPI internally, so there is no reason not to use other WinAPI calls if you need them.