Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send text to standard out or STDOUT
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00163857
Message ID:
00164127
Views:
21
>Off hand, I don't know of any document that describes the relationship between C data types and the declarations in VFP. In general, most parameters are either VFP strings or integers. There are, however, some data structures that require floats (floating point numbers). Return values are generally integers. You may have noted that I declared some of the return values as "SHORT". In reality, the actual return type is a BOOL (logical value). I use SHORT to indicate this for my own use. It'll return 0 if false, non-zero if true.
>
>hth,

Thanks...

BTW: I tried the declarations you gave me, and when I run the program with AllocConsole the text does get written to the console... but, when I run the .EXE from the web browser I am told that no valid http header was returned. So, I guess while I am writting to the STDOUT for the console it is not THe stdout that the web server is looking in.

I also tried it it AllocConsole remarked out. Oh well... I am stumped at this point, but thanks for your help.

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform