GetObject() vs ActiveX DLL/EXE 
Author Message
 GetObject() vs ActiveX DLL/EXE

I have a very funny problem. I'd like to have a one instance of an object on
the client machine that serves all other objects. By other words, I have
"CommonSettings" object that can set and return appropriate settings to the
caller. I have a lot of ActiveX DLL components and main Standrd EXE project
running on the client. From the main project I set all the settings and want
to access these settings from the other components.

I tried to make a single use ActiveX EXE and do GetObject() to it from every
component. But it always creates a new instance so the settings are not set.

HELP PLEASE! How to resolve this problem?

--
Sergei Levin, Technology Co-Director, ICS Soft, Perm, Russia.



Sun, 19 Aug 2001 03:00:00 GMT  
 GetObject() vs ActiveX DLL/EXE
I haven't tried it myself, but I was looking at doing something similar the
other day until I came across this in the GetObject reference in VB help
(last sentence):

You can't use GetObject to obtain a reference to a class created with
Visual Basic.

This may or may not be the cause of your problems -- GetObject could simply
act like CreateObject all the time when the referenced object was created
with VB.  Hope this helps.

Pete B.



Sun, 19 Aug 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. ActiveX exe vs ActiveX dll

2. ActiveX DLL vs ActiveX EXE

3. ActiveX Doc DLL vs ActiveX Doc EXE

4. ActiveX EXE vs ActiveX DLL

5. ActiveX Exe vs. Active Dll

6. data source class in ActiveX DLL vs EXE -- URGENT

7. ActiveX EXE vs DLL ???

8. Scrollbars in ActiveX DLL vs Standard Exe

9. Scrollbars in ActiveX DLL vs. Standard Exe

10. Using an ActiveX EXE to exchange datas / notify other applications (GetObject versus CreateObject)

11. GetObject with VB6 ActiveX exe

12. ActiveX.exe or ActiveX DLL or ActiveX Control?????????????

 

 
Powered by phpBB® Forum Software