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. Is there anyway of looking at the code that initialises a DLL

Is there anyway of looking at the code that initialises a DLL

Scheduled Pinned Locked Moved C / C++ / MFC
c++debugginghelpquestionannouncement
3 Posts 2 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.
  • D Offline
    D Offline
    D_code_writer
    wrote on last edited by
    #1

    Hey Guys, My name is Danny Nowlan and I'm currently working on an app using Visual C++ 6, that loads an SDI application using a DLL. I'm having an intermittant problem in release mode with some WinXP machines where the DLL won't load at all in release mode. It doesn't even get to InitInstance() In the dll. In debug mode it is perfect. The bugger is it only happens on a handful of WinXP machines Is there a way of looking at the source code that loads the dll into my application. That way I can put in some statements etc so when I compile in release I can see what is going on. Thanks guys Danny

    R 1 Reply Last reply
    0
    • D D_code_writer

      Hey Guys, My name is Danny Nowlan and I'm currently working on an app using Visual C++ 6, that loads an SDI application using a DLL. I'm having an intermittant problem in release mode with some WinXP machines where the DLL won't load at all in release mode. It doesn't even get to InitInstance() In the dll. In debug mode it is perfect. The bugger is it only happens on a handful of WinXP machines Is there a way of looking at the source code that loads the dll into my application. That way I can put in some statements etc so when I compile in release I can see what is going on. Thanks guys Danny

      R Offline
      R Offline
      Rage
      wrote on last edited by
      #2

      If that can help you, you could turn debugging on even for your release version (and get something between release and debug which could help you debug the release :rolleyes: ) Check following articles: Surviving the release version[^] Debugging the release mode[^] Hope this helps ~RaGE();

      D 1 Reply Last reply
      0
      • R Rage

        If that can help you, you could turn debugging on even for your release version (and get something between release and debug which could help you debug the release :rolleyes: ) Check following articles: Surviving the release version[^] Debugging the release mode[^] Hope this helps ~RaGE();

        D Offline
        D Offline
        D_code_writer
        wrote on last edited by
        #3

        ~RaGE();, The first article really helped. It discussed compiler optimisations, and the moment I turned it off it worked like a charm. Thank you so much. Danny

        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