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. dll question

dll question

Scheduled Pinned Locked Moved C / C++ / MFC
c++questioncsharpdatabasevisual-studio
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.
  • K Offline
    K Offline
    KellyR
    wrote on last edited by
    #1

    Hi, My project is written in C++ using MFC and VC++ .NET 2005. My problem is this: When I run my program on any computer that has .NET 2005, it seems to work fine. However, if I move it over to a computer without any IDE (like a fresh WinXP SP2 install) it crashes whenever I try to call an application-specific dll file. So it's like this, let's say a part of my application uses a dll file called utils.dll. Utils.dll normally is used to start up a "utility" thread which accesses a database that contains various useful information. Normally the application runs fine, however, if I move it to another computer (along with all of the dlls I can think of that it might possibly need) it will crash as soon as I try to call a function from utils.dll (utils.dll IS in the folder with the program where it should be, and I know it's loading because I can still call static functions from it). Any idea of what might be happening? I have all the dlls included that I could think of (mfc80.dll, msvcr80.dll, etc etc) but I feel like maybe I'm missing one somehow and I don't know how to tell what it could be. Sorry if I made this sound overly complicated, but it's a very irritating problem. Thanks!

    KR

    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