Click here to Skip to main content
15,891,951 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: distributing atl71.dll in setup Pin
Jörgen Sigvardsson20-Oct-04 8:43
Jörgen Sigvardsson20-Oct-04 8:43 
GeneralRe: distributing atl71.dll in setup Pin
Michael Dunn20-Oct-04 9:14
sitebuilderMichael Dunn20-Oct-04 9:14 
GeneralRe: distributing atl71.dll in setup Pin
Jörgen Sigvardsson20-Oct-04 12:28
Jörgen Sigvardsson20-Oct-04 12:28 
GeneralRe: distributing atl71.dll in setup Pin
Michael Dunn21-Oct-04 2:32
sitebuilderMichael Dunn21-Oct-04 2:32 
GeneralRe: distributing atl71.dll in setup Pin
Jörgen Sigvardsson20-Oct-04 8:45
Jörgen Sigvardsson20-Oct-04 8:45 
GeneralRe: distributing atl71.dll in setup Pin
UncleRedz20-Oct-04 20:34
UncleRedz20-Oct-04 20:34 
GeneralRe: distributing atl71.dll in setup Pin
Stuart Dootson21-Oct-04 8:47
professionalStuart Dootson21-Oct-04 8:47 
GeneralWTL release build with ATL_MIN_CRT Pin
UncleRedz19-Oct-04 4:36
UncleRedz19-Oct-04 4:36 
Hi,

I'm using WTL7 (also tried WTL71) for a project that has to be kept small, so I'm using ATL_MIN_CRT when doing the release build, this works fine in VC6, no compile or link errors.

But, here's the problem, if I try to upgrade the project to VS.NET2003, the release build will not link properly, giving the following errors:

Linking...
LIBCMT.lib(crt0dat.obj) : error LNK2005: __osplatform already defined in atlmincrt.lib(atlinit.obj)
LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function _mainCRTStartup

I know this is saying that something is causing the compiler/linker to use CRT, which fails due to ATL_MIN_CRT. Skipping ATL_MIN_CRT is not an option.

I have checked the project settings and everything seems to be correctly upgraded from VS6 to VS.NET2003 and the code haven't changed.

What could be the problem? Is it still a matter of trying to track down what function call is pulling in the CRT lib? This is anoying since, well, it worked before.

Any ideas or things to keep in mind when working with WTL and VS.NET2003?

Cheers!

GeneralRe: WTL release build with ATL_MIN_CRT Pin
UncleRedz19-Oct-04 20:45
UncleRedz19-Oct-04 20:45 
GeneralRe: WTL release build with ATL_MIN_CRT Pin
Jörgen Sigvardsson19-Oct-04 22:12
Jörgen Sigvardsson19-Oct-04 22:12 
GeneralRe: WTL release build with ATL_MIN_CRT Pin
UncleRedz20-Oct-04 4:29
UncleRedz20-Oct-04 4:29 
GeneralRe: WTL release build with ATL_MIN_CRT Pin
ThatsAlok21-Oct-04 2:30
ThatsAlok21-Oct-04 2:30 
GeneralHelp creating VB6 com objects from atl service Pin
nalenb18-Oct-04 7:31
nalenb18-Oct-04 7:31 
GeneralRe: Help creating VB6 com objects from atl service Pin
nalenb18-Oct-04 17:24
nalenb18-Oct-04 17:24 
Generaldatabase Pin
Anonymous18-Oct-04 1:11
Anonymous18-Oct-04 1:11 
GeneralRe: database Pin
Nemanja Trifunovic18-Oct-04 6:04
Nemanja Trifunovic18-Oct-04 6:04 
GeneralRe: database Pin
bsunil_18519-Oct-04 0:12
sussbsunil_18519-Oct-04 0:12 
GeneralRe: database Pin
Nemanja Trifunovic19-Oct-04 5:05
Nemanja Trifunovic19-Oct-04 5:05 
GeneralRe: database Pin
Lim Bio Liong18-Oct-04 21:15
Lim Bio Liong18-Oct-04 21:15 
GeneralRe: database Pin
bsunil_18519-Oct-04 0:08
sussbsunil_18519-Oct-04 0:08 
QuestionHow to Craete Event Pin
ThatsAlok16-Oct-04 3:58
ThatsAlok16-Oct-04 3:58 
AnswerRe: How to Craete Event Pin
ThatsAlok29-Oct-04 20:44
ThatsAlok29-Oct-04 20:44 
QuestionHow can we persist Custom Interfaces Pin
qur15-Oct-04 0:43
qur15-Oct-04 0:43 
Generalostream_iterator and pair Pin
Kevin McFarlane13-Oct-04 22:26
Kevin McFarlane13-Oct-04 22:26 
GeneralRe: ostream_iterator and pair Pin
Joaquín M López Muñoz14-Oct-04 2:52
Joaquín M López Muñoz14-Oct-04 2:52 

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.