Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PUBLIC variable is not visible in COM DLL
Message
 
 
À
25/10/2001 07:47:36
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00573087
Message ID:
00573121
Vues:
15
Hi!

COM object usually works in its own memory space, and it is a separate module. For OS sequrity reasons COM object cannot access and know the variables from the main application.

You can only pass a value of the public variable as a parameter to COM object. If you have a lot of values in public variables, put them all into the array and pass an array to COM object.

HTH.

>Hi,
>i have a public variable in my application. I try to access it from my COM DLL. However, it return error.
>
>How to solve it?
>
>Thank you
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform