Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM-Server returns .Null.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01125584
Message ID:
01126033
Vues:
18
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform