In my program I call the GetModuleFileName
function from the Windows API. The function tells me the path of the running .EXE file.
On Windows XP machines the string (szSrc) is not null-terminated according to the MSDN.
invoke GetModuleFileName,NULL,szSrc,255
How can I null-terminate it?