Solved

Pointer to this

Posted on 1998-07-09
2
177 Views
Last Modified: 2013-11-19
I have a global pointer, and in OnInitDialog() I want to make the pointer to point to this (the instance).
I tried to do:
pThis = &this
, but it said that & requires l-value.
Any suggestions?
0
Comment
Question by:awong726
2 Comments
 
LVL 8

Accepted Solution

by:
trestan earned 20 total points
ID: 1318912
"this" is already a pointer.
0
 

Author Comment

by:awong726
ID: 1318913
Ahhh....
Thanks.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
deburging in oracle form 12 88
viewing source code from eclipse 13 88
wordappend challenge 8 149
Detect file exist or not 3 132
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now