Why DCOM ActiveX Exe is Working and ActiveX Dll is not working 
Author Message
 Why DCOM ActiveX Exe is Working and ActiveX Dll is not working

Hi All

I have created one ACTIVEX Dll DCOM When I compile as . dll and try to configuer with DCOMCNFG the option "Run Application on this Computer" is not active its disabled. and when I am trying to create object from remote machine giving me error "    cannot create object"

and when I changed project type from .dll to .exe and registered its working fine.

I wonder may be I am doing something wrong.

Will be very thankful if some one advice me in this regard.

Thanks



Fri, 17 Dec 2004 18:59:37 GMT  
 Why DCOM ActiveX Exe is Working and ActiveX Dll is not working
You can't run DLLs like this. If you need to remote DLLs you need to put
them in a COM+ application and proxy it to the other server.
Only ActiveX EXE's can be executed through DCOM.

BTW, please post in plain text.

. . . . . . . . . . . . . . . . . . . . . .
Klaus H. Probst, MVP
   http://www.vbbox.com/

Please post/reply to the newsgroup(s)


Hi All

I have created one ACTIVEX Dll DCOM When I compile as . dll and try to
configuer with DCOMCNFG the option "Run Application on this Computer" is not
active its disabled. and when I am trying to create object from remote
machine giving me error "    cannot create object"

and when I changed project type from .dll to .exe and registered its working
fine.

I wonder may be I am doing something wrong.

Will be very thankful if some one advice me in this regard.

Thanks



Sat, 18 Dec 2004 12:24:53 GMT  
 Why DCOM ActiveX Exe is Working and ActiveX Dll is not working
Thanx
Fayyaz



Quote:
> You can't run DLLs like this. If you need to remote DLLs you need to put
> them in a COM+ application and proxy it to the other server.
> Only ActiveX EXE's can be executed through DCOM.

> BTW, please post in plain text.

> . . . . . . . . . . . . . . . . . . . . . .
> Klaus H. Probst, MVP
>    http://www.vbbox.com/

> Please post/reply to the newsgroup(s)



> Hi All

> I have created one ACTIVEX Dll DCOM When I compile as . dll and try to
> configuer with DCOMCNFG the option "Run Application on this Computer" is
not
> active its disabled. and when I am trying to create object from remote
> machine giving me error "    cannot create object"

> and when I changed project type from .dll to .exe and registered its
working
> fine.

> I wonder may be I am doing something wrong.

> Will be very thankful if some one advice me in this regard.

> Thanks



Sat, 18 Dec 2004 15:28:37 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Collection in ActiveX DLL (works in exe but not from ASP)

2. DCOM isn't working with ActiveX DLL

3. ActiveX-Exe: .Value=True doesn't work while direct click on button works

4. Why did my ActiveX DLL stop working??

5. Why did my ActiveX DLL stop working??

6. ActiveX not working with MSAccess97, works with VB

7. Async with ActiveX .EXE COM not working

8. Async with ActiveX .EXE COM not working

9. Async with ActiveX .EXE COM not working

10. Working with ActiveX DLL and Standard EXE at the same time

11. shared variable not working what am I missing?

12. ScaleHeight/ScaleWidth with borderless form - Not working, please help I am stumped

 

 
Powered by phpBB® Forum Software