[Migrated content. Thread originally posted on 30 December 2005]
Looking into the API-exemples, I don't get my routine to work01 lpBuffer PIC X(250).
01 lpnSize PIC X(8) COMP-N.
SET ENVIRONMENT "DLL_CONVENTION" TO "1".
CALL "Kernel32.DLL".
CALL "GetComputerNameA" USING
BY REFERENCE lpBuffer
BY REFERENCE lpnSize
END-CALL.
The variables stay empty. Where are the bugs ?



