Click here to Skip to main content
15,919,778 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Linefeeds in CString Pin
JennyP25-Jul-02 17:02
JennyP25-Jul-02 17:02 
GeneralRe: Linefeeds in CString Pin
Nish Nishant25-Jul-02 17:08
sitebuilderNish Nishant25-Jul-02 17:08 
GeneralRe: Linefeeds in CString Pin
Ravi Bhavnani25-Jul-02 17:17
professionalRavi Bhavnani25-Jul-02 17:17 
GeneralRe: Linefeeds in CString Pin
-Dy26-Jul-02 0:16
-Dy26-Jul-02 0:16 
QuestionHow to get address of an instance Pin
CSharpDavid25-Jul-02 13:20
CSharpDavid25-Jul-02 13:20 
AnswerRe: How to get address of an instance Pin
Christian Graus25-Jul-02 13:45
protectorChristian Graus25-Jul-02 13:45 
GeneralRe: How to get address of an instance Pin
soptest25-Jul-02 14:22
soptest25-Jul-02 14:22 
If you "don't believe" try this:
class _A
{
public:
	_A()
	{
		m_this = this;
	};
	_A *m_this;
	void f()
	{
		printf("instance: %p\n",m_this);
	}
};

void main()
{
	_A a1,a2, *pa1,*pa2 ;

	a1.f();
	a2.f();
	pa1 = new _A();
	pa2 = new _A();
	pa1->f();
	pa2->f();
	delete pa1;
	delete pa2;
return;
}


soptest
GeneralRe: How to get address of an instance Pin
Christian Graus25-Jul-02 14:31
protectorChristian Graus25-Jul-02 14:31 
GeneralRe: How to get address of an instance Pin
Daniel Lohmann25-Jul-02 14:39
Daniel Lohmann25-Jul-02 14:39 
GeneralRe: How to get address of an instance Pin
Christian Graus25-Jul-02 14:52
protectorChristian Graus25-Jul-02 14:52 
GeneralRe: How to get address of an instance Pin
Mukkie26-Jul-02 5:32
Mukkie26-Jul-02 5:32 
AnswerRe: How to get address of an instance Pin
includeh1026-Jul-02 1:04
includeh1026-Jul-02 1:04 
AnswerRe: How to get address of an instance Pin
Anonymous26-Jul-02 10:22
Anonymous26-Jul-02 10:22 
QuestionHow to declare a SomeType &var in the header file? Pin
nss25-Jul-02 13:03
nss25-Jul-02 13:03 
AnswerRe: How to declare a SomeType &var in the header file? Pin
Christian Graus25-Jul-02 13:41
protectorChristian Graus25-Jul-02 13:41 
GeneralRe: How to declare a SomeType &var in the header file? Pin
nss25-Jul-02 15:30
nss25-Jul-02 15:30 
GeneralRe: How to declare a SomeType &var in the header file? Pin
Christian Graus25-Jul-02 15:47
protectorChristian Graus25-Jul-02 15:47 
AnswerRe: How to declare a SomeType &var in the header file? Pin
pépé26-Jul-02 2:52
pépé26-Jul-02 2:52 
GeneralRe: How to declare a SomeType &var in the header file? Pin
ns26-Jul-02 3:43
ns26-Jul-02 3:43 
QuestionHow to get server side system time? Pin
Tida25-Jul-02 11:07
Tida25-Jul-02 11:07 
AnswerRe: How to get server side system time? Pin
jmkhael25-Jul-02 11:58
jmkhael25-Jul-02 11:58 
AnswerRe: How to get server side system time? Pin
Joaquín M López Muñoz25-Jul-02 12:03
Joaquín M López Muñoz25-Jul-02 12:03 
AnswerRe: How to get server side system time? Pin
Carlos Antollini25-Jul-02 12:17
Carlos Antollini25-Jul-02 12:17 
QuestionCan I call OnItemChanged by force? Pin
nss25-Jul-02 10:47
nss25-Jul-02 10:47 

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.