Menu

#218 COM: control server parameter type

Unscheduled
open
COM Server (1)
Feature
1
2023-08-25
2023-08-25
No

Dear Ashok,
thanks for great TWAPI.

I wanted to use TWAPI COM Server to build a simualtion of SAP GUI Automation client to test my own programs without SAP.

Here are my questions:
1. How do I control the types of COM Server methods paramters and return values? I suppose, they are always strings, arent they ?
2. Is it possible to implement commands which return a com object?
3. Is it possible to return a collection?

It is ok, if all answers are "No". I have just not found any information, only the sample script which just defines procs. I may be blind...

Thank you and take care,
Harald

Discussion

  • Ashok P. Nadkarni

    Hi Harald,

    I'm afraid it's been so long, I don't off hand recall the answers. Are you aware of https://www.magicsplat.com/book/com.html and https://www.magicsplat.com/book/com.html#sect_com_servers in particular? They may provide a useful starting point. If that does not answer your questions, let me know and I'll take a look at the source.

    /Ashok

     
  • Harald Oehlmann

    Harald Oehlmann - 2023-08-25

    Yes, I have read those pages.
    No hurry, no issue.
    Just for curiosity.
    It is very black magic.

    Thank you and take care,
    Harald

     

Anonymous
Anonymous

Add attachments
Cancel