ShadowBurn's Avatar, Join Date: Aug 2007
Newbie Member
How would I go about converting BYTE * to const char *?
DaWei's Avatar, Join Date: Dec 2006
Team Leader
Well, in the first place, there's no such thing as a BYTE * (in C), except as defined by a macro or typedef. One would like to know how it was defined in order to make a sensible conversion. One COULD make the conversion unilaterally and generally expect to get away with it in most systems, since, in most (not all) systems, pointers are merely straightforward memory addresses. Just use a cast.