Click here to Skip to main content
15,909,332 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: sum of variables of parent window Pin
prithaa26-Oct-06 1:01
prithaa26-Oct-06 1:01 
GeneralRe: sum of variables of parent window Pin
David Crow26-Oct-06 3:50
David Crow26-Oct-06 3:50 
GeneralRe: sum of variables of parent window Pin
Iain Clarke, Warrior Programmer26-Oct-06 3:53
Iain Clarke, Warrior Programmer26-Oct-06 3:53 
GeneralRe: sum of variables of parent window Pin
Hamid_RT26-Oct-06 19:28
Hamid_RT26-Oct-06 19:28 
AnswerRe: sum of variables of parent window Pin
ThatsAlok26-Oct-06 19:28
ThatsAlok26-Oct-06 19:28 
QuestionC2460 Error Pin
baerten25-Oct-06 22:03
baerten25-Oct-06 22:03 
AnswerRe: C2460 Error Pin
kakan25-Oct-06 22:10
professionalkakan25-Oct-06 22:10 
Questionentire Sample Pin
baerten25-Oct-06 23:30
baerten25-Oct-06 23:30 
Haupt.h
=======

#pragma once
#include "Einstellungen.h"

class Haupt
{
public:
Haupt(void);
~Haupt(void);
Einstellungen *Config;
void Applic();
};

Haupt.cpp
=========

#include "StdAfx.h"
#include ".\haupt.h"

Haupt::Haupt(void)
{
Config = new Einstellungen(this);
Config->Set();
}

Haupt::~Haupt(void)
{

}

void Haupt::Applic()
{
printf("APPLIC");
}

Einstellungen.h
===============

#pragma once
//#include "Haupt.h"

class Haupt;

class Einstellungen
{
public:
Einstellungen(Haupt *verb);
~Einstellungen(void);
void Set();
Haupt *Verbindung;
};

Einstellungen.cpp
=================

#include "StdAfx.h"
#include ".\einstellungen.h"

Einstellungen::Einstellungen(Haupt *Ver)
{
Verbindung = Ver;
}

Einstellungen::~Einstellungen(void)
{
}

void Einstellungen::Set()
{
Verbindung->Applic();
}

Your solution works only in an alone File, where all Definitions are togheter Frown | :(

But thanks ! Smile | :)
AnswerRe: entire Sample Pin
kakan26-Oct-06 0:07
professionalkakan26-Oct-06 0:07 
GeneralRe: entire Sample Pin
baerten26-Oct-06 0:19
baerten26-Oct-06 0:19 
GeneralRe: entire Sample Pin
kakan26-Oct-06 0:25
professionalkakan26-Oct-06 0:25 
AnswerRe: entire Sample Pin
benjymous26-Oct-06 1:25
benjymous26-Oct-06 1:25 
GeneralRe: entire Sample Pin
baerten26-Oct-06 2:14
baerten26-Oct-06 2:14 
Questionin socket, how to know send buffer is full? Pin
hanlei000000000925-Oct-06 21:53
hanlei000000000925-Oct-06 21:53 
AnswerRe: in socket, how to know send buffer is full? Pin
hanlei000000000926-Oct-06 1:17
hanlei000000000926-Oct-06 1:17 
Questionproblem with a control ActiveX Pin
zizzzz25-Oct-06 21:28
zizzzz25-Oct-06 21:28 
AnswerRe: problem with a control ActiveX Pin
Cedric Moonen25-Oct-06 21:37
Cedric Moonen25-Oct-06 21:37 
GeneralRe: problem with a control ActiveX Pin
zizzzz25-Oct-06 21:53
zizzzz25-Oct-06 21:53 
GeneralRe: problem with a control ActiveX Pin
Cedric Moonen25-Oct-06 22:00
Cedric Moonen25-Oct-06 22:00 
GeneralRe: problem with a control ActiveX Pin
zizzzz25-Oct-06 23:11
zizzzz25-Oct-06 23:11 
GeneralRe: problem with a control ActiveX Pin
Cedric Moonen25-Oct-06 23:20
Cedric Moonen25-Oct-06 23:20 
GeneralRe: problem with a control ActiveX Pin
zizzzz25-Oct-06 23:42
zizzzz25-Oct-06 23:42 
GeneralRe: problem with a control ActiveX Pin
Cedric Moonen25-Oct-06 23:50
Cedric Moonen25-Oct-06 23:50 
GeneralRe: problem with a control ActiveX Pin
zizzzz26-Oct-06 5:20
zizzzz26-Oct-06 5:20 
Questionpath name Pin
radhika2825-Oct-06 21:19
radhika2825-Oct-06 21:19 

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.