Hallo SherryM!
> I have an ATL COM object compiled with VC 6.0 that needs to be compiled in
> Visual Studio .Net 2003. So, I going from the 6.0 compiler to the 7.1
[quoted text clipped - 3 lines]
> create object" message.
> What am I doing wrong?
Do you have the all DLL's installed? New CRT 7.1, new MFC DLL 7.1. Use
depends and look what additional DLLs are needed.

Signature
Martin Richter [MVP] WWJD
"In C we had to code our own bugs. In C++ we can inherit them."
FAQ : http://www.mpdvc.de
Samples: http://www.codeguru.com http://www.codeproject.com
SherryM - 18 Jul 2005 16:31 GMT
Hey Martin,
Thanks for responding. I looked at depends and the only required dll that
doesn't have a linker version of 7.0 is oleaut32.dll. Looking at Microsoft's
DLL Help database, I found that the only version later than mine for Windows
XP is for SP2 which I haven't installed yet. And I don't really want to
upgrade to SP2 just to find out that it doesn't solve my problem. Besides
which, I can't force our clients to upgrade just to run this one dll.
I checked Event Viewer and there were no messages in there regarding my dll
either.
Anything else I can check?
Thanks,
Sherry
> Hallo SherryM!
>
[quoted text clipped - 8 lines]
> Do you have the all DLL's installed? New CRT 7.1, new MFC DLL 7.1. Use
> depends and look what additional DLLs are needed.
SherryM - 18 Jul 2005 20:10 GMT
Martin,
The problem with my dll was E_OUTOFMEMORY. I rewrote the code the use a map
instead of an array of strings and that fixed the problem.
However, I had another dll that wouldn't register on the server and I
checked the dependency walker per your suggestion and found that I was
missing MFC71.dll.
Thanks very much for your help,
Sherry
> Hallo SherryM!
>
[quoted text clipped - 8 lines]
> Do you have the all DLL's installed? New CRT 7.1, new MFC DLL 7.1. Use
> depends and look what additional DLLs are needed.