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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. _AFX_MAIL_STATE with dynamicly linked MFC dll

_AFX_MAIL_STATE with dynamicly linked MFC dll

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++questionannouncement
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lynchspawn
    wrote on last edited by
    #1

    When I use my application statically linked to MFC, this is no problem. Since I'm trying to use localized resources (multiple languages), I need to dynamically link MFC. When I make this one change, the program no longer links. I get the following: xxxx.obj : error LNK2001: unresolved external symbol "class CProcessLocal _afxMailState" (?_afxMailState@@3V?$CProcessLocal@V_AFX_MAIL_STATE@@@@A) Release/xxxx.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. Is there some way around this? For those who aren't familiar with what this is for - it's the code you often see on the web for sending email from within an application. It uses MAPI to accomplish this (at least that's my understanding). I've tried many searches but I only get code samples for sending email. Nothing on this linker issue. Thanks for any help you may be able to provide. -- modified at 9:44 Friday 18th November, 2005

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

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