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. Visual Studio
  4. Stand alone DLL?

Stand alone DLL?

Scheduled Pinned Locked Moved Visual Studio
questionc++sysadminhelptutorial
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.
  • T Offline
    T Offline
    Tony Pottier
    wrote on last edited by
    #1

    I made a C++ dll containing a hook but my users are reporting a problem with it "the application has failed to start because its side-by-side configuration is incorrect" and from googling this, it seems my users need to have the VC++ redistributable files for my dll to work. How can I make the dll standalone? If I set "Use MFC in a static library" (I read this is the miracle setting), the linker bitches about not finding "__imp__SetWindowsHookExA@16" and a lot of others. How to configure VC++ in order for this to work? Also, this is a hook mapped to every processes. If the dll becomes static, it's going to be fairly large and it's probably not good. How do I know what VC++ redistributable dll I need to distribute with my program? (No I don't want to use the MS deployment MSI crap, I'm distributing my program with a NSIS installer). Thanks!

    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