Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Property not found
Message
 
À
13/04/2005 09:17:18
Deepak Chopra
IBM Global Services India Pvt. Ltd.
Pune, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01004121
Message ID:
01004389
Vues:
19
Can you paster your code here from Command Window which produces the error?

>Hi,
>
>I have created a small dll using the following code and registered in Com+.
>
>#INCLUDE foxpro.h
>DEFINE CLASS myclass AS session olepublic
> * Define property
> MyProperty = 5.2
> * Set the COM attributes for MyProperty
> DIMENSION MyProperty_COMATTRIB[4]
> myproperty_COMATTRIB[1] = COMATTRIB_READONLY
> myproperty_COMATTRIB[2] = "Helptext displayed in object browser"
> myproperty_COMATTRIB[3] = "MyProperty"&& Proper capitalization.
> myproperty_COMATTRIB[4] = "Float"&& Data type
>ENDDEFINE
>
>
>when I am creating an object using the same (using command createobjectex('test.myclass','9.182.198.189')) test is my dll name, there is no issue but when I am try to display the "MyProperty" from command window, I m geeting error 'property MyProperty not found'.
>
>Please help.
>
>Thanks in advance.
>
>Regards.
>Deepak.
- Jayesh
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform