Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / DWORD to char...

Author
Message
Didou69
15
Years of Service
User Offline
Joined: 24th Oct 2003
Location: France
Posted: 19th Feb 2005 00:59
anybody know how I can convert DWORD to char or string please ?
billy the kid
14
Years of Service
User Offline
Joined: 7th Dec 2004
Location:
Posted: 19th Feb 2005 01:09
Just cast it.

char* str = (char*)dwordFunc();

DWORD str = (DWORD)charFunc();

I think you may get a warning for one or both of these. Im sure there is a "safe" way to do it. But that should work.
Didou69
15
Years of Service
User Offline
Joined: 24th Oct 2003
Location: France
Posted: 19th Feb 2005 01:21
Ok thank you!

Login to post a reply

Server time is: 2019-08-23 15:06:42
Your offset time is: 2019-08-23 15:06:42