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. Delphi
  4. Delphi 2007 not compiling runtimes into exe

Delphi 2007 not compiling runtimes into exe

Scheduled Pinned Locked Moved Delphi
delphiwindows-adminhardwarehelpquestion
7 Posts 3 Posters 9 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.
  • J Offline
    J Offline
    JerryMallett
    wrote on last edited by
    #1

    Hi Guys, I've not had this problem before but since I re-installed the OS on both my laptop and desktop I've been unable to compile properly. My laptop is running 32bit XP Pro and my desktop Win7 Pro. Delphi has been set up on both after a clean install of both OS's. I have used the default installation for Delphi 2007 on both systems and the same components have been installed on both. Everything seems to compile ok and I have the "Build with runtime packages" ticked and have tried it unticked as well. When I try to run my app on other PC's it keeps looking for various BPL files. it starts by looking for rtl100.bpl but when I move that into the systems path then it looks for another bpl and another etc.. They are supposed to be embedded into the app but no matter what I do it just won't happen. Has anyone else experienced this? Could it be a registry problem?

    Jerbear! A Delphi Dabbler!

    N S 2 Replies Last reply
    0
    • J JerryMallett

      Hi Guys, I've not had this problem before but since I re-installed the OS on both my laptop and desktop I've been unable to compile properly. My laptop is running 32bit XP Pro and my desktop Win7 Pro. Delphi has been set up on both after a clean install of both OS's. I have used the default installation for Delphi 2007 on both systems and the same components have been installed on both. Everything seems to compile ok and I have the "Build with runtime packages" ticked and have tried it unticked as well. When I try to run my app on other PC's it keeps looking for various BPL files. it starts by looking for rtl100.bpl but when I move that into the systems path then it looks for another bpl and another etc.. They are supposed to be embedded into the app but no matter what I do it just won't happen. Has anyone else experienced this? Could it be a registry problem?

      Jerbear! A Delphi Dabbler!

      N Offline
      N Offline
      nortee
      wrote on last edited by
      #2

      If you are building the project on your Win7 box, make sure that you are running Delphi as administrator. I had issues before with the security features in Win7 that gave me endless hassles until I did that. Hope that helps m8

      Cheers, Glen Vlotman "You cannot code for stupidity"

      J 1 Reply Last reply
      0
      • N nortee

        If you are building the project on your Win7 box, make sure that you are running Delphi as administrator. I had issues before with the security features in Win7 that gave me endless hassles until I did that. Hope that helps m8

        Cheers, Glen Vlotman "You cannot code for stupidity"

        J Offline
        J Offline
        JerryMallett
        wrote on last edited by
        #3

        Thanks for replying Glen. I'll give that a try but somehow I don't think that's the problem. I have exactly the same setup on my XP Pro laptop and it's giving the same problem.

        1 Reply Last reply
        0
        • J JerryMallett

          Hi Guys, I've not had this problem before but since I re-installed the OS on both my laptop and desktop I've been unable to compile properly. My laptop is running 32bit XP Pro and my desktop Win7 Pro. Delphi has been set up on both after a clean install of both OS's. I have used the default installation for Delphi 2007 on both systems and the same components have been installed on both. Everything seems to compile ok and I have the "Build with runtime packages" ticked and have tried it unticked as well. When I try to run my app on other PC's it keeps looking for various BPL files. it starts by looking for rtl100.bpl but when I move that into the systems path then it looks for another bpl and another etc.. They are supposed to be embedded into the app but no matter what I do it just won't happen. Has anyone else experienced this? Could it be a registry problem?

          Jerbear! A Delphi Dabbler!

          S Offline
          S Offline
          smags13
          wrote on last edited by
          #4

          I use Delphi 2009 and never have this kind of issue. But yeah, with "Build with runtime packages" unchecked, Delphi should have embedded all needed packages into you app, and there is no dynamic link required. Did you try creating a simple Form Application where there is only a plain Form, with "Build with runtime package" unchecked? (it worth trying even though, as you mentioned, it seems to compile OK with your codes) By the way, do you use customized BPLs or purchased BPLs inside the codes?

          J 1 Reply Last reply
          0
          • S smags13

            I use Delphi 2009 and never have this kind of issue. But yeah, with "Build with runtime packages" unchecked, Delphi should have embedded all needed packages into you app, and there is no dynamic link required. Did you try creating a simple Form Application where there is only a plain Form, with "Build with runtime package" unchecked? (it worth trying even though, as you mentioned, it seems to compile OK with your codes) By the way, do you use customized BPLs or purchased BPLs inside the codes?

            J Offline
            J Offline
            JerryMallett
            wrote on last edited by
            #5

            Hi Smags13, Well it seems the problem relates to TMS Component Pack. I've had quite a few problems with this component pack since I purchased them a couple of years ago. Had trouble installing on Delphi 5, 7, 2005 and now 2007. They never seem to install correctly first time. I'm going to have to uninstall, clean out all references to them and re-install them again. All BPL's are purchased....

            S N 2 Replies Last reply
            0
            • J JerryMallett

              Hi Smags13, Well it seems the problem relates to TMS Component Pack. I've had quite a few problems with this component pack since I purchased them a couple of years ago. Had trouble installing on Delphi 5, 7, 2005 and now 2007. They never seem to install correctly first time. I'm going to have to uninstall, clean out all references to them and re-install them again. All BPL's are purchased....

              S Offline
              S Offline
              smags13
              wrote on last edited by
              #6

              Yeah, we've been keeping experiencing weird issues using Delphi. But I'm happy you find the problem.

              1 Reply Last reply
              0
              • J JerryMallett

                Hi Smags13, Well it seems the problem relates to TMS Component Pack. I've had quite a few problems with this component pack since I purchased them a couple of years ago. Had trouble installing on Delphi 5, 7, 2005 and now 2007. They never seem to install correctly first time. I'm going to have to uninstall, clean out all references to them and re-install them again. All BPL's are purchased....

                N Offline
                N Offline
                nortee
                wrote on last edited by
                #7

                so it was a third party component screwing you over :|. I should have known :|... I hate it when that happens :|... *shakes fists inna air*

                Cheers, Glen Vlotman "You cannot code for stupidity"

                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