Re: [GD-Windows] Program directory
Brought to you by:
vexxed72
From: <cas...@ya...> - 2002-06-12 21:39:39
|
Interestingly _MAX_PATH is defined to 260, and my max path was longer than that, so it seems that I was doing something else wrong. Ignacio Castaño cas...@ya... Gareth Lewin wrote: Yes, the define _MAX_PATH and it's friends are well worth using in cases like this. Sadly GetModuleFileName doesn't return the length if the buffer you give is too small, unlike other API calls. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |