Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ExtEscape
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00939698
Message ID:
00939708
Views:
13
This message has been marked as the solution to the initial question of the thread.
Hi Mike,

Your declaration looks good, at least I produced very similar one:
* (1)
DECLARE INTEGER ExtEscape IN gdi32;
	INTEGER hdc, INTEGER nEscape, INTEGER cbInput,;
	STRING @lpszInData, INTEGER cbOutput, STRING @lpszOutData
* or (2)
DECLARE INTEGER ExtEscape IN gdi32;
	INTEGER hdc, INTEGER nEscape, INTEGER cbInput,;
	INTEGER lpszInData, INTEGER cbOutput, INTEGER lpszOutData
(1) or (2) is defined by the way you allocate input and output buffers.

Those buffers might create a problem. I would check if there is enough space allocated for both. Sometimes such buffers also require first member containing size of the buffer etc.

May be provide more details, then I could be more specific.

* * *
I have an example of how to use Escape function:

Printing text with the Escape function
http://www.news2news.com/vfp/?example=357&function=543
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform