Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Regsvr32 fails on VC6 ATL COM EXE

Status
Not open for further replies.

BeanDog

Programmer
Jul 15, 2000
60
US
I could not get a .exe server to register on a Win98SE machine so I did this to verify it:

I created a new ATL AppWizard project in VC++6. I chose .EXE and clicked OK. I added a single ATL object and compiled it. It registered fine on my 2k machine. I moved it to the 98SE machine and Regsvr32 told me I was missing a necessary library file for it (returned 0x0000000b)

I repeated the entire last procedure but chose .DLL instead of .EXE and the 98SE machine regsvr32'd it fine. In other words, 98SE apparently does not support out-of-process COM servers.

It is a newly formatted and installed system. No other application was installed, although I downloaded all of the *critical* updates from Windows Update.

I have already tried installing DCom98 on the 98 machine, and it had no effect.



~BenDilts( void );
PS Wow, do I have enough TLA's in that subject?
 
Thinks...

Not tried on WIN 98 so I may be being ignorant...

but on NT regsvr32 only registers .DLLs
.EXE servers are self-registering (ish)
try
<comexeservername> /regserver
if Foo is server name

foo.exe /regserver

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top