tlaver
asked on
Public Not Creatable objects
I am creating an Active X component to use with a standard exe program that must use Public Not Creatable as the instancing type. I have been told to create an object using 'Specials' as the type in the std exe, and a provide a method in the Active X component that returns the address of single (global) 'Specials' object in the Active X server. The std exe should then be able to access the single object and its methods. What does 'Specials' type mean? How do I return the address of the global object? How do I go about this? I am a novice VB5 user.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the reply - I'll just check that I understand correctly: so now I will code a send object which will create my Public Not Creatable object. Then I create this second object from my other program (the standard exe) and ask the second object for the address of the object it created.
Now - if thats right - ho exactly to I get the address of the first object from the second object?
Now - if thats right - ho exactly to I get the address of the first object from the second object?
just a note on this older question... I think what tlaver was told to create; "an object using 'Specials' as the type" meant that he was to create a user-defined public data type called 'Specials' in the COM component that could be used in the standard exe.
ASKER