Click here to Skip to main content
15,922,325 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: myodbc mysql HELP! Pin
eusto17-Apr-06 20:35
eusto17-Apr-06 20:35 
GeneralRe: myodbc mysql HELP! Pin
eusto18-Apr-06 0:43
eusto18-Apr-06 0:43 
QuestionRe: Convert STL string -->TCHAR (final clairification) Pin
chasetoys17-Apr-06 7:59
chasetoys17-Apr-06 7:59 
AnswerRe: Convert STL string -->TCHAR (final clairification) Pin
Saurabh.Garg17-Apr-06 17:07
Saurabh.Garg17-Apr-06 17:07 
Question[RESOLVED]Socket function failed in dll called dynamically Pin
Fredericfr17-Apr-06 6:42
Fredericfr17-Apr-06 6:42 
AnswerRe: Socket function failed in dll called dynamically Pin
Michael Dunn17-Apr-06 7:57
sitebuilderMichael Dunn17-Apr-06 7:57 
GeneralRe: Socket function failed in dll called dynamically Pin
Fredericfr17-Apr-06 8:32
Fredericfr17-Apr-06 8:32 
QuestionHow give the dimension to line. Pin
sataoa17-Apr-06 6:34
sataoa17-Apr-06 6:34 
QuestionDynamic arrays Pin
Waldermort17-Apr-06 6:12
Waldermort17-Apr-06 6:12 
AnswerRe: Dynamic arrays Pin
Joe Woodbury17-Apr-06 6:25
professionalJoe Woodbury17-Apr-06 6:25 
GeneralRe: Dynamic arrays Pin
Waldermort17-Apr-06 6:32
Waldermort17-Apr-06 6:32 
GeneralRe: Dynamic arrays Pin
David Crow17-Apr-06 7:17
David Crow17-Apr-06 7:17 
GeneralRe: Dynamic arrays Pin
Waldermort17-Apr-06 8:21
Waldermort17-Apr-06 8:21 
GeneralRe: Dynamic arrays Pin
Nemanja Trifunovic17-Apr-06 9:02
Nemanja Trifunovic17-Apr-06 9:02 
GeneralRe: Dynamic arrays Pin
Waldermort17-Apr-06 9:14
Waldermort17-Apr-06 9:14 
GeneralRe: Dynamic arrays Pin
Nemanja Trifunovic17-Apr-06 10:41
Nemanja Trifunovic17-Apr-06 10:41 
AnswerRe: Dynamic arrays Pin
Joe Woodbury17-Apr-06 10:29
professionalJoe Woodbury17-Apr-06 10:29 
GeneralRe: Dynamic arrays Pin
Nemanja Trifunovic17-Apr-06 10:46
Nemanja Trifunovic17-Apr-06 10:46 
GeneralRe: Dynamic arrays Pin
Joe Woodbury17-Apr-06 21:21
professionalJoe Woodbury17-Apr-06 21:21 
QuestionImpersonation and Access Rights Pin
Putta_V17-Apr-06 5:28
Putta_V17-Apr-06 5:28 
QuestionLinker Error ?? Pin
jinbabaj17-Apr-06 5:03
jinbabaj17-Apr-06 5:03 
Hi Folks,
I am facing a little problem executing my program..

I am using an MFC APP Wizard Application, which was running fine untill I added a function[ Find() ] in my View class which uses a global function [ int getAngle() ].

I defined my global Function and Variable in a seprate header and use #include "Global.h" on top of my View Class (.h).

If i dont define this global function [ int getAngle() ] in "Global.h" and build my program the compiler complains about [ int getAngle() ] not declared and used in function [ Find() ].
But as soon i define the function [ int getAngle() ] in "Global.h" and build my program i get linker errors saying


"SimulationView.obj : error LNK2005: "int __cdecl GetMap(int,int)" (?GetMap@@YAHHH@Z) already defined in Simulation.obj
...
SimulationView.obj : error LNK2001: unresolved external symbol "int __cdecl getAngle(class MapNode,class MapNode)" (?getAngle@@YAHVMapNode@@0@Z)
Debug/Simulation.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe. "


Can anyone of u guys figure out whts the problem ???

Regards,
JinBaba
AnswerRe: Linker Error ?? Pin
David Crow17-Apr-06 5:11
David Crow17-Apr-06 5:11 
GeneralRe: Linker Error ?? Pin
jinbabaj17-Apr-06 16:08
jinbabaj17-Apr-06 16:08 
GeneralRe: Linker Error ?? Pin
David Crow18-Apr-06 3:11
David Crow18-Apr-06 3:11 
GeneralRe: Linker Error ?? Pin
jinbabaj17-Apr-06 16:15
jinbabaj17-Apr-06 16:15 

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.