Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Starting VisualWorks from regular DLL

Status
Not open for further replies.

ViktorClerc

Programmer
Apr 5, 2002
1
0
0
NL
Hello,

In linking two components, I decided to use a regular DLL. It is linked dynamically by one component, providing a standard DLL interface (C calling conventions). The actual operations are to be performed by the second component. This is a SmallTalk environment. I need to start this environment from my DLL using COM automation.

This has not succeeded. SmallTalk provides examples of an exe that is able to start the environment, but putting the same code inside a DLL results in a failure on the CreateDispatch call (CoCreateInstance of the SmallTalk environment).

Is this a security policy? Please help me out how to construct a COM bridge to an application using automation.

Regards,

Viktor Clerc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top