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. WIN Server 2003

WIN Server 2003

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++sysadminalgorithms
8 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.
  • Z Offline
    Z Offline
    zinc_z
    wrote on last edited by
    #1

    Hi Guys , I hav posted this earlier too but did't get any solution . I hav to instal my VC++ application on MS Server 2003 , I copied all the dlls manually (with help of Depends Tool), but my application did't ran. Then after searching from every where I just installed MS Visual C++ 6. on that machine and it solved my problem . Now uninstalling MS Visual C++ again cause my application not to run. I get a RunTime error without any details. I think problem is that I have to register some dlls or need to copy some dll that DEPENDS Tool is not showing ! Any suggestions of Tips plzzzzzzzzzzzzzzz ! Regards, ZINC

    D 1 Reply Last reply
    0
    • Z zinc_z

      Hi Guys , I hav posted this earlier too but did't get any solution . I hav to instal my VC++ application on MS Server 2003 , I copied all the dlls manually (with help of Depends Tool), but my application did't ran. Then after searching from every where I just installed MS Visual C++ 6. on that machine and it solved my problem . Now uninstalling MS Visual C++ again cause my application not to run. I get a RunTime error without any details. I think problem is that I have to register some dlls or need to copy some dll that DEPENDS Tool is not showing ! Any suggestions of Tips plzzzzzzzzzzzzzzz ! Regards, ZINC

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Does your application do any explicit linking?


      "The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb

      Z 1 Reply Last reply
      0
      • D David Crow

        Does your application do any explicit linking?


        "The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb

        Z Offline
        Z Offline
        zinc_z
        wrote on last edited by
        #3

        Hi , What do u mean by explicit linking ? I am using standard MFC libraries . And using SQL Server with CRecordset and CDatabase clases. I will be really grateful if anyone could help me out here. Thanks in advance ZINC

        D 1 Reply Last reply
        0
        • Z zinc_z

          Hi , What do u mean by explicit linking ? I am using standard MFC libraries . And using SQL Server with CRecordset and CDatabase clases. I will be really grateful if anyone could help me out here. Thanks in advance ZINC

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          zinc_z wrote:

          What do u mean by explicit linking ?

          As opposed to implicit linking. Implicit linking: static load or load-time dynamic linking. Explicit linking: dynamic load or run-time dynamic linking (e.g., LoadLibrary()).


          "The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb

          Z 1 Reply Last reply
          0
          • D David Crow

            zinc_z wrote:

            What do u mean by explicit linking ?

            As opposed to implicit linking. Implicit linking: static load or load-time dynamic linking. Explicit linking: dynamic load or run-time dynamic linking (e.g., LoadLibrary()).


            "The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb

            Z Offline
            Z Offline
            zinc_z
            wrote on last edited by
            #5

            Hi , No I m not using any explicit linking . I read somewhere on web that If you select "USE MFC IN STATIC Library" option in Project Settings menue , you dont need to copy dlls explicitly but i have tried this one too buts its not working also. I will really appreciate if you could provide me any alternative solution . Regards, ZINC

            D 1 Reply Last reply
            0
            • Z zinc_z

              Hi , No I m not using any explicit linking . I read somewhere on web that If you select "USE MFC IN STATIC Library" option in Project Settings menue , you dont need to copy dlls explicitly but i have tried this one too buts its not working also. I will really appreciate if you could provide me any alternative solution . Regards, ZINC

              D Offline
              D Offline
              David Crow
              wrote on last edited by
              #6

              zinc_z wrote:

              I read somewhere on web that If you select "USE MFC IN STATIC Library" option in Project Settings menue , you dont need to copy dlls...

              True, because all of the code has been mashed into the single .exe file. Is your application compiled in Debug or Release mode?


              "The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb

              Z 1 Reply Last reply
              0
              • D David Crow

                zinc_z wrote:

                I read somewhere on web that If you select "USE MFC IN STATIC Library" option in Project Settings menue , you dont need to copy dlls...

                True, because all of the code has been mashed into the single .exe file. Is your application compiled in Debug or Release mode?


                "The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb

                Z Offline
                Z Offline
                zinc_z
                wrote on last edited by
                #7

                My Code is in Release mode , there is no external dependcies , Its a multithreaded socket based database application. Now is there any way that I could run it on MS Server 2003 without installing MS VIsual C++6. I have already tried by copying all Dlls(with help of Dependency Walker ), and also by setting option 'MFC IN Static Library', and by running REDIST package of microsoft and also by making project through InstalShield . Any other solution ?????? ZINC

                D 1 Reply Last reply
                0
                • Z zinc_z

                  My Code is in Release mode , there is no external dependcies , Its a multithreaded socket based database application. Now is there any way that I could run it on MS Server 2003 without installing MS VIsual C++6. I have already tried by copying all Dlls(with help of Dependency Walker ), and also by setting option 'MFC IN Static Library', and by running REDIST package of microsoft and also by making project through InstalShield . Any other solution ?????? ZINC

                  D Offline
                  D Offline
                  David Crow
                  wrote on last edited by
                  #8

                  With your application running, you need to make a note of each of the DLLs that have been loaded into its address space. Use Process Explorer for this.


                  "The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb

                  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