General information
Category:
Windows API functions
I think so. Basically, there are 3 cases when you need the Pointers class:
1.When you need to send to a DLL function a pointer to a structure that contains pointers.
2.When you need to retrieve the value from a pointer included in a structure.
3.When you need to retrieve the content of a memory zone.
Otherwise, there's no need to complicate your life/programs. :)
Vlad
>My original reply in this thread was based on reading the API reference guide where the first parameter is described as a pointer to a structure. I guess you're right, you can use a string to simulate the structure and pass it by reference to the function.
>
>Sorin
>
>
>>Why do you need the Pointer class for these functions? Can't you use a string to simulate the structure?
>>
>>Vlad
>>
>>>Hi Balasz,
>>>
>>>You might want to take a look at the GetMessage or PeekMessage funxtions in WIN32API. However, both of these functions use pointers to structures as parameters, and VFP cannot deal natively with pointers. To help you with that, there is a Pointers class in the Files section that you can download. It will do the job.
>>>
>>>HTH,
>>>Sorin
>>>
>>>
>>>>I'm accessing an API which returns his output via
>>>>Win32 user messages. Is it possible to accept Win32
>>>>user messages with VFP 5.0 ?
>>>>
>>>>Thanks for any help.
>>>>
>>>>Balazs Simon
Previous
Next
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