Click here to Skip to main content
15,914,419 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Making MFC go fullscreen Pin
18-Dec-01 9:48
suss18-Dec-01 9:48 
QuestionHow to capture IE Event in WTL.... Pin
Huu Quynh18-Dec-01 3:44
Huu Quynh18-Dec-01 3:44 
GeneralExplain EnumChildWindows(...) Pin
Rickard Andersson2018-Dec-01 2:45
Rickard Andersson2018-Dec-01 2:45 
GeneralRe: Explain EnumChildWindows(...) Pin
Bill Wilson18-Dec-01 6:21
Bill Wilson18-Dec-01 6:21 
GeneralA Drawing Problem. Please HELP ! ! ! Pin
The_Server18-Dec-01 2:44
The_Server18-Dec-01 2:44 
GeneralRe: A Drawing Problem. Please HELP ! ! ! Pin
Joaquín M López Muñoz18-Dec-01 2:50
Joaquín M López Muñoz18-Dec-01 2:50 
GeneralRe: A Drawing Problem. Please HELP ! ! ! Pin
The_Server18-Dec-01 3:21
The_Server18-Dec-01 3:21 
GeneralDLL Linkage Problem Pin
James Spibey18-Dec-01 1:15
James Spibey18-Dec-01 1:15 
Hi,

I have a MFC based DLL which I have been trying to convert to plain Win32. I have created a new WIN32 DLL project, added in my files, substituted the MFC classes for Win32 versions and rebuilt the DLL.

Alas, link errors.
Linking...
nafxcwd.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in MyDll.obj
nafxcwd.lib(dllmodul.obj) : warning LNK4006: _DllMain@12 already defined in MyDll.obj; second definition ignored
   Creating library Debug/MyDll.lib and object Debug/MyDll.exp
nafxcwd.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argv
nafxcwd.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argc
nafxcwd.lib(timecore.obj) : error LNK2001: unresolved external symbol __mbctype
nafxcwd.lib(filelist.obj) : error LNK2001: unresolved external symbol __mbctype
nafxcwd.lib(apphelp.obj) : error LNK2001: unresolved external symbol __mbctype
c:\progra~1\winamp\plugins\MyDll.dll : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.


I found the following knowledge base article which should fix it but it doesn't.

Anyone else help?

James Spibey

I love the word naked, it's brilliant isn't it, 'naked'. When I was a kid I used to write the word naked on a bit of paper hundreds of times and rub my face in it - Jeff, Coupling, BBC2
GeneralRe: DLL Linkage Problem Pin
Joaquín M López Muñoz18-Dec-01 2:43
Joaquín M López Muñoz18-Dec-01 2:43 
GeneralRe: DLL Linkage Problem Pin
James Spibey18-Dec-01 3:20
James Spibey18-Dec-01 3:20 
GeneralChange of BackGround Color Pin
San18-Dec-01 1:05
San18-Dec-01 1:05 
GeneralRe: Change of BackGround Color Pin
Rickard Andersson2018-Dec-01 1:53
Rickard Andersson2018-Dec-01 1:53 
GeneralCLSID from interface Pin
Ryszard Krakowiak18-Dec-01 1:01
Ryszard Krakowiak18-Dec-01 1:01 
GeneralRe: CLSID from interface Pin
Ryszard Krakowiak18-Dec-01 1:42
Ryszard Krakowiak18-Dec-01 1:42 
GeneralRe: CLSID from interface Pin
Tim Smith18-Dec-01 2:01
Tim Smith18-Dec-01 2:01 
GeneralPalm OS newcomer... Pin
Braulio Dez17-Dec-01 23:06
Braulio Dez17-Dec-01 23:06 
GeneralRe: Palm OS newcomer... Pin
Nish Nishant17-Dec-01 23:46
sitebuilderNish Nishant17-Dec-01 23:46 
GeneralRe: Palm OS newcomer... Pin
Braulio Dez18-Dec-01 0:27
Braulio Dez18-Dec-01 0:27 
GeneralRe: Palm OS newcomer... Pin
Nish Nishant18-Dec-01 0:33
sitebuilderNish Nishant18-Dec-01 0:33 
GeneralRe: Palm OS newcomer... Pin
Braulio Dez18-Dec-01 0:40
Braulio Dez18-Dec-01 0:40 
GeneralRe: Palm OS newcomer... Pin
Braulio Dez18-Dec-01 2:49
Braulio Dez18-Dec-01 2:49 
GeneralRe: Palm OS newcomer... Pin
Nish Nishant18-Dec-01 16:05
sitebuilderNish Nishant18-Dec-01 16:05 
GeneralRe: Palm OS newcomer... Pin
markkuk17-Dec-01 23:48
markkuk17-Dec-01 23:48 
GeneralRe: Palm OS newcomer... Pin
Braulio Dez18-Dec-01 0:27
Braulio Dez18-Dec-01 0:27 
Generalodbc drivers under XP Pin
17-Dec-01 22:17
suss17-Dec-01 22:17 

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.