but this is not safe to do according to the standard. It definitely won't work on compilers where [font="'Courier New"]sizeof(DWORD) < sizeof(char*)[/font]
1 more thing, how do i get visual studio to print me the pointer value of the following?
(*((BYTE*)(dwAddress+i))) ) <---- visual studio will let me breakpoint and hover mouse over variable "dwaddress" and get it's current contents because it's a variable. But how do i make visual studio tell me the value of the casted pointer "(*((BYTE*)(dwAddress+i))) )" when i mouse over it doesnt give me options to view the dereferenced pointer value? how do i make it show me?