Click here to Skip to main content
15,898,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can write sheet 2 in xlsx with excel automation? Pin
Roger Broomfield7-Mar-11 21:30
Roger Broomfield7-Mar-11 21:30 
GeneralRe: How can write sheet 2 in xlsx with excel automation? [modified] Pin
Le@rner7-Mar-11 21:42
Le@rner7-Mar-11 21:42 
Questionencode char? Pin
Nguyen Sy Bang6-Mar-11 17:55
Nguyen Sy Bang6-Mar-11 17:55 
QuestionVS 2008 Configuration For Libraries Pin
Mike Certini6-Mar-11 17:53
Mike Certini6-Mar-11 17:53 
AnswerRe: VS 2008 Configuration For Libraries Pin
Michael Dunn6-Mar-11 18:12
sitebuilderMichael Dunn6-Mar-11 18:12 
GeneralRe: VS 2008 Configuration For Libraries Pin
Mike Certini6-Mar-11 18:31
Mike Certini6-Mar-11 18:31 
GeneralRe: VS 2008 Configuration For Libraries Pin
tagopi6-Mar-11 19:53
tagopi6-Mar-11 19:53 
GeneralRe: VS 2008 Configuration For Libraries Pin
Mike Certini8-Mar-11 5:43
Mike Certini8-Mar-11 5:43 
tagopi,

This is the solution that was posted by WayneAKing in the Visual C++ Developer Center forum. His posting is in response to an error listing that I posted. This guy knows everything. My program is now working.

I added the directory to the project configuration

>properties - linker - general tab.

That's half the requirements.

What did I say to add, and where did I say to add it?
Look under Linker->Input for "Additional Dependencies"
and add your .lib filename to the list.

>int main()

You are making a console program.

>error LNK2019: unresolved external symbol _WinMain@16
>referenced in function ___tmainCRTStartup

WinMain is used with Win32 GUI applications, not console apps.
How did you create the project? Which project template did
you use? You should have selected "Win32 Console Application".

Look under Linker->System for "SubSystem" and set it to
"Console (/SUBSYSTEM:CONSOLE)"

- Wayne
QuestionSomething really crazy Pin
csrss6-Mar-11 15:03
csrss6-Mar-11 15:03 
AnswerRe: Something really crazy Pin
Hans Dietrich6-Mar-11 15:51
mentorHans Dietrich6-Mar-11 15:51 
AnswerRe: Something really crazy Pin
Emilio Garavaglia6-Mar-11 21:23
Emilio Garavaglia6-Mar-11 21:23 
QuestionRe: Something really crazy Pin
CPallini6-Mar-11 21:44
mveCPallini6-Mar-11 21:44 
AnswerRe: Something really crazy Pin
Emilio Garavaglia7-Mar-11 4:10
Emilio Garavaglia7-Mar-11 4:10 
GeneralRe: Something really crazy Pin
csrss7-Mar-11 0:47
csrss7-Mar-11 0:47 
AnswerRe: Something really crazy Pin
Richard MacCutchan6-Mar-11 22:29
mveRichard MacCutchan6-Mar-11 22:29 
GeneralRe: Something really crazy Pin
csrss7-Mar-11 0:38
csrss7-Mar-11 0:38 
GeneralRe: Something really crazy Pin
Richard MacCutchan7-Mar-11 6:03
mveRichard MacCutchan7-Mar-11 6:03 
GeneralRe: Something really crazy Pin
csrss7-Mar-11 6:37
csrss7-Mar-11 6:37 
QuestionWM_DEVICECHANGE Problem [SOLVED] Pin
goldenrose96-Mar-11 6:19
goldenrose96-Mar-11 6:19 
AnswerRe: WM_DEVICECHANGE Problem Pin
Ozer Karaagac6-Mar-11 8:39
professionalOzer Karaagac6-Mar-11 8:39 
GeneralRe: WM_DEVICECHANGE Problem Pin
goldenrose96-Mar-11 16:53
goldenrose96-Mar-11 16:53 
GeneralRe: WM_DEVICECHANGE Problem Pin
Ozer Karaagac6-Mar-11 21:48
professionalOzer Karaagac6-Mar-11 21:48 
GeneralRe: WM_DEVICECHANGE Problem Pin
goldenrose96-Mar-11 21:54
goldenrose96-Mar-11 21:54 
GeneralRe: WM_DEVICECHANGE Problem Pin
Ozer Karaagac6-Mar-11 22:09
professionalOzer Karaagac6-Mar-11 22:09 
GeneralRe: WM_DEVICECHANGE Problem Pin
goldenrose96-Mar-11 22:23
goldenrose96-Mar-11 22:23 

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.