 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Marcus Guest
|
Posted: Wed Aug 24, 2005 6:42 am Post subject: OLE Automation crash |
|
|
Hey all, just moved from VB to Delphi (loving it), but having a few
problems with COM.
Made myself a nice little 'hello world' Automation object that I can
call from VBscript, to prove it can be done and familiarise myself with
the procedure. Worked fine, no problems.
The actual task is to make a UDP object that can be used from VBscript
to send and receive UDP messages (don't ask why, you really don't want
to know).
So I've made an automation object, added in some more methods and some
more complex code behind it (including the creation of some
TComponent-derived classes), but kept it window-free.
This object crashes every time when called from the VB script. I get a
'catastrophic failure' when the object is first called. The
CreateObject call goes through fine, I get back what looks like an
object handle, but call any method on that handle and it goes boom.
I can post code samples if it'll help, but has anyone else encountered
the same symptoms? I couldn't find anything directly relevant in the
list...
Here's hoping...
|
|
| Back to top |
|
 |
Riki Wiki Guest
|
Posted: Fri Aug 26, 2005 9:43 pm Post subject: Re: OLE Automation crash |
|
|
On 23 Aug 2005 23:42:44 -0700, Marcus wrote:
| Quote: | Hey all, just moved from VB to Delphi (loving it), but having a few
problems with COM.
|
Hoi Marcus and welcome
You need to repost your message on the Borland news server, otherwise most
people will never see your question. Read all about it here:
http://delphi.wikicities.com/wiki/Delphi_Newsgroups
|
|
| Back to top |
|
 |
Marcus Guest
|
Posted: Mon Aug 29, 2005 3:31 am Post subject: Re: OLE Automation crash |
|
|
ahh, cool. Thanks for the info :)
Riki Wiki wrote:
| Quote: | On 23 Aug 2005 23:42:44 -0700, Marcus wrote:
Hey all, just moved from VB to Delphi (loving it), but having a few
problems with COM.
Hoi Marcus and welcome
You need to repost your message on the Borland news server, otherwise most
people will never see your question. Read all about it here:
http://delphi.wikicities.com/wiki/Delphi_Newsgroups
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|