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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. how to change dll !!!!!

how to change dll !!!!!

Scheduled Pinned Locked Moved C / C++ / MFC
questionhelptutorial
6 Posts 4 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.
  • M Offline
    M Offline
    maxyi
    wrote on last edited by
    #1

    Hello Friends, I have a very intresting question . The problem is that i have written an application(.exe) it uses a .dll file i.e few functionality are provided in the dll file . as the file is used it is loaded dynamically now the problem is that i want to change this dll without unloading the application is this possible??? i have done some changes in the dll so without unloading the application can i unload the dll and again reload it. but as the dll is loaded it is not replaced by the new dll in that folder . can any one suggest me a option for it???? Tryout are also welcome.Please suggest some technique to do this

    R C 2 Replies Last reply
    0
    • M maxyi

      Hello Friends, I have a very intresting question . The problem is that i have written an application(.exe) it uses a .dll file i.e few functionality are provided in the dll file . as the file is used it is loaded dynamically now the problem is that i want to change this dll without unloading the application is this possible??? i have done some changes in the dll so without unloading the application can i unload the dll and again reload it. but as the dll is loaded it is not replaced by the new dll in that folder . can any one suggest me a option for it???? Tryout are also welcome.Please suggest some technique to do this

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

      I think you can use the lib file,not using the loadlibrary. I used the lib file,and it is very convevient to chang the dll file. I am I,Who is who,I am who,Who am I

      M 1 Reply Last reply
      0
      • R roboo

        I think you can use the lib file,not using the loadlibrary. I used the lib file,and it is very convevient to chang the dll file. I am I,Who is who,I am who,Who am I

        M Offline
        M Offline
        maxyi
        wrote on last edited by
        #3

        can u just tell me any thing more about this??? ;)

        1 Reply Last reply
        0
        • M maxyi

          Hello Friends, I have a very intresting question . The problem is that i have written an application(.exe) it uses a .dll file i.e few functionality are provided in the dll file . as the file is used it is loaded dynamically now the problem is that i want to change this dll without unloading the application is this possible??? i have done some changes in the dll so without unloading the application can i unload the dll and again reload it. but as the dll is loaded it is not replaced by the new dll in that folder . can any one suggest me a option for it???? Tryout are also welcome.Please suggest some technique to do this

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          1. Please don't ask the same question day after day, let alone twice in the space of a moment. 2. We established yesterday that even if your app unloads the dll, it may still have a lock on it. In that case, I thought we established that it's unlikely you can get the OS to let you replace the file. 3. It seems odd to me that you wrote an app and you can't stop it for 5 seconds. Are you sure you're not trying to write a virus that replaces gina.dll or something ? Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002 Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002 During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002

          M 1 Reply Last reply
          0
          • C Christian Graus

            1. Please don't ask the same question day after day, let alone twice in the space of a moment. 2. We established yesterday that even if your app unloads the dll, it may still have a lock on it. In that case, I thought we established that it's unlikely you can get the OS to let you replace the file. 3. It seems odd to me that you wrote an app and you can't stop it for 5 seconds. Are you sure you're not trying to write a virus that replaces gina.dll or something ? Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002 Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002 During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002

            M Offline
            M Offline
            maxyi
            wrote on last edited by
            #5

            hey come why are u so angry??? when i came today i saw alot of queries and mine was far back . i thought i might have been missed by some persone who knows something more like u did. so i just posted the query today. and by mistake due to the net connection i have posted it twice. any way i think u should cool down this query being really important for me i was willing the solution from u and thought that u might not check it as today is new day and there was no reply from u when i have wrtten a reply over there so i just thought that u might have missed it so i just mailed u . if u dont like these mails why do u visit such site???else give the mail id which u dont like. else u should promptly reply that u dont know the further part. any way dont worry. i wont mail u any more

            S 1 Reply Last reply
            0
            • M maxyi

              hey come why are u so angry??? when i came today i saw alot of queries and mine was far back . i thought i might have been missed by some persone who knows something more like u did. so i just posted the query today. and by mistake due to the net connection i have posted it twice. any way i think u should cool down this query being really important for me i was willing the solution from u and thought that u might not check it as today is new day and there was no reply from u when i have wrtten a reply over there so i just thought that u might have missed it so i just mailed u . if u dont like these mails why do u visit such site???else give the mail id which u dont like. else u should promptly reply that u dont know the further part. any way dont worry. i wont mail u any more

              S Offline
              S Offline
              Stephane Rodriguez
              wrote on last edited by
              #6

              maxyi wrote: hey come why are u so angry??? He's quite polite, you instead are a stupid fuck. maxyi wrote: and by mistake due to the net connection i have posted it twice. You have a [delete] button, thus no excuse. maxyi wrote: any way i think u should cool down this query being really important for me i If that's amazingly important, why don't you suggest money in return ? maxyi wrote: from u and thought that u might not check it as today is new day and there was no reply from u when i have wrtten a reply over there so i just thought that u might have missed it so i just mailed u . Oh Oh... Infinite loops. maxyi wrote: if u dont like these mails why do u visit such site??? Now you are ordering people not to visit CodeProject.:confused: What is your background to boast and come with such strong ideas ? maxyi wrote: else u should promptly reply that u dont know the further part. If that wasn't for people like Christian spending a few hours each day to answer freely people and share his best knowledge of computer programming, you moron wouldn't even be able to log on Codeproject, because there wouldn't be Codeproject at all without these guys.


              Back to real work : D-22.

              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