Inline ASM Question [C++]

02/05/2008 23:53 MushyPeas#1
Hi all,

I've been trying but can't seem to work this out, basically I want the following DWORD to be put into an unsigned long in C++.

Code:
dword ptr ss:[ebp+0x10]
into this variable
Code:
unsigned long itemx;
Code:
__asm mov itemx, dword ptr ss:[ebp+0x10]
Doesn't work and neither do all the other things I tried so I could really use some help.

Thanks in advance,