Code Porting - Delphi 2007 to Delphi 2009

Hi people,

Basically, I am moving an app from Delphi 5 to Delphi 2009 which is all great (yeah right!) and I am having a couple of issues with some thirdparty components that we have the source code for.

Being that I wanted to make the task as easy as possible, I was able to download the component in Delphi 2007 format.  I have now managed to port that to 2009 so it compiles only with warnings and no errors.  So all is good at this moment.

Now I am trying to install the component into the IDE by using the install menu option from the project manager.  This is where I run into errors.  When I do this, Delphi goes through the build and then churns out a 'cannot find rtl100.bpl' error.

Im scratching my brain as to what this might be.  Does anyone have an idea of what might be the issue?

Thanks
0
Tristan
9/1/2009 4:27:23 PM
embarcadero.delphi.rtl 934 articles. 0 followers. Follow

2 Replies
1225 Views

Similar Articles

[PageSpeed] 8

Tristan Leask wrote:

> Now I am trying to install the component into the IDE by using the
> install menu option from the project manager.  This is where I run
> into errors.  When I do this, Delphi goes through the build and then
> churns out a 'cannot find rtl100.bpl' error.

Probably your project file still contains references to the D2007
libraries. Simply close the IDE, copy everything to a new directory to
be used with D2009 only(*) and delete any .dproj and .bdsproj files.
Then you can open the .dpk file directly and a new .dproj will be
generated which will point to the Delphi 2009 libraries now.

(*) I mean you then have one directory for the source for D2007 and one
other directory for the source for D2009. Do not mix those.

-- 
Rudy Velthuis (TeamB)        http://www.teamb.com

"Any inaccuracies in this index may be explained by the fact 
 that it has been sorted with the help of a computer." 
 -- Donald Knuth Sorting and Searching
0
Rudy
9/1/2009 4:42:57 PM
Cheers....

I had a look for some left over bpl/dcp files as well and made sure they were deleted.  The install of the component copied them into the system directory, so i suspect when I was compiling, the IDE was using those files instead of the newly recompiled ones I had just made.

Thanks
0
Tristan
9/7/2009 2:53:40 PM
Reply:

Similar Artilces:

[C++ Builder 2009] Abnormal Code Preview in Code AutoCompletion
My problem is this in C++ Builder 2009 1) I make a BitBtn & try to set its Font color. It wont. 2) I goto code view to set Font Color in Runtime. I type following: *+BitBtn1->+* and The tool tip pops and gives all Properties, Objects & Functions accessible [EG: Repaint(), Caption, Refresh(), etc.], as expected. 3) I figure out BitBtn1 is a probably bad name, so I change it to Button. 4) I goto code view again & I type following: *+Button->+* and The tool tip pops and gives only the foll. properties/methods: *+Click()+* *+Action+* *+Align+* *+alNone+* You can ...

To code or not to code?
The rise of Open Source software adoption has brought with it increased awareness of non-proprietary programming technologies. http://www.itnews.com.au/Feature/4593,to-code-or-not-to-code.aspx -- "Never drive faster than your ANGEL can fly" ...

superreview requested: [Bug 200644] rework port handling in permissions code : [Attachment 134773] ingore the port
Dan Witte <dwitte@stanford.edu> has asked Darin Fisher <darin@meer.net> for superreview: Bug 200644: rework port handling in permissions code http://bugzilla.mozilla.org/show_bug.cgi?id=200644 Attachment 134773: ingore the port http://bugzilla.mozilla.org/attachment.cgi?id=134773&action=edit ------- Additional Comments from Dan Witte <dwitte@stanford.edu> r=me... simple patch ;) ...

superreview granted: [Bug 200644] rework port handling in permissions code : [Attachment 134773] ingore the port
Darin Fisher <darin@meer.net> has granted Dan Witte <dwitte@stanford.edu>'s request for superreview: Bug 200644: rework port handling in permissions code http://bugzilla.mozilla.org/show_bug.cgi?id=200644 Attachment 134773: ingore the port http://bugzilla.mozilla.org/attachment.cgi?id=134773&action=edit ------- Additional Comments from Darin Fisher <darin@meer.net> code looks fine. are there compatibility issues to worry about? what happens when someone goes back to an older version of moz? ...

Compiles in 2007 but not in 2009
Hi all, I found this code on the net somewhere but it doesnt compile in D2009. I have googled loads and can not find many examples of this error. Could someone please have a quick look? Really appreciate it and thanks. [DCC Error] Unit1.pas(61): E2251 Ambiguous overloaded call to 'AnsiStrLComp' SysUtils.pas(5134): Related method: function AnsiStrLComp(PAnsiChar; PAnsiChar; Cardinal): Integer; SysUtils.pas(5147): Related method: function AnsiStrLComp(PWideChar; PWideChar; Cardinal): Integer; function TForm1.FindTextBackwards(findWhat, inString: string; startAt: Int...

Seperating Admin code in code-behind from general code
Hi guys, I just want to know if it would improve the functioning of my site to create two seperate dlls: One of the dll's would contain all the code for the general functioning of the site, and the other dll would contain all of the code for the administration elements of the site. Thanks GP...

InterBase 2007 and 2009 disconnects
My customers (financial institutions) are having InterBase disconnects at random times throughout the day. They all run the service on a Windows 2008 R2 server. The error from the InterBase log is PROTOCOL/xdr_protocol: opcode 1094795585 has no context, client host = UNKNOWN connection name = compName user name = UNKNOWN When it happens our software hangs. This started December 9th at one location and now has affected 7 different locations across the country. I thought it was a Windows update but one location has not installed updates since early November. We have not changed anything w...

Code-Behind versus Code-Inside and Code-Beside
Can someone explain to me how the code gets compiled when you do code-inside (like in webmatrix) as oposed to code-behind? WHen you do the code-behind I know all the code gets compiled at compile-time into a dll assembly. And I think that code-inside gets compiled at run-time. But what if you have a mixture of the two and you have a dll assembly with code-beside modules, how do they get compiled into the assembly? Maybe I'm wrong or confused, can someone clarify? I'm also aware of the Visual Studio 2005 code-beside also, will that change anything? thanks, Frank For a general...

To code or not to code.... What is the norm?
Hello All...  I am pretty much new to asp.net.  I am a vb6 / vba / vbs windows developer who also knows coldfusion.  I did dabble a little bit into asp.net 1.1.  Anyways -- My question:  When building an application, do most people use the WYSIWYG interface in VS or do you write the code.  I have read a few books on asp.net yet I still struggle with this.  I understand the whole configuring a datasource and binding it thorugh the tasks menu of a control.  I also feel comfortable with the tutorials I have done where I do all of this in code.  I ...

Port this code to VB.NET
Can someone port this code to  VB.NET ?   private void port_DataReceived(object sender, SerialDataReceivedEventArgs e) {// Event for receiving data // Read the buffer to text box. this.Invoke(new EventHandler(DoUpdate)); } private void DoUpdate(object s, EventArgs e) { statusBar1.Text = "Getting Data"; statusBar1.Refresh(); txtData.Text = txtData.Text + port.ReadExisting(); } // End Thank you,     andretenreiro wrote:Can someone port this code to  VB.NET ?You can:  Remotesoft Octopus .NET Translator. Alister I tried with that, result me...

Porting to PB code to MacIntosh
We currently have built a PB5.03 app for PC's using SQLAnywhere. Can this be ported to the MacIntosh? Is there PB for the Mac and SQLAnywhere for the Mac and can I convert my current code? On Mon, 16 Mar 1998 11:35:26 -0500, "Vyvx" <cgrisso@vyvx.com> wrote: >We currently have built a PB5.03 app for PC's using SQLAnywhere. Can this >be ported to the MacIntosh? Is there PB for the Mac and SQLAnywhere for >the Mac and can I convert my current code? There is a version of PB5 and SQLAnywhere for the Mac. There is a version of PB6 and SQLAnywhere ...

IBConsole 2007 to 2009 problem
Hi, Upgraded our database to 2009 a little while ago - everything is fine. But, if I try to look at a table named "USERS" with IBConsole 2009 it doesn't show the data. I need to have IBConsole 2007 on another machine so I can change data in the "USERS" table. I guess USERS is a reserved name? Joe Joe Sansalone wrote: > Hi, > > Upgraded our database to 2009 a little while ago - everything is fine. > > But, if I try to look at a table named "USERS" with IBConsole 2009 it > doesn't show the data. > I need to have...

reusable code
 I have a page of code that instead of putting it in each pags code behind, I would like to be able to jsut include it in the code behind of each page so that it gets executed each time. This way I could jsut edit the one file and th changes woudl be site wide in thepages that have this as an include in the code behind file.What is the bet way to do that? Any examples?Thanks Hi, You could create a base class for the code-behind classes (put every code-behind class to derive from this common base class), when changes to the base class would apply to the derived classes.Thanks,Teemu Ke...

How Can I Set the Port In Code?
Hi all, I need to start my IW app and change the Server's listening port from an ini file. I tried the following but my IW app throws an exception when I do. I am guessing the code is just in the wrong place, but I can't figure this one out. Priority Support. {code} procedure TIWServerController.IWServerControllerBaseCreate(Sender: TObject); var vSL: TStringList; vCFILE: String; begin vCFILE:=WebApplication.ApplicationPath+'\server.cfg'; if fileexists(vCFILE) then begin vSL:=TStringList.Create; vSL.LoadFromFile(vCFILE); Port:=StrToInt(vSL[0]); ...

Sample Code for RS232 port
I'am new with Power++ and I'am locking for sample code on how to work with ports (RS232 serial port) with Power++ and Windows95. Does anybody know where I can get something to read and try and play around? Thank you Christian Hello Karl I don`t think Power++ has a serial port functionality. I use WIN32 SDK for this. A (relative) good sample code is found on: http://msdn.microsoft.com/library/wcedoc/wcecomm/serial_18.htm Hope it helps Boaz Christian Karl <karl@ikon.de> skrev i en nyhedsmeddelelse:95mWTUNN$GA.304@forums.sybase.com... > I'am new...

Web resources about - Code Porting - Delphi 2007 to Delphi 2009 - embarcadero.delphi.rtl

Porting - Wikipedia, the free encyclopedia
This article is about moving software to a different system. For engine tuning, see porting (engine) . For porting of telephone numbers, see ...

Step by Step Guide to Porting Your Facebook App to Bebo
This is a guest post by Blake Commagere, creator of the “monsters” series of applications on Facebook, Bebo, and other social networks. How much ...

Porting Android on Beagle Board XM - YouTube
This video shows 3D demos on porting android OS using beagle board XM by Tenet.. BeagleBoard-xM delivers extra ARM Cortex-A8 MHz and extra memory ...

$45k stolen in phone porting scam
Scammers steal identity, redirect banking verification codes.

Learning from porting selecta
... keep, your production code or your tests?" If you have high-quality tests, you should be able to produce similar code with clean design. Porting ...

Microsoft’s ‘Bridge’ tool for porting iOS apps to Windows 10 is now available
Microsoft first unveiled “Windows Bridge” a few months back , a new tool for developers that aims to make porting iOS apps to Windows 10 easier ...

NVIDIA Acquires Game Porting Group & Tech From Transgaming
... Windows games over to OS X. With the rise of Apple’s fortunes and the move to x86, Transgaming has been responsible for either directly porting ...

Nintendo could be porting Game Boy games to smartphones - AOL.com
A patent filed by Nintendo in June makes it look like Game Boy games might be finally coming to mobile platforms. Yup, you might finally get ...

Jetpack Joyride Developer Acquires Cross-Platform Porting Technology
... that offers cross-platform conversion options for electronic games using only their C++ code bases. With the acquisition of a dedicated porting ...

Adobe abandons development of Flash-to-iPhone porting software
A change in Apple's developer agreement has caused Adobe to halt development of technology that allows Flash applications to be ported natively ...

Resources last updated: 11/25/2015 9:08:16 AM