Click here to Skip to main content
16,010,650 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: text length and CStatic object Pin
Russell'8-Mar-06 5:18
Russell'8-Mar-06 5:18 
QuestionRe: text length and CStatic object Pin
David Crow8-Mar-06 5:23
David Crow8-Mar-06 5:23 
AnswerRe: text length and CStatic object Pin
Russell'8-Mar-06 5:30
Russell'8-Mar-06 5:30 
GeneralRe: text length and CStatic object Pin
David Crow8-Mar-06 5:43
David Crow8-Mar-06 5:43 
GeneralRe: text length and CStatic object Pin
Russell'8-Mar-06 5:49
Russell'8-Mar-06 5:49 
GeneralRe: text length and CStatic object Pin
Nibu babu thomas8-Mar-06 17:22
Nibu babu thomas8-Mar-06 17:22 
Questiondisappearing CPropertyPage's Pin
bljacobs8-Mar-06 4:12
bljacobs8-Mar-06 4:12 
Questionusing CIPAddressCtrl::GetAddress Pin
viperlogic8-Mar-06 4:07
viperlogic8-Mar-06 4:07 
hi
i have a small app im putting together. i have put in a "IP Address" box and have a button then when click will store the ip address.

from what i can see you use CIPAddressCtrl::GetAddress to get this address, what am i doing wrong below? I am using vc++6.


BYTE nField0, nField1, nField2, nField3;
int rc = CIPAddressCtrl::GetAddress(nField0, nField1, nField2, nField3);

should that not put the address into each one of those byte fields?

i am getting an error as below..
error C2352: 'CIPAddressCtrl::GetAddress' : illegal call of non-static member function.
afxcmn.h(1112) : see declaration of 'GetAddress'

please help
thanks
AnswerRe: using CIPAddressCtrl::GetAddress Pin
David Crow8-Mar-06 4:53
David Crow8-Mar-06 4:53 
GeneralRe: using CIPAddressCtrl::GetAddress Pin
viperlogic8-Mar-06 4:56
viperlogic8-Mar-06 4:56 
GeneralRe: using CIPAddressCtrl::GetAddress Pin
David Crow8-Mar-06 5:10
David Crow8-Mar-06 5:10 
GeneralRe: using CIPAddressCtrl::GetAddress Pin
viperlogic8-Mar-06 5:19
viperlogic8-Mar-06 5:19 
Questionwhat is difference of &buf and *buf?? Pin
beardy janggut8-Mar-06 3:56
beardy janggut8-Mar-06 3:56 
AnswerRe: what is difference of &buf and *buf?? Pin
toxcct8-Mar-06 4:13
toxcct8-Mar-06 4:13 
AnswerRe: what is difference of &buf and *buf?? Pin
Cedric Moonen8-Mar-06 4:18
Cedric Moonen8-Mar-06 4:18 
QuestionBrowseObject Pin
MON2058-Mar-06 3:41
MON2058-Mar-06 3:41 
QuestionMS Word Pin
micutzu8-Mar-06 3:37
micutzu8-Mar-06 3:37 
AnswerRe: MS Word Pin
David Crow8-Mar-06 5:08
David Crow8-Mar-06 5:08 
GeneralRe: MS Word Pin
micutzu8-Mar-06 19:24
micutzu8-Mar-06 19:24 
AnswerRe: MS Word Pin
David Crow13-Mar-06 9:18
David Crow13-Mar-06 9:18 
QuestionUsing STL classes in a DLL Pin
pplshero548-Mar-06 3:34
pplshero548-Mar-06 3:34 
AnswerRe: Using STL classes in a DLL Pin
pplshero548-Mar-06 3:37
pplshero548-Mar-06 3:37 
AnswerRe: Using STL classes in a DLL Pin
toxcct8-Mar-06 3:40
toxcct8-Mar-06 3:40 
GeneralRe: Using STL classes in a DLL Pin
pplshero548-Mar-06 5:52
pplshero548-Mar-06 5:52 
QuestionPointers to IE Pin
folkenmax8-Mar-06 3:11
folkenmax8-Mar-06 3:11 

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.