Click here to Skip to main content
15,917,059 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to terminate a thread compulsively? Pin
zouchao111227-Jun-06 2:49
zouchao111227-Jun-06 2:49 
AnswerRe: How to terminate a thread compulsively? Pin
_AnsHUMAN_ 27-Jun-06 2:58
_AnsHUMAN_ 27-Jun-06 2:58 
AnswerRe: How to terminate a thread compulsively? Pin
Rage27-Jun-06 3:27
professionalRage27-Jun-06 3:27 
AnswerRe: How to terminate a thread compulsively? Pin
David Crow27-Jun-06 3:38
David Crow27-Jun-06 3:38 
AnswerRe: How to terminate a thread compulsively? [modified] Pin
Joe Woodbury27-Jun-06 6:23
professionalJoe Woodbury27-Jun-06 6:23 
AnswerRe: How to terminate a thread compulsively? Pin
mikeorama1234527-Jun-06 6:47
mikeorama1234527-Jun-06 6:47 
Questionwin32 static library Pin
sach!!27-Jun-06 2:36
sach!!27-Jun-06 2:36 
AnswerRe: win32 static library Pin
David Crow27-Jun-06 3:42
David Crow27-Jun-06 3:42 
AnswerRe: win32 static library Pin
Michael Dunn27-Jun-06 6:44
sitebuilderMichael Dunn27-Jun-06 6:44 
GeneralRe: win32 static library Pin
sach!!27-Jun-06 19:01
sach!!27-Jun-06 19:01 
GeneralRe: win32 static library Pin
Rilhas9-Jul-06 6:53
Rilhas9-Jul-06 6:53 
GeneralRe: win32 static library Pin
sach!!9-Jul-06 20:40
sach!!9-Jul-06 20:40 
QuestionPlz Help Processes Pin
Programm3r27-Jun-06 1:51
Programm3r27-Jun-06 1:51 
AnswerRe: Plz Help Processes Pin
James R. Twine27-Jun-06 1:54
James R. Twine27-Jun-06 1:54 
AnswerRe: Plz Help Processes Pin
Hamid_RT27-Jun-06 2:05
Hamid_RT27-Jun-06 2:05 
QuestionAdding a SDI into a dialog based application Pin
cv_k3n27-Jun-06 1:49
cv_k3n27-Jun-06 1:49 
AnswerRe: Adding a SDI into a dialog based application Pin
FarPointer27-Jun-06 1:54
FarPointer27-Jun-06 1:54 
AnswerRe: Adding a SDI into a dialog based application Pin
zouchao111227-Jun-06 2:46
zouchao111227-Jun-06 2:46 
GeneralRe: Adding a SDI into a dialog based application Pin
cv_k3n27-Jun-06 6:43
cv_k3n27-Jun-06 6:43 
GeneralRe: Adding a SDI into a dialog based application Pin
zouchao111228-Jun-06 17:50
zouchao111228-Jun-06 17:50 
Questionis quastion3D model Pin
obituary2u27-Jun-06 1:40
obituary2u27-Jun-06 1:40 
AnswerRe: is quastion3D model [modified] Pin
FarPointer27-Jun-06 1:44
FarPointer27-Jun-06 1:44 
GeneralRe: is quastion3D model Pin
obituary2u27-Jun-06 13:07
obituary2u27-Jun-06 13:07 
Questionusing VC6 link VC7 static lib error [modified] Pin
George_George27-Jun-06 1:32
George_George27-Jun-06 1:32 
Hello everyone,


I use VC 7 (Visual Studio.Net 2003) created a static lib, then I use VC6 to link with it in an application, there are some errors during link. Here is the source file of the lib,

<br />
int foo()<br />
{<br />
	return 2008;<br />
}<br />


Here is the header of the lib file,

<br />
int foo();<br />


Here is the application using the static lib,

<br />
#include "foo.h"<br />
<br />
int main()<br />
{<br />
	int a = foo();<br />
<br />
	return 0;<br />
}<br />


When building the lib using VC7, there are no errors and the static lib is generated. When building the application and link it with the static lib, there are errors,

<br />
--------------------Configuration: VC6VC7lib - Win32 Debug--------------------<br />
Linking...<br />
VC7_static_lib.lib(foo.obj) : fatal error LNK1190: invalid fixup found, type 0x000C<br />
Error executing link.exe.<br />
<br />
VC6VC7lib.exe - 1 error(s), 0 warning(s)<br />


I can not find any useful information from MSDN. Could anyone help please -- how to use VC6 link a static library generated by VC7?


thanks in advance,
George

-- modified at 7:33 Tuesday 27th June, 2006
QuestionRe: using VC6 link VC7 static lib error Pin
Viorel.27-Jun-06 1:36
Viorel.27-Jun-06 1:36 

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.