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

C / C++ / MFC

 
Generalprivate instance of a public struct Pin
elephantstar15-Oct-04 8:34
elephantstar15-Oct-04 8:34 
GeneralRe: private instance of a public struct Pin
Maximilien15-Oct-04 8:51
Maximilien15-Oct-04 8:51 
GeneralRe: private instance of a public struct Pin
elephantstar15-Oct-04 10:04
elephantstar15-Oct-04 10:04 
GeneralRe: private instance of a public struct Pin
Maximilien15-Oct-04 10:22
Maximilien15-Oct-04 10:22 
GeneralRe: private instance of a public struct Pin
elephantstar15-Oct-04 10:57
elephantstar15-Oct-04 10:57 
GeneralRe: private instance of a public struct Pin
Maximilien15-Oct-04 14:53
Maximilien15-Oct-04 14:53 
GeneralRe: private instance of a public struct Pin
elephantstar19-Oct-04 6:33
elephantstar19-Oct-04 6:33 
GeneralLinking Unicode and non-Unicode DLLs in same .EXE Pin
EurekaJim15-Oct-04 8:31
EurekaJim15-Oct-04 8:31 
I have an exe that has to be compiled in Unicode. It links with several DLLs also compiled in Unicode. I now have to link it with another DLL that I can't compile in Unicode(it's built from 3rd party, ANSI-C source, plus some 3rd-party binaries).
When the exe link runs (msvc7) I get the messages:
LINK : warning LNK4098: defaultlib 'mfc71ud.lib' conflicts with use of other libs; use /NODEFAULTLIB:library

LINK : warning LNK4098: defaultlib 'mfcs71ud.lib' conflicts with use of other libs; use /NODEFAULTLIB:library

uafxcwd.lib(appcore.obj) : error LNK2001: unresolved external symbol ___wargv

uafxcwd.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argc

I turned on the linker switch /verbose/lib, which shows all the libs being searched. I went through the libs and removed all that were not required (i.e., that didn't generate new unresolved externs) and it didn't solve the problem. I still have the same two conflict messages and the two unresolved externs.
I think the problem must be conflicting versions of some run-time library, but I can't figure out which. (I know what argv,argc are)



Jim Scott
GeneralRe: Linking Unicode and non-Unicode DLLs in same .EXE Pin
Blake Miller15-Oct-04 9:30
Blake Miller15-Oct-04 9:30 
GeneralRe: Linking Unicode and non-Unicode DLLs in same .EXE Pin
EurekaJim15-Oct-04 9:50
EurekaJim15-Oct-04 9:50 
GeneralRe: Linking Unicode and non-Unicode DLLs in same .EXE Pin
Blake Miller15-Oct-04 9:59
Blake Miller15-Oct-04 9:59 
GeneralSafer Timer Thread termination Pin
15-Oct-04 8:26
suss15-Oct-04 8:26 
GeneralRe: Safer Timer Thread termination Pin
Doug Mitchell15-Oct-04 9:05
Doug Mitchell15-Oct-04 9:05 
GeneralRe: Safer Timer Thread termination Pin
Blake Miller15-Oct-04 9:38
Blake Miller15-Oct-04 9:38 
Generalconversion operator not being called for both objects Pin
lino_i15-Oct-04 6:53
lino_i15-Oct-04 6:53 
GeneralRe: conversion operator not being called for both objects Pin
David Crow15-Oct-04 8:09
David Crow15-Oct-04 8:09 
GeneralRe: conversion operator not being called for both objects Pin
lino_i15-Oct-04 8:37
lino_i15-Oct-04 8:37 
GeneralRe: conversion operator not being called for both objects Pin
David Crow15-Oct-04 9:03
David Crow15-Oct-04 9:03 
GeneralRe: conversion operator not being called for both objects Pin
lino_i15-Oct-04 9:25
lino_i15-Oct-04 9:25 
GeneralRe: conversion operator not being called for both objects Pin
David Crow15-Oct-04 9:46
David Crow15-Oct-04 9:46 
GeneralRe: conversion operator not being called for both objects Pin
lino_i15-Oct-04 9:50
lino_i15-Oct-04 9:50 
GeneralRe: conversion operator not being called for both objects Pin
David Crow15-Oct-04 9:59
David Crow15-Oct-04 9:59 
GeneralSkinned dialogs Pin
mtzlplyk15-Oct-04 6:14
mtzlplyk15-Oct-04 6:14 
Generalanalyzing the return value Pin
lino_i15-Oct-04 5:56
lino_i15-Oct-04 5:56 
GeneralRe: analyzing the return value Pin
mtzlplyk15-Oct-04 6:11
mtzlplyk15-Oct-04 6:11 

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.