Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any sustitute for Nothing or nil?
Message
De
06/08/2001 20:15:37
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00540464
Message ID:
00540486
Vues:
19
SWAGs:

MiCol.Load(Chr(0),'','')
MiCol.Load(0,'','')


What error do you get?

>Hi,
>
>I develop a COM Server. This work similary to a Collection.
>For example, in Delphi i do:
>
>procedure Sample;
>var
> MiCol:ICollection;
>begin
> MiCol:=CoCollection.Create;
> //First:Parent,Two:Filter,Tree:Sort
> MiCol.Load(nil,'','')
>
>end;
>
>In VB i do a similary code, but with Nothing...
>
>But in VFP?
>
>I try with:
>
>MiCol.Load(,'','')
>
>or
>
>MiCol.Load(NULL,'','')
>
>Maybe because Parent is a interface parameter (Parent=IMyItem)...
>
>Thanks.
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform