y‰SŽÒнŒ}zC/C++Ž ..
786:ƒfƒtƒHƒ‹ƒg‚Ì–¼–³‚µ‚³‚ñ
07/06/19 18:59:16
>>785
‚Ü‚¶‚Å‚·‚©B
‚±‚¿‚ç‚̊‹«‚ÍVS2005‚ÌExpressB
’²‚ׂ½‚炱‚ñ‚È·‚ª‚í‚©‚Á‚½B‚Å‚àA‚È‚ñ‚Å‚©‚Í•s–¾B‰Šú‰»‚³‚ê‚È‚¢‚©‚ç‚Æ„‘ªB
ƒRƒ“ƒpƒCƒ‹ƒGƒ‰[‚ªo‚È‚¢ƒ\[ƒXB
#include <windows.h>
#pragma comment(linker, "/section:.share,RWS")
#pragma data_seg(".share")
int x = 1;
#pragma data_seg()
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPreInst, PSTR szCmdLine, int iCmdShow)
{
@++x;
@MessageBox(NULL, TEXT("HOGE"), NULL, MB_OK);
@return TRUE;
}
‚‚Â
ŽŸƒy[ƒWÅVƒŒƒX•\ަƒXƒŒƒbƒh‚ÌŒŸõ—ÞŽ—ƒXƒŒˆê——˜b‘è‚̃jƒ…[ƒX‚¨‚Ü‚©‚¹ƒŠƒXƒg¥ƒIƒvƒVƒ‡ƒ“‚ð•\ަ‰É‚‚Ԃµ2ch
5116“ú‘O‚ÉXV/258 KB
’S“–:undef