How to show presenter in COM Server class

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to show presenter in COM Server class

phanuwat
Hi

    I'm create COM Server class and call show presenter in method.
It have problem when call this method from other program.

This is source code in COM Server class
Excute

"Private - Invoke the excute() method of the COM object.

Helpstring: method excute

HRESULT __stdcall excute();"

Notepad show.

^S_OK


And source code in Interface class

Excute

"Private - Invoke the excute() method of the COM object.

Helpstring: method excute

HRESULT __stdcall excute();"

<virtual stdcall: hresult 8>

^self invalidCall



And last is some error dump file of dolphin

************************** Dolphin Virtual Machine Dump Report
***************************

8:12:23, 2/12/2547: failed to create window (16r2: The system cannot find
the file specified.)

*----> VM Context <----*
Process: {07910004:size 320 words, suspended frame 079103B1, priority 5,
callbacks 1
last failure 2:nil, FPE mask 3, thread nil}
Active Method: AXDllSessionManager>>logError:
IP: 07845717 (15)
SP: 079105B0
BP: 07910588 (337)
ActiveFrame: {0791058C: cf 07910571, sp 079105A0, bp 07910588, ip 5,
AXDllSessionManager>>logError:}
 receiver: a AXDllSessionManager
 arg[0]: a Win32Error



How can l solve it. Thank you very much


Best regards,

Phanuwat


Reply | Threaded
Open this post in threaded view
|

Re: How to show presenter in COM Server class

Blair McGlashan-3
"phanuwat" <[hidden email]> wrote in message
news:[hidden email]...
> Hi
>
>    I'm create COM Server class and call show presenter in method.
> It have problem when call this method from other program.
>...
> How can l solve it. Thank you very much

This previous thread may help you:

http://groups.google.co.uk/groups?hl=en&lr=&safe=active&th=4bba5663c42ab1e9

Regards

Blair