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

C / C++ / MFC

 
GeneralRe: Cursor Pos and Font size Pin
«_Superman_»16-Jul-09 4:49
professional«_Superman_»16-Jul-09 4:49 
GeneralRe: Cursor Pos and Font size Pin
susanne116-Jul-09 4:51
susanne116-Jul-09 4:51 
GeneralRe: Cursor Pos and Font size Pin
David Crow16-Jul-09 5:00
David Crow16-Jul-09 5:00 
QuestionOperating System Mutex Pin
Tristan Rhodes16-Jul-09 2:01
Tristan Rhodes16-Jul-09 2:01 
AnswerRe: Operating System Mutex Pin
«_Superman_»16-Jul-09 2:17
professional«_Superman_»16-Jul-09 2:17 
GeneralRe: Operating System Mutex Pin
Tristan Rhodes16-Jul-09 5:05
Tristan Rhodes16-Jul-09 5:05 
AnswerRe: Operating System Mutex Pin
Rajesh R Subramanian16-Jul-09 3:02
professionalRajesh R Subramanian16-Jul-09 3:02 
Questioncall a dialog box in a dll Pin
UserNameless16-Jul-09 1:20
UserNameless16-Jul-09 1:20 
AnswerRe: call a dialog box in a dll Pin
_AnsHUMAN_ 16-Jul-09 1:30
_AnsHUMAN_ 16-Jul-09 1:30 
GeneralRe: call a dialog box in a dll [modified] Pin
UserNameless16-Jul-09 1:33
UserNameless16-Jul-09 1:33 
QuestionDifference Debugging F5 and Ctrl F5 Pin
prithaa16-Jul-09 1:12
prithaa16-Jul-09 1:12 
AnswerRe: Difference Debugging F5 and Ctrl F5 Pin
Maximilien16-Jul-09 1:18
Maximilien16-Jul-09 1:18 
AnswerRe: Difference Debugging F5 and Ctrl F5 Pin
carter200016-Jul-09 1:21
carter200016-Jul-09 1:21 
AnswerRe: Difference Debugging F5 and Ctrl F5 Pin
krmed16-Jul-09 7:18
krmed16-Jul-09 7:18 
GeneralRe: Difference Debugging F5 and Ctrl F5 Pin
prithaa16-Jul-09 18:05
prithaa16-Jul-09 18:05 
QuestionNeed guidance and proposal of design and implementation for an e-voting (electronic voting) system Pin
bahareh65515-Jul-09 23:14
bahareh65515-Jul-09 23:14 
AnswerRe: Need guidance and proposal of design and implementation for an e-voting (electronic voting) system Pin
Stuart Dootson16-Jul-09 0:50
professionalStuart Dootson16-Jul-09 0:50 
QuestionDialog font size problem Pin
DevelopmentNoob15-Jul-09 23:05
DevelopmentNoob15-Jul-09 23:05 
AnswerRe: Dialog font size problem Pin
Michael Schubert15-Jul-09 23:27
Michael Schubert15-Jul-09 23:27 
GeneralRe: Dialog font size problem Pin
DevelopmentNoob16-Jul-09 21:24
DevelopmentNoob16-Jul-09 21:24 
QuestionCreateObject with specific constructor Pin
sangbl15-Jul-09 22:42
sangbl15-Jul-09 22:42 
AnswerRe: CreateObject with specific constructor Pin
Stuart Dootson16-Jul-09 0:46
professionalStuart Dootson16-Jul-09 0:46 
QuestionRe: CreateObject with specific constructor Pin
sangbl16-Jul-09 1:44
sangbl16-Jul-09 1:44 
Thank you for your answer, but my problem is another one:

CTestObj ist derived from CObject.
So I can create the objekt with new, like
"CObject* pTestObj = new CTestObj( 5 )"

But I will create the object with the runtimeclass-pointer (CRuntimeClass* pRTC).
This pointer knows the type of the class and I can create the object with the
CreateObject-function.
CObject* pObj = pRTC->CreateObject();

The CreateObject-function calls the standard-constructor.
Can I call another constructor during creation with runtimeclass-pointer?
The next line did not compile but maybe you can modify it:

CObject* pMyObj = new pRTC( 5 );

At the time of creation, I only know the runtimeclass-pointer and the transfer
parameter (5).

In my program the transfer parameter is a big class. So I will save time during creation.

Do you have an idea?
QuestionANSI to UTF8 (dynamic mem alloc?) Pin
Souldrift15-Jul-09 22:36
Souldrift15-Jul-09 22:36 
AnswerRe: ANSI to UTF8 (dynamic mem alloc?) Pin
CPallini15-Jul-09 22:57
mveCPallini15-Jul-09 22:57 

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.