sudeshsh
asked on
Problems with CString class of MFC
Hi all
My application is an MFC dialog based server which calls ATL based dll's on client requests.
I have noticed that my application crashes when many user requests come and many times it gives unknown errors. My friend had said that there is a problem with MFC's CString class having memory leaks.
When i changed the ATL Based dll's to VB dll's it started working fine.
Can anyone please tell me if there is any problem in MFC's CString class or any other class.
Thanks.
My application is an MFC dialog based server which calls ATL based dll's on client requests.
I have noticed that my application crashes when many user requests come and many times it gives unknown errors. My friend had said that there is a problem with MFC's CString class having memory leaks.
When i changed the ATL Based dll's to VB dll's it started working fine.
Can anyone please tell me if there is any problem in MFC's CString class or any other class.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Wrong versions of MFC DLLS (like MSVCRTxx.dll etc) in Client and Development machine makes problems.
To avoid this, Build your ATL DLL in *STATIC*
Rosh :)