Click here to Skip to main content
12,243,729 members (38,438 online)

C / C++ / MFC

 
AnswerRe: I'm doing a file download client,use http or ftp Pin
TopCoder236-Aug-12 7:06
memberTopCoder236-Aug-12 7:06 
GeneralRe: I'm doing a file download client,use http or ftp Pin
pasztorpisti6-Aug-12 7:38
memberpasztorpisti6-Aug-12 7:38 
GeneralRe: I'm doing a file download client,use http or ftp Pin
pasztorpisti6-Aug-12 7:43
memberpasztorpisti6-Aug-12 7:43 
QuestionHow to retain the state of check box in a dialog box in MFC.? Pin
mbatra315-Aug-12 22:20
membermbatra315-Aug-12 22:20 
AnswerRe: How to retain the state of check box in a dialog box in MFC.? Pin
«_Superman_»6-Aug-12 0:00
member«_Superman_»6-Aug-12 0:00 
GeneralRe: How to retain the state of check box in a dialog box in MFC.? Pin
mbatra316-Aug-12 3:21
membermbatra316-Aug-12 3:21 
Generalget the txt of wordArt with VBA (C++ code) Pin
BianChengNan5-Aug-12 21:21
memberBianChengNan5-Aug-12 21:21 
QuestionRe: get the txt of wordArt with VBA Pin
CPallini5-Aug-12 22:03
mvpCPallini5-Aug-12 22:03 
AnswerRe: get the txt of wordArt with VBA Pin
BianChengNan5-Aug-12 22:17
memberBianChengNan5-Aug-12 22:17 
QuestionMFC Ribbon Status Bar in VS2010 Pin
Rishav Prabhakar5-Aug-12 20:22
memberRishav Prabhakar5-Aug-12 20:22 
QuestionCalling main from within Windows application Pin
PierreBokma5-Aug-12 4:34
memberPierreBokma5-Aug-12 4:34 
AnswerRe: Calling main from within Windows application Pin
Richard MacCutchan5-Aug-12 7:51
mvpRichard MacCutchan5-Aug-12 7:51 
AnswerRe: Calling main from within Windows application Pin
jschell5-Aug-12 8:53
memberjschell5-Aug-12 8:53 
AnswerRe: Calling main from within Windows application Pin
pasztorpisti5-Aug-12 16:08
memberpasztorpisti5-Aug-12 16:08 
solution 1: You can create gui from a console application too, so you can leave the prog as it is so it starts from the main(). Check the example code of this tip: Using SetCapture() and ReleaseCapture() correctly (usually during a drag n' drop operation).[^]

solution 2: if you decide to use a windows program then you can get main like argv list by using the CommandLineToArgvW()[^] function. Note that this function has only widechar (utf16) version so you might have to convert the argv values to whatever encoding you use with the WideCharToMultiByte()[^] function before you call your console main().
AnswerRe: Calling main from within Windows application Pin
TopCoder235-Aug-12 19:37
memberTopCoder235-Aug-12 19:37 
QuestionBEX runtime error! Pin
Le@rner2-Aug-12 19:54
memberLe@rner2-Aug-12 19:54 
AnswerRe: BEX runtime error! Pin
Peter_in_27802-Aug-12 20:04
memberPeter_in_27802-Aug-12 20:04 
AnswerRe: BEX runtime error! Pin
Richard MacCutchan2-Aug-12 22:21
mvpRichard MacCutchan2-Aug-12 22:21 
AnswerRe: BEX runtime error! Pin
enhzflep3-Aug-12 0:41
memberenhzflep3-Aug-12 0:41 
AnswerRe: BEX runtime error! Pin
TopCoder233-Aug-12 1:34
memberTopCoder233-Aug-12 1:34 
AnswerRe: BEX runtime error! Pin
Wes Aday3-Aug-12 7:54
memberWes Aday3-Aug-12 7:54 
Questioncalling a user32.lib method in c++ application gives Linker error Pin
Virendra_ec102-Aug-12 3:31
memberVirendra_ec102-Aug-12 3:31 
AnswerRe: calling a user32.lib method in c++ application gives Linker error Pin
Mass Nerder2-Aug-12 4:27
memberMass Nerder2-Aug-12 4:27 
Questionwait for more than 5 seconds on a custom combobox dropdown list control causes win32 C++ application hangs in Windows7 Pin
Virendra_ec102-Aug-12 3:23
memberVirendra_ec102-Aug-12 3:23 
AnswerRe: wait for more than 5 seconds on a custom combobox dropdown list control causes win32 C++ application hangs in Windows7 Pin
pasztorpisti2-Aug-12 4:58
memberpasztorpisti2-Aug-12 4:58 
AnswerRe: wait for more than 5 seconds on a custom combobox dropdown list control causes win32 C++ application hangs in Windows7 Pin
_AnsHUMAN_ 2-Aug-12 4:59
group_AnsHUMAN_ 2-Aug-12 4:59 
GeneralRe: wait for more than 5 seconds on a custom combobox dropdown list control causes win32 C++ application hangs in Windows7 Pin
Stephen Hewitt3-Aug-12 7:34
memberStephen Hewitt3-Aug-12 7:34 
GeneralRe: wait for more than 5 seconds on a custom combobox dropdown list control causes win32 C++ application hangs in Windows7 Pin
Virendra_ec1012-Aug-12 21:37
memberVirendra_ec1012-Aug-12 21:37 
QuestionRe: wait for more than 5 seconds on a custom combobox dropdown list control causes win32 C++ application hangs in Windows7 Pin
DavidCrow2-Aug-12 7:55
memberDavidCrow2-Aug-12 7:55 
AnswerRe: wait for more than 5 seconds on a custom combobox dropdown list control causes win32 C++ application hangs in Windows7 Pin
Virendra_ec1012-Aug-12 21:39
memberVirendra_ec1012-Aug-12 21:39 
AnswerRe: wait for more than 5 seconds on a custom combobox dropdown list control causes win32 C++ application hangs in Windows7 Pin
Stephen Hewitt3-Aug-12 7:36
memberStephen Hewitt3-Aug-12 7:36 
QuestionTab control Pin
ekinnh1-Aug-12 16:38
memberekinnh1-Aug-12 16:38 
QuestionRe: Tab control Pin
Eugen Podsypalnikov1-Aug-12 20:53
memberEugen Podsypalnikov1-Aug-12 20:53 
AnswerRe: Tab control Pin
TopCoder231-Aug-12 22:40
memberTopCoder231-Aug-12 22:40 
QuestionCInvalodArg execption in crtexe.c Pin
ForNow1-Aug-12 14:14
memberForNow1-Aug-12 14:14 
AnswerRe: CInvalodArg execption in crtexe.c Pin
Richard MacCutchan1-Aug-12 22:56
mvpRichard MacCutchan1-Aug-12 22:56 
QuestionRe: CInvalodArg execption in crtexe.c Pin
CPallini2-Aug-12 0:04
mvpCPallini2-Aug-12 0:04 
AnswerRe: CInvalodArg execption in crtexe.c Pin
ForNow2-Aug-12 0:21
memberForNow2-Aug-12 0:21 
GeneralRe: CInvalodArg execption in crtexe.c Pin
CPallini2-Aug-12 0:51
mvpCPallini2-Aug-12 0:51 
GeneralRe: CInvalodArg execption in crtexe.c Pin
ForNow2-Aug-12 20:02
memberForNow2-Aug-12 20:02 
QuestionRe: CInvalodArg execption in crtexe.c Pin
CPallini2-Aug-12 22:18
mvpCPallini2-Aug-12 22:18 
AnswerRe: CInvalodArg execption in crtexe.c Pin
ForNow2-Aug-12 22:56
memberForNow2-Aug-12 22:56 
QuestionRestart Windows in Safe Mode with Networking button Pin
Member 92999901-Aug-12 10:48
memberMember 92999901-Aug-12 10:48 
AnswerRe: Restart Windows in Safe Mode with Networking button Pin
André Kraak1-Aug-12 11:08
memberAndré Kraak1-Aug-12 11:08 
GeneralRe: Restart Windows in Safe Mode with Networking button Pin
Member 92999901-Aug-12 11:17
memberMember 92999901-Aug-12 11:17 
AnswerRe: Restart Windows in Safe Mode with Networking button Pin
André Kraak1-Aug-12 11:27
memberAndré Kraak1-Aug-12 11:27 
GeneralRe: Restart Windows in Safe Mode with Networking button Pin
Member 92999901-Aug-12 11:36
memberMember 92999901-Aug-12 11:36 
QuestionRe: Restart Windows in Safe Mode with Networking button Pin
DavidCrow1-Aug-12 11:26
memberDavidCrow1-Aug-12 11:26 
AnswerRe: Restart Windows in Safe Mode with Networking button Pin
Member 92999901-Aug-12 11:35
memberMember 92999901-Aug-12 11:35 
GeneralRe: Restart Windows in Safe Mode with Networking button Pin
DavidCrow1-Aug-12 18:22
memberDavidCrow1-Aug-12 18:22 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160426.1 | Last Updated 1 May 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid