Click to See Complete Forum and Search --> : Remote ActiveX EXE


Markus W.
August 24th, 2001, 08:25 AM
I have written an ActiveX EXE server and a client application. The client app runs
the ActiveX EXE server. It creates a server object using CreateObject("myclass","server").

If the client app tries to run the ActiveX EXE server on a remote computer, a runtime
error 429 'ActiveX Component can't create object' occurs.

The ActiveX EXE server has been installed on the remote (server) and the local (client)
computer. The client application has been installed on the local computer. The remote
computer has Win95 and the local computer has NT4.0.

If the remote computer has also NT4.0. The ActiveX server runs without error. Also
everything works fine if the client app and the ActiveX server run on the Win95 computer.

Any idea??

berta
August 24th, 2001, 08:39 AM
U must connfigure server with "dcomcnfg".
U must generate "remote server files" for atciveX (see in "project property"->"component") and configure client with clireg (find for clireg in MSDN).

hi,brt

<center>
<HR width=80%>
<img src='http://web.tiscali.it/bertaplanet/images/bertaplanet.gif'>
</center>

Markus W.
August 24th, 2001, 09:15 AM
Thank you for your answer.

U must connfigure server with "dcomcnfg"
Have tried this but did not help.

U must generate "remote server files" for atciveX (see in "project property"->"component")
Have allready done this

and configure client with clireg (find for clireg in MSDN)
Have tried this but did not help.

Why does the server run if remote computer is NT4.0, but fail if remote
computer is Win95?

Any help appreciated ;-)

Markus W.
August 27th, 2001, 06:46 AM
Running the client app on the Win95 PC and the remote ActiveX EXE Server
on the NT4.0 PC was successful also.
Have also installed DCOM95 on Win95 PC, but still get runtime error 429
if ActiveX EXE server is on Win95 PC.

Any help appreciated

Cakkie
August 27th, 2001, 07:17 AM
This is because Win95 isn't meant to be a server. NT and Win2K have this functionality built in, so you won't have to do anything more. It all has got to do with the RPC (remote procedure call) services, which are installed on NT/2K, but not on 95/98

Tom Cannaerts
slisse@planetinternet.be

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook

Markus W.
August 27th, 2001, 08:09 AM
Thank you for your answer.

According to http://support.microsoft.com/support/kb/articles/Q165/1/01.ASP I thought it should
be possible to run an ActiveX EXE server on Win95. But I got serious problems. I think will
better use a NT PC for my project.

Cakkie
August 27th, 2001, 08:26 AM
According to Microsoft, it is possible to run Win98 on a 486, 50 mhz, 4 meg ram...

Tom Cannaerts
slisse@planetinternet.be

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook