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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OLE in DLL

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi all! I'm new to this forum and new to Delphi, so please be patient with me...
Let's get to the problem..I have a DLL made in Delphi which is a simple form with an OLE container. It contains a MS Word instance. Everything goes ok after compiling and building the DLL. Then i got a Visual FoxPro app where i declare the delphi dll, it loads the delphi form with ms word with no problem at all. The problem comes when i have this instance of word launched from the DLL opened and "manually" open ms word. It seems that the "manually" opened ms word traps the DLL process and locks it. I cannot type anything in the dll-launched ms word but the menus still work. The funny thing is that if i try to insert using the menus anything in the dll-launched ms word it appears in the manually opened ms word... It seems like the system is no identifying correctly both processes... any clue? Thanx in advance and sorry for not using a correct english.


Daniel González del Castillo
danielgc@araldi.es

 
Ok. I'm sure that somebody else knows better than I.
But I futzed around with calling ole from dll's for a time and decided that it was generally a mistake. I use executables for ole. And I have seen a number of suggestions from others to the same effect.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top