i was wondering if anyone has any tips on comparing data of type DWORD with data of type char? i also need to set a DWORD to what a char is holding but memcpy doesn't seem to work.
I would think that you would have to use some kind of conversion, you would have to convert DWORD to char then copy it. I never have tried it or do not know how to convert it, but I would bet there is a function in C++ that will convert it.
DWORD MyWord;
char *s;
MyWord = "Testing";
s = MyWord;
That is a conversion I just dreamed up, but it will give you the idea.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.