Computing.Net > Forums > Programming > convert void* to char

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

convert void* to char

Reply to Message Icon

Name: sakai111
Date: January 16, 2008 at 20:06:48 Pacific
OS: XP
CPU/Ram: P4/1G
Comment:

did anyone know how to convert void* in VC++ to char in C#, because I have a unmanaged dll and want to use in C#. I know C# don't have the pointer.




Sponsored Link
Ads by Google

Response Number 1
Name: RugZ
Date: January 16, 2008 at 23:09:41 Pacific
Reply:

C# does have the pointer if you specify in code that it is unsafe using the unsafe keyword delimeter

You can argue, fight and quarrel all you want, but at the end of the day you will have a headache


0
Reply to Message Icon

Related Posts

See More


File extension Rename Help With Recursion in Ja...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: convert void* to char

Convert int to Char c++ www.computing.net/answers/programming/convert-int-to-char-c/12549.html

Converting int to char www.computing.net/answers/programming/converting-int-to-char/6800.html

Converting int to char* www.computing.net/answers/programming/converting-int-to-char/10546.html