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.