Click here to Skip to main content
15,893,790 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Why do you ignore received suggestions? Pin
Greg Mort4-May-09 10:08
Greg Mort4-May-09 10:08 
QuestionRe: Why do you ignore received suggestions? Pin
CPallini4-May-09 10:24
mveCPallini4-May-09 10:24 
AnswerRe: Why do you ignore received suggestions? Pin
Greg Mort4-May-09 10:49
Greg Mort4-May-09 10:49 
GeneralRe: Why do you ignore received suggestions? Pin
CPallini4-May-09 21:01
mveCPallini4-May-09 21:01 
GeneralRe: Why do you ignore received suggestions? Pin
harold aptroot4-May-09 10:30
harold aptroot4-May-09 10:30 
GeneralRe: Why do you ignore received suggestions? Pin
Greg Mort4-May-09 11:02
Greg Mort4-May-09 11:02 
Question[Message Deleted] Pin
Greg Mort4-May-09 8:30
Greg Mort4-May-09 8:30 
AnswerRe: why is 0x00,0x00,0x00,0x01 = 16777216 ? Should it not be = to 1? Pin
jeron14-May-09 9:05
jeron14-May-09 9:05 
GeneralRe: why is 0x00,0x00,0x00,0x01 = 16777216 ? Should it not be = to 1? Pin
Greg Mort4-May-09 9:10
Greg Mort4-May-09 9:10 
GeneralRe: why is 0x00,0x00,0x00,0x01 = 16777216 ? Should it not be = to 1? Pin
jeron14-May-09 9:15
jeron14-May-09 9:15 
QuestionAnnoying error for me Pin
CodingLover4-May-09 6:08
CodingLover4-May-09 6:08 
AnswerRe: Annoying error for me Pin
I am BATMAN4-May-09 6:12
I am BATMAN4-May-09 6:12 
QuestionRe: Annoying error for me Pin
David Crow4-May-09 7:59
David Crow4-May-09 7:59 
QuestionConvert a in_addr to an IPAddr Pin
I am BATMAN4-May-09 5:30
I am BATMAN4-May-09 5:30 
QuestionRe: Convert a in_addr to an IPAddr Pin
led mike4-May-09 7:24
led mike4-May-09 7:24 
AnswerRe: Convert a in_addr to an IPAddr Pin
I am BATMAN4-May-09 11:05
I am BATMAN4-May-09 11:05 
GeneralRe: Convert a in_addr to an IPAddr Pin
led mike4-May-09 11:22
led mike4-May-09 11:22 
I am BATMAN wrote:
Forgive me, this is basically the beginning of my windows C++ programming, up until now it's all been command line linux code. Is there a special way to cast with the win API or something?


Then you need to study beginners material of the language since you need to understand types, structures and unions as well as many, many other things. Trying to explain them to you in a forum is not appropriate.
typedef struct in_addr {
        union {
                struct { UCHAR s_b1,s_b2,s_b3,s_b4; } S_un_b;
                struct { USHORT s_w1,s_w2; } S_un_w;
                ULONG S_addr;
        } S_un;


The S_addr member of the union is the same type as IPAddr.

//
// IP type definitions.
//
typedef ULONG IPAddr;       // An IP address.

AnswerRe: Convert a in_addr to an IPAddr Pin
I am BATMAN4-May-09 11:20
I am BATMAN4-May-09 11:20 
Questionwmi Win32_Service Pin
Jack Rong4-May-09 5:21
Jack Rong4-May-09 5:21 
AnswerCross posting pile of garbage Pin
led mike4-May-09 9:22
led mike4-May-09 9:22 
QuestionNeed to change the Default Font of Control in my win32 code Pin
zakkas24834-May-09 3:53
zakkas24834-May-09 3:53 
AnswerRe: Need to change the Default Font of Control in my win32 code Pin
Code-o-mat4-May-09 4:04
Code-o-mat4-May-09 4:04 
AnswerRe: Need to change the Default Font of Control in my win32 code Pin
David Crow4-May-09 4:07
David Crow4-May-09 4:07 
GeneralRe: Need to change the Default Font of Control in my win32 code Pin
zakkas24834-May-09 4:19
zakkas24834-May-09 4:19 
GeneralRe: Need to change the Default Font of Control in my win32 code Pin
I am BATMAN4-May-09 5:31
I am BATMAN4-May-09 5:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.