Click here to Skip to main content
15,905,915 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Debugging a release build Pin
jhwurmbach30-Aug-07 2:20
jhwurmbach30-Aug-07 2:20 
GeneralRe: Debugging a release build Pin
Cyrilix30-Aug-07 20:01
Cyrilix30-Aug-07 20:01 
GeneralRe: Debugging a release build Pin
Waldermort30-Aug-07 20:07
Waldermort30-Aug-07 20:07 
QuestionFileSystemWatcher in C++ - how to stop? Pin
dkwo30-Aug-07 0:05
dkwo30-Aug-07 0:05 
AnswerRe: FileSystemWatcher in C++ - how to stop? Pin
Waldermort30-Aug-07 0:19
Waldermort30-Aug-07 0:19 
GeneralRe: FileSystemWatcher in C++ - how to stop? [modified] Pin
dkwo30-Aug-07 0:25
dkwo30-Aug-07 0:25 
QuestionActive Directory Service Intertface ADsGetObject fails with 80004002 Pin
Killer329-Aug-07 23:45
Killer329-Aug-07 23:45 
QuestionVC6 to VS.NET 2002 Port Errors Pin
Jason Teagle29-Aug-07 23:40
Jason Teagle29-Aug-07 23:40 
I'm trying to port a project (workspace / solution) from VC6 to .NET 2002.

The workspace consists of a DLL front-end, a DLL back-end, and a static library of utilities. They depend on each other in the order listed.

In Release and Debug under VC6, they compile (rebuild all) with no problems whatsoever.

When I import the projects into a new workspace in VS7 and rebuild all, I get a big wodge of linker errors like this:

yyy error LNK2005: "public: __thiscall CPoint::CPoint(int,int)" (??0CPoint@@QAE@HH@Z) already defined in xxx.lib(xxx.obj)

where xxx is the static library back-end.

I used Project Dependencies to instruct VS7 as to which project depended on which; if I do not, I get linker errors regarding classes in the static lib needed by the middle layer (I haven't even got to the front end).

Both static lib and DLL are multi-threaded.

Curiously, it's MFC simple classes like CRect, CSize, CPoint and their member functions that are involved; none of our classes or methods.

Any ideas on how to resolve this, and why it changed between Visual Studio versions?

AnswerRe: VC6 to VS.NET 2002 Port Errors Pin
KarstenK30-Aug-07 0:43
mveKarstenK30-Aug-07 0:43 
GeneralRe: VC6 to VS.NET 2002 Port Errors Pin
Jason Teagle30-Aug-07 10:09
Jason Teagle30-Aug-07 10:09 
GeneralRe: VC6 to VS.NET 2002 Port Errors Pin
KarstenK30-Aug-07 20:18
mveKarstenK30-Aug-07 20:18 
QuestionGetting some error while using make file... Pin
Yashusid29-Aug-07 23:07
Yashusid29-Aug-07 23:07 
AnswerRe: Getting some error while using make file... Pin
Roger Broomfield29-Aug-07 23:44
Roger Broomfield29-Aug-07 23:44 
GeneralRe: Getting some error while using make file... Pin
Yashusid29-Aug-07 23:54
Yashusid29-Aug-07 23:54 
QuestionOpenGL, GLSL, C++, DLL, Delphi , f...ing mix Pin
Delfistyaosani29-Aug-07 23:05
Delfistyaosani29-Aug-07 23:05 
Questiondouble and long-double Pin
includeh1029-Aug-07 22:18
includeh1029-Aug-07 22:18 
AnswerRe: double and long-double Pin
toxcct29-Aug-07 22:26
toxcct29-Aug-07 22:26 
AnswerRe: double and long-double Pin
jhwurmbach29-Aug-07 23:11
jhwurmbach29-Aug-07 23:11 
AnswerRe: double and long-double Pin
Russell'30-Aug-07 0:07
Russell'30-Aug-07 0:07 
QuestionRe: double and long-double Pin
David Crow30-Aug-07 3:29
David Crow30-Aug-07 3:29 
Questionconst member variable issue Pin
Neo Andreson29-Aug-07 21:52
Neo Andreson29-Aug-07 21:52 
AnswerRe: const member variable issue Pin
Naveen29-Aug-07 21:56
Naveen29-Aug-07 21:56 
GeneralRe: const member variable issue Pin
Neo Andreson29-Aug-07 23:07
Neo Andreson29-Aug-07 23:07 
AnswerRe: const member variable issue Pin
toxcct29-Aug-07 21:57
toxcct29-Aug-07 21:57 
AnswerRe: const member variable issue Pin
Nibu babu thomas29-Aug-07 22:58
Nibu babu thomas29-Aug-07 22:58 

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.