Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Debugging EXE outside development environment
Message
From
20/04/2004 12:23:51
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00896533
Message ID:
00896550
Views:
13
Here is a quick way to append text to a file, in VFP:
FUNCTION MyDebugOut(tcText)
  StrToFile(ttoc(datetime()) + " - " + tcText, "c:\debuginfo.txt", .T.)
ENDFUNC
>John,
>
>Thanks for your quick response to my posting.
>
>Since I posted my message, I found what I was looking for. I found that I can call the OutputDebugString function in the Win32API. All I need to to is to declare it before I call, like so:
>
>DECLARE OutputDebugString IN WIN32API STRING
>
>Then,
>
>OuputDebugString("Test")
>
>The result appears in DebugView.
>
>Jim
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform