Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 10 of 15 total |
compile source in BDS 2006 |
Tue, May 2 2006 7:35 AM | Permanent Link |
Wim Sterns | Hi,
I am still trying to compile the 3.30 d7 source in BDS 2006 I now get the following errors. [Pascal Error] E2161 Duplicate resource: Type 14 (ICON GROUP), ID MAINICON; File C:\d700 \code\db330d7r.res resource kept; file C:\d700\code\db330d7r.res resource discarded. [Pascal Error] E2161 Duplicate resource: Type 16 (VERSIONINFO), ID 1; File C:\d700\code\db330d7r.res resource kept; file C:\d700\code\db330d7r.res resource discarded. What am I doing wrong ? Thanks Wim. |
Tue, May 2 2006 8:37 AM | Permanent Link |
Graham Wood | Wim Sterns <duzed@yahoo.com> wrote: Hi, I am still trying to compile the 3.30 d7 source in BDS 2006 I now get the following errors. [Pascal Error] E2161 Duplicate resource: Type 14 (ICON GROUP), ID MAINICON; File C:\d700 \code\db330d7r.res resource kept; file C:\d700\code\db330d7r.res resource discarded. [Pascal Error] E2161 Duplicate resource: Type 16 (VERSIONINFO), ID 1; File C:\d700\code\db330d7r.res resource kept; file C:\d700\code\db330d7r.res resource discarded. What am I doing wrong ? Thanks Wim. |
Tue, May 2 2006 9:20 AM | Permanent Link |
Stuart Kelly | Hi Wim,
> > I am still trying to compile the 3.30 d7 source in BDS 2006 > I now get the following errors. > > [Pascal Error] E2161 Duplicate resource: Type 14 (ICON GROUP), ID MAINICON; File C:\d700 > \code\db330d7r.res resource kept; file C:\d700\code\db330d7r.res resource discarded. > [Pascal Error] E2161 Duplicate resource: Type 16 (VERSIONINFO), ID 1; File C:\d700\code\db330d7r.res > resource kept; file C:\d700\code\db330d7r.res resource discarded. > > What am I doing wrong ? > Delete the db330d7r.res from the project. It will be listed under the project manager on the left had side. This should allow you to compile the code. -- Stuart Kelly mode software |
Tue, May 2 2006 9:44 AM | Permanent Link |
Wim | Thanks for your response but ...
I cannot remove db330d7r.res from the project with the project manager and when I delete the file on disk, it gets recreated Any other ideas ? Wim Stuart Kelly <stuart.kelly@bleep-holdings.co.uk> wrote: Delete the db330d7r.res from the project. It will be listed under the project manager on the left had side. This should allow you to compile the code. -- Stuart Kelly mode software |
Tue, May 2 2006 12:12 PM | Permanent Link |
Stuart Kelly | Wim wrote:
> Thanks for your response but ... > > I cannot remove db330d7r.res from the project with the project manager > and when I delete the file on disk, it gets recreated > > Any other ideas ? > Try using the menu option Project - Remove from project... This should work. Did you get any errors trying to remove the file? -- Stuart Kelly mode software |
Tue, May 2 2006 1:58 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Wim,
<< I now get the following errors. [Pascal Error] E2161 Duplicate resource: Type 14 (ICON GROUP), ID MAINICON; File C:\d700\code\db330d7r.res resource kept; file C:\d700\code\db330d7r.res resource discarded. [Pascal Error] E2161 Duplicate resource: Type 16 (VERSIONINFO), ID 1; File C:\d700\code\db330d7r.res resource kept; file C:\d700\code\db330d7r.res resource discarded. What am I doing wrong ? >> Just rename the db330d7r.res that we provide to db330d7r.bak. It has version information in it, but if you're only using it for the runtime package in the IDE and not for distribution, then it won't make any difference with 3.x. We generate the .res in our automated builds and use the dcc32 command-line compiler, so we don't have problems with the IDE trying to recreate the resource file. -- Tim Young Elevate Software www.elevatesoft.com |
Wed, May 3 2006 2:43 AM | Permanent Link |
Wim | I tried to do this
I get a dialog asking I want to remove the file from the project when I click yes nothing happens (no error) and the file stays in the project. Wim Stuart Kelly <stuart.kelly@bleep-holdings.co.uk> wrote: Try using the menu option Project - Remove from project... This should work. Did you get any errors trying to remove the file? -- Stuart Kelly mode software |
Wed, May 3 2006 2:48 AM | Permanent Link |
Wim | Ok, thanks Tim
that worked, now I am trying to compile db330d7d I get the same error, [Pascal Error] E2161 Duplicate resource: Type 14 (ICON GROUP), ID MAINICON; File C:\d700\code\db330d7d.res resource kept; file C:\d700\code\db330d7d.res resource discarded. [Pascal Error] E2161 Duplicate resource: Type 16 (VERSIONINFO), ID 1; File C:\d700\code\db330d7d.res resource kept; file C:\d700\code\db330d7d.res resource discarded. renaming the .res file does not work here. Any ideas? Wim "Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote: Just rename the db330d7r.res that we provide to db330d7r.bak. It has version information in it, but if you're only using it for the runtime package in the IDE and not for distribution, then it won't make any difference with 3.x. We generate the .res in our automated builds and use the dcc32 command-line compiler, so we don't have problems with the IDE trying to recreate the resource file. -- Tim Young Elevate Software www.elevatesoft.com |
Wed, May 3 2006 11:59 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Wim,
<< renaming the .res file does not work here. >> It keeps stating that there's a duplicate resource in that resource file name even *after* you've renamed it ? -- Tim Young Elevate Software www.elevatesoft.com |
Thu, May 4 2006 6:53 AM | Permanent Link |
Wim | Tim,
I tried everything. Rename the file in the project manager (the file on disk gets another name, but the file in the project manager keeps the name db330d7d.res Rename the file with explorer on disk gives the same result. Remove the file from the project is not possible When I delete the file from disk, it gets recreated next time I open the project. Still the same error [Pascal Error] E2161 Duplicate resource: Type 14 (ICON GROUP), ID MAINICON; File C:\d700\code\db330d7d.res resource kept; file C:\d700\code\db330d7d.res resource discarded. [Pascal Error] E2161 Duplicate resource: Type 16 (VERSIONINFO), ID 1; File C:\d700\code\db330d7d.res resource kept; file C:\d700\code\db330d7d.res resource discarded. it drives me crazy Wim "Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote: Wim, << renaming the .res file does not work here. >> It keeps stating that there's a duplicate resource in that resource file name even *after* you've renamed it ? -- Tim Young Elevate Software www.elevatesoft.com |
Page 1 of 2 | Next Page » | |
Jump to Page: 1 2 |
This web page was last updated on Friday, April 19, 2024 at 07:09 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |