Click here to Skip to main content
15,940,373 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhich process opened a file? Pin
daavena29-Jan-08 10:54
daavena29-Jan-08 10:54 
AnswerRe: Which process opened a file? Pin
Randor 29-Jan-08 11:55
professional Randor 29-Jan-08 11:55 
AnswerRe: Which process opened a file? Pin
Stephen Hewitt29-Jan-08 12:40
Stephen Hewitt29-Jan-08 12:40 
AnswerRe: Which process opened a file? Pin
Hamid_RT29-Jan-08 18:17
Hamid_RT29-Jan-08 18:17 
GeneralConcerning drivers... Pin
Eikthrynir29-Jan-08 10:40
Eikthrynir29-Jan-08 10:40 
GeneralRe: Concerning drivers... Pin
Randor 29-Jan-08 11:39
professional Randor 29-Jan-08 11:39 
GeneralRe: Concerning drivers... Pin
Eikthrynir29-Jan-08 17:57
Eikthrynir29-Jan-08 17:57 
GeneralLNK:2019 Link Error Using C++ to compile C program Pin
IceWater4229-Jan-08 10:18
IceWater4229-Jan-08 10:18 
Am having difficulty getting C++ 2008 to LINK to the strcopy function. I get compiler errors on other function calls too, but they all get resolved by the linker .. all but strcopy.

I am clueless .. here is the compiler/linker output. Thanks for looking.

--Roger

-----------------

1>------ Build started: Project: GuessingGame, Configuration: Debug Win32 ------
1>Compiling...
1>GuessingGame.c
1>r:\guessinggame\guessinggame\guessinggame.c(18) : warning C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(306) : see declaration of 'scanf'
1>r:\guessinggame\guessinggame\guessinggame.c(20) : warning C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(306) : see declaration of 'scanf'
1>r:\guessinggame\guessinggame\guessinggame.c(22) : warning C4013: 'time' undefined; assuming extern returning int
1>r:\guessinggame\guessinggame\guessinggame.c(26) : warning C4013: 'strcopy' undefined; assuming extern returning int
1>r:\guessinggame\guessinggame\guessinggame.c(39) : warning C4013: 'getch' undefined; assuming extern returning int
1>Linking...
1>GuessingGame.obj : error LNK2019: unresolved external symbol _strcopy referenced in function _main
1>R:\GuessingGame\Debug\GuessingGame.exe : fatal error LNK1120: 1 unresolved externals
1>Build log was saved at "file://r:\GuessingGame\GuessingGame\Debug\BuildLog.htm"
1>GuessingGame - 2 error(s), 5 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
GeneralRe: LNK:2019 Link Error Using C++ to compile C program Pin
Mark Salsbery29-Jan-08 10:35
Mark Salsbery29-Jan-08 10:35 
GeneralRe: LNK:2019 Link Error Using C++ to compile C program Pin
IceWater4229-Jan-08 12:29
IceWater4229-Jan-08 12:29 
Generala simplr app. for mobile ... Pin
mostafa_h29-Jan-08 10:10
mostafa_h29-Jan-08 10:10 
QuestionLinking to VB/DLL in a C++ Application Pin
GaryLee29-Jan-08 9:55
GaryLee29-Jan-08 9:55 
AnswerRe: Linking to VB/DLL in a C++ Application Pin
akiraps10-Mar-08 12:02
akiraps10-Mar-08 12:02 
GeneralTIme checking in C++ for visual 6 Pin
nahitan29-Jan-08 7:07
nahitan29-Jan-08 7:07 
GeneralRe: TIme checking in C++ for visual 6 Pin
Maxwell Chen29-Jan-08 7:16
Maxwell Chen29-Jan-08 7:16 
GeneralRe: TIme checking in C++ for visual 6 Pin
Mark Salsbery29-Jan-08 7:17
Mark Salsbery29-Jan-08 7:17 
GeneralRe: TIme checking in C++ for visual 6 Pin
nahitan29-Jan-08 8:46
nahitan29-Jan-08 8:46 
GeneralRe: TIme checking in C++ for visual 6 Pin
Mark Salsbery29-Jan-08 9:03
Mark Salsbery29-Jan-08 9:03 
GeneralRe: TIme checking in C++ for visual 6 Pin
led mike29-Jan-08 9:44
led mike29-Jan-08 9:44 
GeneralRe: TIme checking in C++ for visual 6 Pin
Maxwell Chen29-Jan-08 16:15
Maxwell Chen29-Jan-08 16:15 
GeneralRe: TIme checking in C++ for visual 6 Pin
Mark Salsbery29-Jan-08 17:53
Mark Salsbery29-Jan-08 17:53 
GeneralAçık iş teklifidir! [modified] Pin
Mr. Surprise29-Jan-08 6:43
Mr. Surprise29-Jan-08 6:43 
GeneralRe: Açık iş teklifidir! Pin
Maxwell Chen29-Jan-08 6:54
Maxwell Chen29-Jan-08 6:54 
GeneralRe: Açık iş teklifidir! Pin
Mr. Surprise29-Jan-08 7:17
Mr. Surprise29-Jan-08 7:17 
GeneralRe: Açık iş teklifidir! Pin
Maxwell Chen29-Jan-08 7:22
Maxwell Chen29-Jan-08 7: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.