Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM-Server returns .Null.
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01125584
Message ID:
01126033
Views:
12
Thank you, Rick!

We've chosen a pragmatical solution, i.e. the COM-Server has now been changed so that it puts the return values in a property and VFP can read these properties - that is enough for what I need.

Just a remark about WSH: it is even worse with it than with VFP: after

Set oPC=CreateObject(...)
cRetValue = oPC.DoSomething

you get an error, claiming there is no such Object.

But we have a solution now - and that's the only important thing about it.

Thanks again.

Alexander


>Christoph's approach of creating a wrapper object is a good workaround, but an expensive one in terms of having to include VB runtimes (actually you maybe able to get away with using the Windows Scripting Host to do this without requiring any VB Runtimes).
Alexander Lerner
a_lerner@heinrich-schmid.de

The life is somewhat easier than it seems to be.
Previous
Reply
Map
View

Click here to load this message in the networking platform