Click here to Skip to main content
15,885,032 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionPorting problems from vc to vc.net pls. help Pin
arunperi9-Feb-06 16:52
arunperi9-Feb-06 16:52 
QuestionLnl error 2001 __CXXframehandler Pin
subramanyeswari9-Feb-06 16:48
subramanyeswari9-Feb-06 16:48 
AnswerRe: Lnl error 2001 __CXXframehandler Pin
Ryan Binns9-Feb-06 17:54
Ryan Binns9-Feb-06 17:54 
GeneralRe: Lnl error 2001 __CXXframehandler Pin
subramanyeswari9-Feb-06 18:19
subramanyeswari9-Feb-06 18:19 
GeneralRe: Lnl error 2001 __CXXframehandler Pin
Ryan Binns9-Feb-06 21:32
Ryan Binns9-Feb-06 21:32 
GeneralRe: Lnl error 2001 __CXXframehandler Pin
subramanyeswari9-Feb-06 23:02
subramanyeswari9-Feb-06 23:02 
GeneralRe: Lnl error 2001 __CXXframehandler Pin
subramanyeswari9-Feb-06 23:21
subramanyeswari9-Feb-06 23:21 
GeneralRe: Lnl error 2001 __CXXframehandler Pin
subramanyeswari10-Feb-06 0:04
subramanyeswari10-Feb-06 0:04 
Sorry for disturbing you people again. I took another root. I built my static library and linked with the application. This time no /MDd or /MD flags.

When i am trying to link i am getting the following errors:
Created directory: debug
cl -GX -TP -D_DEBUG -Od -Zi -Fddebug\JsiD.pdb -nologo -c -W3 -DWIN32 -YX -Fpdebug\JsiD.pch -Fodebug/main.obj main.cpp
main.cpp
cl -GX -TP -D_DEBUG -Od -Zi -Fddebug\JsiD.pdb -nologo -c -W3 -DWIN32 -YX -Fpdebug\JsiD.pch -Fodebug/SBjsiCreateResourceTest.obj SBjsiCreateResourceTest.cpp
SBjsiCreateResourceTest.cpp
cl -GX -TP -D_DEBUG -Od -Zi -Fddebug\JsiD.pdb -nologo -c -W3 -DWIN32 -YX -Fpdebug\JsiD.pch -Fodebug/SBjsiDestroyResourceTest.obj SBjsiDestroyResourceTest.cpp
SBjsiDestroyResourceTest.cpp
cl -GX -TP -D_DEBUG -Od -Zi -Fddebug\JsiD.pdb -nologo -c -W3 -DWIN32 -YX -Fpdebug\JsiD.pch -Fodebug/SBjsiInitTest.obj SBjsiInitTest.cpp
SBjsiInitTest.cpp
cl -GX -TP -D_DEBUG -Od -Zi -Fddebug\JsiD.pdb -nologo -c -W3 -DWIN32 -YX -Fpdebug\JsiD.pch -Fodebug/SBjsiShutDownTest.obj SBjsiShutDownTest.cpp
SBjsiShutDownTest.cpp
link -nodefaultlib:libcd.lib -nodefaultlib:msvcrtd.lib -nodefaultlib:msvcrt.lib -nologo -machine:I386 -incremental:no -fixed:no -MAP kernel32.lib user32.lib advapi32.lib UnitTestDriver.lib -out:debug\JsiD.exe -debug -pdb:debug\JsiD.pdb -release -libpath:"d:\openvxi\lib" VXIlogD.lib VXIjsiD.lib UnitTestDriverD.lib xerces-c_2D.lib -libpath:"d:\openvxi/lib" -libpath:"c:\xerces-c-src_2_6_0/lib" -libpath:"d:\openvxi/test/lib" @C:\DOCUME~1\050343\LOCALS~1\Temp\nma01068.
LINK : warning LNK4049: locally defined symbol "_exit" imported
UnitTestDriver.lib(vostring.obj) : error LNK2001: unresolved external symbol __imp__sprintf
UnitTestDriver.lib(success.obj) : error LNK2001: unresolved external symbol __imp__sprintf
UnitTestDriver.lib(failure.obj) : error LNK2001: unresolved external symbol __imp__sprintf
debug\JsiD.exe : fatal error LNK1120: 1 unresolved externals

when i looked for the documentation one article says when you are trying to link with static and also linking with libc.lib you will get the following problems.

So what should i do.

Regards, Eswari
GeneralRe: Lnl error 2001 __CXXframehandler Pin
Ryan Binns10-Feb-06 12:24
Ryan Binns10-Feb-06 12:24 
GeneralRe: Lnl error 2001 __CXXframehandler Pin
subramanyeswari14-Feb-06 2:56
subramanyeswari14-Feb-06 2:56 
QuestionGsrApp.exe caused invalid page fault in module USER.exe Pin
it.guru9-Feb-06 15:39
it.guru9-Feb-06 15:39 
AnswerRe: GsrApp.exe caused invalid page fault in module USER.exe Pin
George L. Jackson9-Feb-06 17:28
George L. Jackson9-Feb-06 17:28 
GeneralRe: GsrApp.exe caused invalid page fault in module USER.exe Pin
it.guru10-Feb-06 5:26
it.guru10-Feb-06 5:26 
QuestionEvent handler for double click in CListCtrl Pin
asdeshmukh9-Feb-06 14:12
asdeshmukh9-Feb-06 14:12 
AnswerRe: Event handler for double click in CListCtrl Pin
EXTEIDE9-Feb-06 14:35
EXTEIDE9-Feb-06 14:35 
AnswerRe: Event handler for double click in CListCtrl Pin
Shog99-Feb-06 14:48
sitebuilderShog99-Feb-06 14:48 
QuestionHow to let VS 6.0 to compile unicode resource file? Pin
transoft9-Feb-06 14:04
transoft9-Feb-06 14:04 
AnswerRe: How to let VS 6.0 to compile unicode resource file? Pin
EXTEIDE9-Feb-06 14:42
EXTEIDE9-Feb-06 14:42 
GeneralRe: How to let VS 6.0 to compile unicode resource file? Pin
transoft10-Feb-06 6:15
transoft10-Feb-06 6:15 
QuestionCode snippets for C++ in VS 8? Pin
gosh9-Feb-06 14:01
gosh9-Feb-06 14:01 
AnswerRe: Code snippets for C++ in VS 8? Pin
S Douglas9-Feb-06 18:43
professionalS Douglas9-Feb-06 18:43 
QuestionReinitializing a strstream Pin
PJ Arends9-Feb-06 13:45
professionalPJ Arends9-Feb-06 13:45 
AnswerRe: Reinitializing a strstream Pin
_anil_9-Feb-06 14:07
_anil_9-Feb-06 14:07 
GeneralRe: Reinitializing a strstream Pin
PJ Arends9-Feb-06 14:20
professionalPJ Arends9-Feb-06 14:20 
GeneralRe: Reinitializing a strstream Pin
_anil_9-Feb-06 14:35
_anil_9-Feb-06 14:35 

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.