Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
General field - obtain mem address?-2nd try
Message
De
21/11/2000 09:33:46
 
 
À
21/11/2000 07:45:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00444007
Message ID:
00444062
Vues:
9
>Hi all-
>
>We have an app which uses a general field to store a sketch file (embedded), . We would like to switch over to using an ActiveX control now available for the application in the general field (a sketch program which produces .axf files). From all I've read, the general field is one way - once a file is in there, there is no other access save via the field. However, the ActiveX control has a method (LoadDataHandle(hData:HGlobal)), which, if passed the memory address of the file, may be able to allow access to it. Is it possible to get that address somehow?

Not directly; there's no AddressOf operator like VB has. It'd be possible to write something in C as an FLL that could possibly access this information using the VFP APIs in the FLL and publish the address to an app after locking a memory region, but it's non-trivial.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform