Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I declare a variant in FoxPro
Message
De
28/05/2013 11:16:54
Joel Leach
Memorial Business Systems, Inc.
Tennessie, États-Unis
 
 
À
28/05/2013 02:50:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00257922
Message ID:
01574955
Vues:
75
I would try the other suggestions in the thread, but if the component truly requires a "VARIANT" type, FoxPro cannot create that type. You could create a VB wrapper as a workaround. Here is an old blog post I wrote on the subject:

http://weblogs.foxite.com/joel_leach/2009/01/14/variants-on-fox/

>I have exactly the same problem and am scratching my head all along. Here is a sample of my code :
>
>Comp=CREATEOBJECT("XceedSoftware.XceedCompression")
>?oComp.License("xxxx")
>x=SPACE(100)
>?oComp.Compress("abhay",@x,.t.) && Returns 0
>?ocomp.GetErrorDescription(0) && Returns Operation completed successfuly.
>
>But the x variable remains blank. Nothing gets compressed at all.
>
>Just for this reason, I cannot decide for buying the Xceed component.
>
>Abhay
Joel Leach
Microsoft Certified Professional
Blog: http://www.joelleach.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform