Click here to Skip to main content
15,891,204 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: How export functions from an exe file? Pin
Rama Krishna Vavilala20-Mar-10 7:48
Rama Krishna Vavilala20-Mar-10 7:48 
QuestionToolbar with two columns how Pin
sharp_k15-Sep-07 5:35
sharp_k15-Sep-07 5:35 
AnswerRe: Toolbar with two columns how Pin
Mark Salsbery16-Sep-07 8:27
Mark Salsbery16-Sep-07 8:27 
GeneralRe: Toolbar with two columns how Pin
sharp_k17-Sep-07 12:21
sharp_k17-Sep-07 12:21 
QuestionWinMain and argv/argc Pin
dellthinker15-Sep-07 5:29
dellthinker15-Sep-07 5:29 
QuestionRe: WinMain and argv/argc Pin
David Crow15-Sep-07 11:49
David Crow15-Sep-07 11:49 
AnswerRe: WinMain and argv/argc Pin
dellthinker15-Sep-07 13:32
dellthinker15-Sep-07 13:32 
GeneralRe: WinMain and argv/argc Pin
David Crow15-Sep-07 17:27
David Crow15-Sep-07 17:27 
dellthinker wrote:
Im trying to get the current file name from...WinMain().


So how about GetModuleFileName()?

dellthinker wrote:
But since i cant put argv[] or argc in the function arguments, i have to use another method.


And that way is fine. There's nothing wrong with using __argv[0].



"A good athlete is the result of a good and worthy opponent." - David Crow

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


AnswerRe: WinMain and argv/argc Pin
carrivick15-Sep-07 21:00
carrivick15-Sep-07 21:00 
Questionashen character Pin
youbo15-Sep-07 3:33
youbo15-Sep-07 3:33 
AnswerRe: ashen character Pin
Chris Losinger15-Sep-07 4:37
professionalChris Losinger15-Sep-07 4:37 
QuestionRe: ashen character Pin
David Crow15-Sep-07 11:50
David Crow15-Sep-07 11:50 
AnswerRe: ashen character Pin
youbo15-Sep-07 14:59
youbo15-Sep-07 14:59 
GeneralRe: ashen character Pin
David Crow15-Sep-07 17:18
David Crow15-Sep-07 17:18 
GeneralRe: ashen character Pin
Russell'16-Sep-07 0:22
Russell'16-Sep-07 0:22 
QuestionProblem in RegQueryValue. Pin
GauranG Shah15-Sep-07 2:07
GauranG Shah15-Sep-07 2:07 
AnswerRe: Problem in RegQueryValue. Pin
carrivick15-Sep-07 2:25
carrivick15-Sep-07 2:25 
AnswerRe: Problem in RegQueryValue. Pin
Mark Salsbery15-Sep-07 5:35
Mark Salsbery15-Sep-07 5:35 
QuestionStl::map Link Error Pin
Vinod CS15-Sep-07 0:27
Vinod CS15-Sep-07 0:27 
AnswerRe: Stl::map Link Error Pin
Chris Losinger15-Sep-07 4:34
professionalChris Losinger15-Sep-07 4:34 
QuestionProblem with Combo Box Pin
GauranG Shah14-Sep-07 23:27
GauranG Shah14-Sep-07 23:27 
AnswerRe: Problem with Combo Box Pin
Hamid_RT15-Sep-07 0:32
Hamid_RT15-Sep-07 0:32 
GeneralRe: Problem with Combo Box Pin
GauranG Shah15-Sep-07 0:55
GauranG Shah15-Sep-07 0:55 
GeneralRe: Problem with Combo Box Pin
GauranG Shah15-Sep-07 1:13
GauranG Shah15-Sep-07 1:13 
GeneralRe: Problem with Combo Box Pin
Hamid_RT15-Sep-07 1:30
Hamid_RT15-Sep-07 1:30 

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.