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. How to create a localised MFC resources DLL?

How to create a localised MFC resources DLL?

Scheduled Pinned Locked Moved C / C++ / MFC
c++helptutorialquestion
4 Posts 3 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.
  • K Offline
    K Offline
    Kri5
    wrote on last edited by
    #1

    Anyone knows how to create a separate MFC resources dll using VS6? I tried using the Dynamic DLL AppWizard to create an empty dll project, added a dialog and saved it into a new .rc file, and added this new .rc file to the project; but when i tried to compile it showed me a link error LNK2001: unresolved external symbol __DllMainCRTStartup@12. I think it's expecting the usual DLLMain functions, but i want to avoid that. Any ideas anyone?

    K 1 Reply Last reply
    0
    • K Kri5

      Anyone knows how to create a separate MFC resources dll using VS6? I tried using the Dynamic DLL AppWizard to create an empty dll project, added a dialog and saved it into a new .rc file, and added this new .rc file to the project; but when i tried to compile it showed me a link error LNK2001: unresolved external symbol __DllMainCRTStartup@12. I think it's expecting the usual DLLMain functions, but i want to avoid that. Any ideas anyone?

      K Offline
      K Offline
      Kri5
      wrote on last edited by
      #2

      Ok i found out my mistake - i left out the /noentry link option to prevent the linker referring to the DLLMain function.

      B P 2 Replies Last reply
      0
      • K Kri5

        Ok i found out my mistake - i left out the /noentry link option to prevent the linker referring to the DLLMain function.

        B Offline
        B Offline
        Blake V Miller
        wrote on last edited by
        #3

        I also think on occasion these types of files are given the extension .RLL so that they are not summarily loaded by other programs. Just a thought if you have any say in the matter.

        1 Reply Last reply
        0
        • K Kri5

          Ok i found out my mistake - i left out the /noentry link option to prevent the linker referring to the DLLMain function.

          P Offline
          P Offline
          ParagPatel
          wrote on last edited by
          #4

          Hi, I am going through same issue. I have used /noentry link option but still issue is there. Platform: eVC++ 4.2 SDK: pocket pc 2003 Any idea? Thanks in advance

          Parag Patel Sr. Software Eng, Varaha Systems

          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