General information
Category:
COM/DCOM and OLE Automation
Hi!
Yes, it was a typo in the message.
Sarosh
>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
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only