Mensaje
General information
Foro:
Visual FoxPro
Category:
Programación, sintáxis y comandos
Miscellaneous
ID de la conversación:
00522430
ID del mensaje:
00522526
Views:
10
>>Based on what you've given us, I'd say the above declaration is also correct. If I were to hazard a guess as to what the problem is it would be that the declaration of the structure should indicate a pointer to the structure member identified as the char type. That's strictly a guess, but it would explain the invalid parameter message since, in this case the structure itself would only be 32 bytes long.
>

>Which means I'm probably SOL. Is there a way to allocate memory (by API), assign it and send the pointer to the function through VFP? [Hopefully made easily available for us in VFP7 SP1 :) ]

You could use Ed Rauh's Heap Allocation Class for this. Also Christof Lange's API-Structures in VFP does this as well.

The question now is whether or not that should be a pointer. Their tech support people should be able to tell you.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Responder
Mapa
Ver