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
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.
Summary: I have a program which im writing that will count up ip addresses starting from 1.0.0.1. Each octet of the ip address is assigned as an int. ie int oct1, int oct2 I then want to assign these 4 values ...
Summary: BBs approach is correct but is lacking in explanation. Basically, BB is saying to take your integer and add it to the letter 'A' (ignore the -1 for now). This works because in C/C++, a character can b...