Solved TD-16061: Com Crash

Report bugs and possible workarounds for ANSI TD versions
rch

TD-16061: Com Crash

Post by rch » 03 Aug 2011, 15:51

We are new to Com developement(dll).

Please look at the attachment.
The client opens a MDI-Window from server1 and from this MDI window we want to open a message box from server2. At this point the application crashes.
What's wrong?

Thank you for your help.
Reinhard
You do not have the required permissions to view the files attached to this post.

Jeff Luther

Re: TD-16061: Com Crash

Post by Jeff Luther » 04 Aug 2011, 00:21

To read in the COM_RCH_Server.app to try it, we first need: COM_RCH_Server2 1.0 Type Library.apl

rch

Re: TD-16061: Com Crash

Post by rch » 04 Aug 2011, 07:11

Here are the type libraries.
You do not have the required permissions to view the files attached to this post.

Jeff Luther

Re: TD-16061: Com Crash

Post by Jeff Luther » 10 Aug 2011, 00:06

I'm getting a FALSE return on: If oCoClassSample.Create()

Is there something that needs to be registered with regsvr32?

rch

Re: TD-16061: Com Crash

Post by rch » 11 Aug 2011, 08:43

I registered it with the IDE (Project/Register Server).
Then I'm getting TRUE return on: oCoClassSample.Create().

Jeff Luther

Re: TD-16061: Com Crash

Post by Jeff Luther » 13 Aug 2011, 00:04

Got it, thanks. I registered one of the them and re-registered the other and rebuild just to be sure.

I see the crash after clicking the MDI's button. And after adding a couple dbg. msg. boxes see that it is the line:

If Invoices.Create( )

which is crashing. As to what's wrong, I don't know. I just know where. I have added defect TD-16061 for this crash.

rch

Re: TD-16061: Com Crash

Post by rch » 26 Sep 2011, 15:18

In what version is this bug fixed?

Jeff Luther

Re: TD-16061: Com Crash

Post by Jeff Luther » 26 Sep 2011, 21:50

TD-16061 is not fixed yet. I see it still open and on the fix = v6 SP5 list. SP4 is the next SP release, due out in a month or so, so SP5 would be after that + 6.1 release (likely). End of the year?

Jeff Luther

Re: TD-16061: Com Crash

Post by Jeff Luther » 16 Dec 2011, 00:44

Reinhard:

I got notice from development that TD-16061 was closed "as designed." Here's what the developer wrote:
We don't support GUI objects in our COM servers. They are intended for non-GUI logic only.
I chatted with him and the intent for a COM server was that it was to be written as non-GUI code only. We recommend you read the TD PDF book called intro.pdf for an introduction to COM and related topics in TD.

Return to “Bug Reports (TD 4.2 and older)”

Who is online

Users browsing this forum: [Ccbot] and 0 guests