Hi Agnes,
you've got a point. Perhaps I am a bit too focused on looking behind the scene. :-)
I will reduce it to this:
FUNCTION TestWin32ApiFunctionality
LOCAL llReturn as Boolean
llReturn = .F.
TRY
DECLARE INTEGER GetEnvironmentStrings IN WIN32API
llReturn = .T.
CATCH
MESSAGEBOX([Unable to declare..blabla],0+16+0,[Info])
ENDTRY
RETURN llReturn
ENDFUNC
Best Regards
-Tom
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.
Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011