Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with an Array
Message
From
28/04/2002 23:29:56
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00649470
Message ID:
00650220
Views:
22
Hi!

No it's not a typo.

When I do a CreateObject when it is not compiled into a DLL, in the Debugger the property (This.aOpenForms) shows up properly as an array but if I compile this same class with the OLEPUBLIC keyword into a DLL the same property (This.aOpenForms) in the debugger now becomes a single value property This.aOpenForms = .t. and if I compile it into an EXE (with OLEPUBLIC) then This.aOpenForms = .null.

Sarosh

>>Hi!
>>
>>
>>I have a FormHandler Class which has an array as a property (This.aOpenForms[1,3]) and in the Init() of this class I Dimension it.
>>
>>*--FormHandler.Init()
>>Dimension This.aOpenForms[1, 3]
>>
>>Everything works fine but as soon as I compile this class into a DLL using OLEPUBLIC the Array "This.aOpenForms[1, 3]" changes to a single value property. "This.aOpenFroms = .f." or "This.aOpenFroms = .null."
>>
>
>Is it a typo 'aOpenFroms'?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform