Click here to Skip to main content
15,926,174 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Program entry point - again Pin
Joaquín M López Muñoz16-Feb-02 8:27
Joaquín M López Muñoz16-Feb-02 8:27 
GeneralRe: Program entry point - again Pin
Don Miguel16-Feb-02 21:30
Don Miguel16-Feb-02 21:30 
GeneralRe: Program entry point - again Pin
Michael Dunn16-Feb-02 9:22
sitebuilderMichael Dunn16-Feb-02 9:22 
GeneralRe: Program entry point - again Pin
Don Miguel16-Feb-02 21:27
Don Miguel16-Feb-02 21:27 
GeneralRe: Program entry point - again Pin
Paul M Watt16-Feb-02 21:37
mentorPaul M Watt16-Feb-02 21:37 
GeneralRe: Program entry point - again Pin
Don Miguel16-Feb-02 21:42
Don Miguel16-Feb-02 21:42 
GeneralRe: Program entry point - again Pin
Paul M Watt16-Feb-02 22:30
mentorPaul M Watt16-Feb-02 22:30 
GeneralRe: Program entry point - again Pin
Don Miguel16-Feb-02 22:47
Don Miguel16-Feb-02 22:47 
Thanks a lot! Youre answer bring a lot of light to me.

Everithing you say is right, I tested the snippet you show me.

I must say it work for me without check entry point in disassembly, but putting in project settings->link->output->entry point symbol directly the function, "point" (without specification of class, "entry").

I make another try, to delete "static" qualifier for function "point"
and, everything work again!!! This really amasing me, since I am totally in agree with you that the function must be static. Confused | :confused: Confused | :confused:

Removing "static" and trying to use something like "this->aFunction" work also, and I was curious where point this, so I break program and look at the addresses. It point somewhere in an unknown zone, but invocation of entry function in form "this->point" continue to work!! Amazing, I think the compiler do something hydden, here. Confused | :confused: Confused | :confused: (I use VC++ 6.0)

Thanks for your answer.
GeneralRe: Program entry point - again Pin
Rick York16-Feb-02 23:06
mveRick York16-Feb-02 23:06 
GeneralRe: Program entry point - again Pin
Don Miguel16-Feb-02 23:13
Don Miguel16-Feb-02 23:13 
GeneralRe: Program entry point - again Pin
Paul M Watt16-Feb-02 23:12
mentorPaul M Watt16-Feb-02 23:12 
GeneralRe: Program entry point - again Pin
Don Miguel16-Feb-02 23:28
Don Miguel16-Feb-02 23:28 
GeneralRe: Program entry point - again Pin
Tim Deveaux17-Feb-02 6:58
Tim Deveaux17-Feb-02 6:58 
GeneralProgram entry point Pin
Don Miguel16-Feb-02 7:40
Don Miguel16-Feb-02 7:40 
GeneralRe: Program entry point Pin
Tim Deveaux16-Feb-02 14:08
Tim Deveaux16-Feb-02 14:08 
GeneralCFileDialog question(s) Pin
User 842016-Feb-02 7:02
User 842016-Feb-02 7:02 
GeneralRe: CFileDialog question(s) Pin
Ravi Bhavnani16-Feb-02 7:17
professionalRavi Bhavnani16-Feb-02 7:17 
GeneralRe: CFileDialog question(s) Pin
Joaquín M López Muñoz16-Feb-02 7:14
Joaquín M López Muñoz16-Feb-02 7:14 
GeneralRe: CFileDialog question(s) Pin
PJ Arends16-Feb-02 7:28
professionalPJ Arends16-Feb-02 7:28 
GeneralRe: CFileDialog question(s) Pin
User 842016-Feb-02 7:58
User 842016-Feb-02 7:58 
GeneralRe: CFileDialog question(s) Pin
Rick York16-Feb-02 7:41
mveRick York16-Feb-02 7:41 
GeneralRe: CFileDialog question(s) Pin
Shog916-Feb-02 14:29
sitebuilderShog916-Feb-02 14:29 
QuestionDisplaying Icons in CButton ?????? Pin
16-Feb-02 6:30
suss16-Feb-02 6:30 
AnswerRe: Displaying Icons in CButton ?????? Pin
Mazdak16-Feb-02 6:38
Mazdak16-Feb-02 6:38 
AnswerRe: Displaying Icons in CButton ?????? Pin
Joaquín M López Muñoz16-Feb-02 6:40
Joaquín M López Muñoz16-Feb-02 6:40 

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.