CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 1999
    Location
    Switzerland
    Posts
    398

    Remote ActiveX EXE

    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??

    Leica Geosystems - when it has to be right

  2. #2

    Re: Remote ActiveX EXE

    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/im...ertaplanet.gif'>
    </center>

  3. #3
    Join Date
    Jun 1999
    Location
    Switzerland
    Posts
    398

    Re: Remote ActiveX EXE

    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 ;-)


    Leica Geosystems - when it has to be right

  4. #4
    Join Date
    Jun 1999
    Location
    Switzerland
    Posts
    398

    Re: Remote ActiveX EXE

    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

    Leica Geosystems - when it has to be right

  5. #5
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: Remote ActiveX EXE

    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
    [email protected]

    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
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

  6. #6
    Join Date
    Jun 1999
    Location
    Switzerland
    Posts
    398

    Re: Remote ActiveX EXE

    Thank you for your answer.

    According to http://support.microsoft.com/support.../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.

    Leica Geosystems - when it has to be right

  7. #7
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: Remote ActiveX EXE

    According to Microsoft, it is possible to run Win98 on a 486, 50 mhz, 4 meg ram...

    Tom Cannaerts
    [email protected]

    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
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured