Originally Posted by Ende! Code: enum eOffsets { OFFS_IngameMsgBox = 0xA4180 } // ==> eOffsets void IngameMsgBox(DWORD dwCShellBase, const char *szMessage) { typedef void(__cdecl *pGameMsgBox_t)(DWORD, DWORD, DWORD, const char*); pGameMsgBox_t pGameMsgBox = (pGameMsgBox_t)(dwCShellBase + OFFS_IngameMsgBox); pGameMsgBox(0x1D, 0x71, 0, szMessage); } // ==> IngameMsgBox Why not using a function pointer instead of inline ASM? they all got it from me i didnt want to post the CShell class i use so i made it in inline asm and released it.