Jack
2009-08-25 07:48:47 UTC
If I #define MakePtr(cast, ptr, castValue) (OutputDebugString("MakePtr\n");
((cast)(DWORD_PTR)(ptr) + (DWORD_PTR)(addValue)))
, this doesn't compile....
The statement is in one line to the end.
When I remove OutputDebugString, it compiles....
Is it the only way to modify it and make that a function?
Thanks
Jack
((cast)(DWORD_PTR)(ptr) + (DWORD_PTR)(addValue)))
, this doesn't compile....
The statement is in one line to the end.
When I remove OutputDebugString, it compiles....
Is it the only way to modify it and make that a function?
Thanks
Jack