mardi 24 mars 2015

_get_pgmptr vs GetModuleFileName

What difference is there (if any) between these two? MSDN is very unclear.


Here it sounds like they are equivalent: http://ift.tt/19iuFB6


But here it sounds like _pgmptr may not always give me a full path, but it doesn't really explain under what circumstances. http://ift.tt/1CVSjkI


_pgmptr Seems far more attractive to me because I don't have to play buffer size guessing games with it.


Aucun commentaire:

Enregistrer un commentaire