Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
K

Kurnia Kosasi

@Kurnia Kosasi
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to make Win32 dll depend on mfc dll?
    K Kurnia Kosasi

    Actually the NonMFCDll uses preprocessor _USRDLL. Removal of this and adding of _AFXDLL solved the problem. Thank you all.

    C / C++ / MFC help c++ tutorial question

  • How to make Win32 dll depend on mfc dll?
    K Kurnia Kosasi

    We have a situation where a non mfc dll must depend on mfc dll. When trying to compile, we got an error saying that Windows.h is already included. When the _WINDOWS_ definition was undeffed, the compile error was gone, however it shows bunch of link errors. Do you have any idea how to fix this? Thanks a lot!! NonMFCDll error LNK2001: unresolved external symbol ___argc NonMFCDll error LNK2001: unresolved external symbol ___argv NonMFCDll error LNK2001: unresolved external symbol __mbctype NonMFCDll error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in msvcprt.lib(newop_s.obj) NonMFCDll error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in MSVCRT.lib(MSVCR71.dll) NonMFCDll error LNK2005: "void __cdecl operator delete[](void *)" (??_V@YAXPAX@Z) already defined in MSVCRT.lib(MSVCR71.dll) NonMFCDll error LNK2005: _DllMain@12 already defined in MSVCRT.lib(dllmain.obj) NonMFCDll error LNK2019: unresolved external symbol __mbctype referenced in function "void __stdcall _AfxAbbreviateName(char *,int,int)" (?_AfxAbbreviateName@@YGXPADHH@Z) NonMFCDll fatal error LNK1120: 3 unresolved externals Kurnia

    C / C++ / MFC help c++ tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups