IRiS nX
114 ARTICLES / 235 REPLIES [1:2]
=ADMIN=


#100. ½¦¿ë
¹Ù¿îµå üĿ ¸»°í... 2005/01/18 (Tue)

¸Þ¸ð¸® ´©¼ö Àß Àâ´Â°Å ¾øÀ»±î¿ä??

#100-1. ¾È¿µ±â 2005/01/19 (Wed)

Àú´Â ±×³É VC++¿¡ ÀÖ´Â °É·Î ¸¸Á·À»...

#if defined(WIN32) && defined(_DEBUG)
extern "C" int __cdecl _CrtSetDbgFlag(int);
#endif

#if defined(WIN32) && defined(_DEBUG)
#define ENABLE_LEAK_CHEKING _CrtSetDbgFlag(0x21);
#else
#define ENABLE_LEAK_CHEKING
#endif

ÀÌ·¸°Ô ¼±¾ðÇÑ ÈÄ,

WinMain() ½ÃÀÛÇÏÀÚ ¸¶ÀÚ ENABLE_LEAK_CHEKINGÀ» ¼±¾ðÇϸé.. Á¾·á½Ã¿¡ memory leakage ¸®Æ÷ÆÃÀÌ µË´Ï´Ù.

º°·Î È­·ÁÇÏÁø ¾Ê°í ¿øÀÎÀ» ã´Â ¹æ¹ýÀÌ ºÒÆíÇϱä ÇÏÁö¸¸ ¸øÀâ´Â °æ¿ì´Â ¾ø¾ú´ø °É·Î..

#100-2. ¾È¿µ±â 2005/01/22 (Sat)
ÀÌ ¹æ¹ýÀº..
malloc-free, new-delete, new[]-delete[]¿¡¸¸ È¿°ú°¡ ÀÖ°í COMÀÇ »ý¼ºÇØÁ¦ ¹æ½ÄÀ̳ª Win32 API¸¦ ÅëÇÑ »ý¼º ÇØÁ¦¿¡´Â È¿°ú°¡ ¾ø½À´Ï´Ù.


NAME / EMAIL
URL
SUBJECT
MESSAGE
ATTACH
ATTACH STYLE COOKIE  
[PREV] [NEXT] return


IRiS nX by NvyU =starry scape=