Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any sustitute for Nothing or nil?
Message
From
06/08/2001 20:15:37
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00540464
Message ID:
00540486
Views:
16
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform