Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Debugging EXE outside development environment
Message
De
20/04/2004 12:23:51
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00896533
Message ID:
00896550
Vues:
12
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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform