Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Basic Non-Visual Class
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00248925
Message ID:
00249003
Views:
24
Sorry for the lack of info...

Here's a little history...

I am trying to compile a com (dll) object that can be referenced from another application. I want to be able to return the structure of a table and set properties that expose records in that table. I am trying to make this dynamic (creating properties on the fly) so whenever the table changes... I don't have to change my com code.

It seems my problems revolve around working with an object accessed through com (olepublic).

the loObject.AddProperty() call (and dimensioning my array) seems to work fine if I set procedure to...
loObject = createobject("test")
loObject.addproperty("icNewProperty", "Test")
? loObject.icNewProperty (returns Test)

but does not work if I compile a com dll (define class Test as custom olepublic)
loObject = createobject("com.Test")
loObject.addproperty("icNewProperty", "Test") (returns .t.)
? loObject.icNewProperty (ole error)

Thanks for your help.

Nat-
Nathaniel Moody
Omnicell Technologies
natm@omnicell.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform