Error in linking MTS component in msVC++ on windows NT on vmware

0

I am learning Database programming so I am programming COM using Visual C++ Enterprise 6.0. Everything is OK until I reached the chapter "Programming MTS" So When I link the COM server residing in a DLL which contains a MTS Component I get a link-time error:

Error executing link.exe. Tool execution canceled by user.

But if press again the link button it seems to succeed and i can see the dll in debug but when I try to register it I get this error:

OleMainThreadWindowName: REGSVR32.EXE - Bad Image

The Application or DLL C:\WINNT\Profiles\Administrator\Desktop\MTSComp1\Debug\MTSComp1.dll is not a valid Windows NT Image. Please check this against your installation diskette.


LoadLibrary("MTSComp1.dll") failed. 
GetLastError returns 0x000000c1.

OS: Windows NT 4.0 server on VMware PLayer 6.0

Hosting OS: Windows 7 Enterprise 32 bit.

*** On another desktop I installed Windows NT 4.0 Server (not on vmware): it works fine. I can build and register MTS com server dll.

So does the problem belong to the vmeware?

database
visual-c++
vmware-player
mts
asked on Stack Overflow Sep 10, 2018 by Maestro

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0