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

C / C++ / MFC

 
GeneralCopyFile error 67 Pin
Member 10128696-May-04 5:18
Member 10128696-May-04 5:18 
GeneralRe: CopyFile error 67 Pin
David Crow6-May-04 5:57
David Crow6-May-04 5:57 
GeneralInjecting a MFC Dll Pin
Layane6-May-04 4:53
Layane6-May-04 4:53 
GeneralRe: Injecting a MFC Dll Pin
jmkhael6-May-04 7:01
jmkhael6-May-04 7:01 
GeneralRe: Injecting a MFC Dll Pin
Layane6-May-04 7:42
Layane6-May-04 7:42 
QuestionHow to use the windows API? Pin
sinbaski6-May-04 4:46
sinbaski6-May-04 4:46 
AnswerRe: How to use the windows API? Pin
Michael P Butler6-May-04 4:59
Michael P Butler6-May-04 4:59 
GeneralRe: How to use the windows API? Pin
sinbaski6-May-04 7:48
sinbaski6-May-04 7:48 
Thank you for your help!
I debugged the program again and solved some of the problems by myself. But the following one is really puzzling:
VC6.0 reported after compiling:
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main

The WinMain function is written as follows:
int _stdcall WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow )
{
//register the window class and carry out things like that
}

I used the appWizard to create a win32 application and all the problems were gone. However, I still don't understand why the error was reported. _main is not defined in the win32 application either.

Thank you for all your help!
GeneralRe: How to use the windows API? Pin
David Crow6-May-04 8:45
David Crow6-May-04 8:45 
GeneralRe: How to use the windows API? Pin
Mikey_E20-Jun-04 13:44
professionalMikey_E20-Jun-04 13:44 
GeneralCustomCtrl and ToolTip - Redraw Problem Pin
AnTri6-May-04 4:40
AnTri6-May-04 4:40 
Generalchild windows inside child frame ( MDI ) Pin
amit_k_gupta6-May-04 3:52
amit_k_gupta6-May-04 3:52 
GeneralRe: child windows inside child frame ( MDI ) Pin
Iain Clarke, Warrior Programmer6-May-04 5:41
Iain Clarke, Warrior Programmer6-May-04 5:41 
GeneralPrinting in XP Pin
olsilverfox5-May-04 14:48
olsilverfox5-May-04 14:48 
GeneralRe: Printing in XP Pin
Iain Clarke, Warrior Programmer6-May-04 5:46
Iain Clarke, Warrior Programmer6-May-04 5:46 
GeneralRe: Printing in XP Pin
Chris Meech6-May-04 6:41
Chris Meech6-May-04 6:41 
GeneralCompiling C++ in .NET 2003 Pin
PaleyX5-May-04 13:52
PaleyX5-May-04 13:52 
GeneralRe: Compiling C++ in .NET 2003 Pin
Antony M Kancidrowski6-May-04 4:55
Antony M Kancidrowski6-May-04 4:55 
GeneralRe: Compiling C++ in .NET 2003 Pin
PaleyX6-May-04 5:09
PaleyX6-May-04 5:09 
GeneralRe: Compiling C++ in .NET 2003 Pin
Navin6-May-04 6:19
Navin6-May-04 6:19 
GeneralRe: Compiling C++ in .NET 2003 Pin
PaleyX6-May-04 6:23
PaleyX6-May-04 6:23 
GeneralRe: Compiling C++ in .NET 2003 Pin
Phil J Pearson6-May-04 6:37
Phil J Pearson6-May-04 6:37 
GeneralRe: Compiling C++ in .NET 2003 Pin
PaleyX6-May-04 6:47
PaleyX6-May-04 6:47 
GeneralRe: Compiling C++ in .NET 2003 Pin
Phil J Pearson6-May-04 6:49
Phil J Pearson6-May-04 6:49 
GeneralRe: Compiling C++ in .NET 2003 Pin
PaleyX6-May-04 6:51
PaleyX6-May-04 6:51 

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.