Solved

Pointer to this

Posted on 1998-07-09
2
184 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

762 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