Click here to Skip to main content
15,888,267 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: creating a text menu from an ini file in C Pin
Maximilien22-Jul-09 9:35
Maximilien22-Jul-09 9:35 
AnswerRe: creating a text menu from an ini file in C Pin
alleyes22-Jul-09 10:18
professionalalleyes22-Jul-09 10:18 
AnswerRe: creating a text menu from an ini file in C Pin
Jeremy Falcon22-Jul-09 12:37
professionalJeremy Falcon22-Jul-09 12:37 
Questionwhat is the equivalent command for adLogin.Recordset(0) which is in VB in VC++...Pls help Pin
kokilag22-Jul-09 8:19
kokilag22-Jul-09 8:19 
Question[mfc] start/stop other process Pin
rahuljin22-Jul-09 6:24
rahuljin22-Jul-09 6:24 
AnswerRe: [mfc] start/stop other process Pin
Rajesh R Subramanian22-Jul-09 6:55
professionalRajesh R Subramanian22-Jul-09 6:55 
GeneralRe: [mfc] start/stop other process Pin
rahuljin22-Jul-09 7:23
rahuljin22-Jul-09 7:23 
GeneralRe: [mfc] start/stop other process Pin
Rajesh R Subramanian23-Jul-09 7:50
professionalRajesh R Subramanian23-Jul-09 7:50 
GeneralRe: [mfc] start/stop other process Pin
rahuljin23-Jul-09 9:22
rahuljin23-Jul-09 9:22 
GeneralRe: [mfc] start/stop other process Pin
rahuljin22-Jul-09 10:05
rahuljin22-Jul-09 10:05 
GeneralRe: [mfc] start/stop other process Pin
killabyte22-Jul-09 15:18
killabyte22-Jul-09 15:18 
QuestionHow to set CTabCtrl background colour? Pin
risa0922-Jul-09 4:57
risa0922-Jul-09 4:57 
AnswerRe: How to set CTabCtrl background colour? Pin
omjee26-Nov-09 22:20
omjee26-Nov-09 22:20 
QuestionUser control problem Data bind Pin
beesan22-Jul-09 1:36
beesan22-Jul-09 1:36 
AnswerRe: User control problem Data bind Pin
Cedric Moonen22-Jul-09 2:43
Cedric Moonen22-Jul-09 2:43 
Question[mfc] ip address control Pin
rahuljin22-Jul-09 1:21
rahuljin22-Jul-09 1:21 
AnswerRe: [mfc] ip address control Pin
Adam Roderick J22-Jul-09 2:17
Adam Roderick J22-Jul-09 2:17 
GeneralRe: [mfc] ip address control Pin
rahuljin22-Jul-09 8:01
rahuljin22-Jul-09 8:01 
i dont get, please explain.

i am using this code but it makes the mfc application crash.

len = strlen(fff);

if(strlen(fff) > 0 && strcmp(fff, "\n") != 0)
{
    while(fff[i] != '.')
    {
        c[j] = fff[i];
        j++;
        i++;
    }
    m1 = atoi(c);
    j = 0;
    i++;
    ZeroMemory(c, 3);

    while(fff[i] != '.')
    {
        c[j] = fff[i];
        j++;
        i++;
    }
    m2 = atoi(c);
    j = 0;
    i++;
    ZeroMemory(c, 3);

    while(fff[i] != '.')
    {
        c[j] = fff[i];
        j++;
        i++;
    }
    m3 = atoi(c);
    j = 0;
    i++;
    ZeroMemory(c, 3);

    while(len > i)
    {
        c[j] = fff[i];
        j++;
        i++;
    }
    m4 = atoi(c);
    j = 0;
    i++;
    ZeroMemory(c, 3);
    ipAdd.SetAddress(m1, m2, m3, m4);
}

GeneralRe: [mfc] ip address control Pin
bolivar12322-Jul-09 9:43
bolivar12322-Jul-09 9:43 
GeneralRe: [mfc] ip address control Pin
rahuljin22-Jul-09 10:03
rahuljin22-Jul-09 10:03 
GeneralRe: [mfc] ip address control Pin
bolivar12322-Jul-09 10:20
bolivar12322-Jul-09 10:20 
GeneralRe: [mfc] ip address control Pin
rahuljin22-Jul-09 10:47
rahuljin22-Jul-09 10:47 
GeneralRe: [mfc] ip address control Pin
bolivar12322-Jul-09 11:07
bolivar12322-Jul-09 11:07 
AnswerRe: [mfc] ip address control Pin
Maximilien22-Jul-09 8:17
Maximilien22-Jul-09 8:17 
QuestionDerived classes in MFC Pin
Penfold82121-Jul-09 23:48
Penfold82121-Jul-09 23:48 

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.