BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can Install PngComponents under BDS 2006.

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (General)
View previous topic :: View next topic  
Author Message
michaelv
Guest





PostPosted: Tue Oct 17, 2006 3:16 pm    Post subject: Can Install PngComponents under BDS 2006. Reply with quote



First Thanks to BOB D , for solving the Problem under D2005.

In the meantime i have got and BDS 2006 , and i now got this Error :

[Pascal Fatal Error] PngComponentsD9.dpk(32): F2141 Bad file format:
'PNG_D9.dcp' :

Anyone knows what is wrong ????

Thanks in advance...

/Michael
Back to top
Michael Fritz
Guest





PostPosted: Tue Oct 17, 2006 4:19 pm    Post subject: Re: Can Install PngComponents under BDS 2006. Reply with quote



"michaelv" wrote in message
<news:h8b9j29nnrhriu7subsq3b2l31mtjra962 (AT) 4ax (DOT) com>:

Quote:
First Thanks to BOB D , for solving the Problem under D2005.

In the meantime i have got and BDS 2006 , and i now got this Error :

[Pascal Fatal Error] PngComponentsD9.dpk(32): F2141 Bad file format:
'PNG_D9.dcp' :
I assume D9 means Delphi version 9 which is related to D2005 but D2006 is

version 10 so you will need a compiled packaged with named like PNG_D10.dcp
I guess.

--
cu,
Michael
Back to top
michaelv
Guest





PostPosted: Tue Oct 17, 2006 4:52 pm    Post subject: Re: Can Install PngComponents under BDS 2006. Reply with quote



On Tue, 17 Oct 2006 13:19:24 +0200, Michael Fritz
<spam_athome (AT) yahoo (DOT) de> wrote:

Quote:
"michaelv" wrote in message
news:h8b9j29nnrhriu7subsq3b2l31mtjra962 (AT) 4ax (DOT) com>:

First Thanks to BOB D , for solving the Problem under D2005.

In the meantime i have got and BDS 2006 , and i now got this Error :

[Pascal Fatal Error] PngComponentsD9.dpk(32): F2141 Bad file format:
'PNG_D9.dcp' :
I assume D9 means Delphi version 9 which is related to D2005 but D2006 is
version 10 so you will need a compiled packaged with named like PNG_D10.dcp
I guess.

Hi

Yes the problem is that there isn't any png_d10.dcp , cause the
pngcomponents not are ported to delphi 2006...

Just curious if the wasn't any who have solved the problem ????

/Michael
Back to top
Nathanial Woolls
Guest





PostPosted: Tue Oct 17, 2006 6:41 pm    Post subject: Re: Can Install PngComponents under BDS 2006. Reply with quote

Quote:
Yes the problem is that there isn't any png_d10.dcp , cause the
pngcomponents not are ported to delphi 2006...

Not a whole lot of "porting" is needed. The problem is that you have
packages with the d9 name compiled on that system. Now you are trying to
recompile one of those packages in Delphi 2006 without changing the names.
This would be okay (although dangerous), except the package requries another
package that was build in D9. Basically, the package you are building in
Delphi 2006 is trying to access, and use, the information from a package
compiled in Delphi 2005.

What you need to do is locate the dpk's for your components and rename them
(d9 to d10 or whatever naming convention), taking care to also edit those
dpk's and change the naming at the top of the file and in the requires
section. For example, you'll need to copy png_d9.dpk and save it as
png_d10.dpk. Edit the source, changing the name at the top. The requires
section (I think) should be ok. Compile and install.

Now copy and renmae the other package, editing the source and changing the
name. In the requires section, you should see png_d9. Change that to
png_d10. Compile and install.

HTH
Back to top
michaelv
Guest





PostPosted: Mon Oct 23, 2006 8:12 am    Post subject: Re: Can Install PngComponents under BDS 2006. Reply with quote

On Wed, 18 Oct 2006 11:12:04 +0300, "Bob D" <bobd (AT) demo (DOT) it> wrote:

Hi Bob D...

You're the best , it works..

/Michael





Quote:
Open thany.inc file and replace with:

{$B-}
{$X+}
{$T+}
{$P+}
{$H+}
{$J-}

{$IFNDEF WIN32}
Thany components do not support 16-bit Windows.
{$ENDIF}

{$IFDEF VER180}
{$DEFINE THANY_COMPILER_10}
{$IFDEF BCB}
{$DEFINE THANY_CPPB}
{$DEFINE THANY_CPPB_10}
{$ELSE}
{$DEFINE THANY_DELPHI}
{$DEFINE THANY_DELPHI_10}
{$ENDIF}
{$ENDIF}


{$IFDEF VER170}
{$DEFINE THANY_COMPILER_9}
{$IFDEF BCB}
{$DEFINE THANY_CPPB}
{$DEFINE THANY_CPPB_9}
{$ELSE}
{$DEFINE THANY_DELPHI}
{$DEFINE THANY_DELPHI_9}
{$ENDIF}
{$ENDIF}

{$IFDEF VER150}
{$DEFINE THANY_COMPILER_7}
{$IFDEF BCB}
{$DEFINE THANY_CPPB}
{$DEFINE THANY_CPPB_7}
{$ELSE}
{$DEFINE THANY_DELPHI}
{$DEFINE THANY_DELPHI_7}
{$ENDIF}
{$ENDIF}

{$IFDEF VER140}
{$DEFINE THANY_COMPILER_6}
{$IFDEF BCB}
{$DEFINE THANY_CPPB}
{$DEFINE THANY_CPPB_6}
{$ELSE}
{$DEFINE THANY_DELPHI}
{$DEFINE THANY_DELPHI_6}
{$ENDIF}
{$ENDIF}

{$IFDEF VER130}
{$DEFINE THANY_COMPILER_5}
{$IFDEF BCB}
{$DEFINE THANY_CPPB}
{$DEFINE THANY_CPPB_5}
{$ELSE}
{$DEFINE THANY_DELPHI}
{$DEFINE THANY_DELPHI_5}
{$ENDIF}
{$ENDIF}

{$IFDEF VER125}
{$DEFINE THANY_COMPILER_4}
{$DEFINE THANY_CPPB}
{$DEFINE THANY_CPPB_4}
{$ENDIF}

{$IFDEF VER120}
{$DEFINE THANY_COMPILER_4}
{$DEFINE THANY_DELPHI}
{$DEFINE THANY_DELPHI_4}
{$ENDIF}

{$IFDEF VER110}
{$DEFINE THANY_COMPILER_3}
{$DEFINE THANY_CPPB}
{$DEFINE THANY_CPPB_3}
{$ENDIF}

{$IFDEF VER100}
{$DEFINE THANY_COMPILER_3}
{$DEFINE THANY_DELPHI}
{$DEFINE THANY_DELPHI_3}
{$ENDIF}

{$IFDEF VER93}
{$DEFINE THANY_COMPILER_2}
{$DEFINE THANY_CPPB}
{$DEFINE THANY_CPPB_1}
{$ENDIF}

{$IFDEF VER90}
{$DEFINE THANY_COMPILER_2}
{$DEFINE THANY_DELPHI}
{$DEFINE THANY_DELPHI_2}
{$ENDIF}

{$IFNDEF THANY_CPPB}
{$IFNDEF THANY_DELPHI}
{$DEFINE THANY_UNKNOWN_COMPILER}
{$ENDIF}
{$ENDIF}

{$IFDEF THANY_COMPILER_2}
{$DEFINE THANY_COMPILER_2_UP}
{$ENDIF}

{$IFDEF THANY_COMPILER_3}
{$DEFINE THANY_COMPILER_2_UP}
{$DEFINE THANY_COMPILER_3_UP}
{$ENDIF}

{$IFDEF THANY_COMPILER_4}
{$DEFINE THANY_COMPILER_2_UP}
{$DEFINE THANY_COMPILER_3_UP}
{$DEFINE THANY_COMPILER_4_UP}
{$ENDIF}

{$IFDEF THANY_COMPILER_5}
{$DEFINE THANY_COMPILER_2_UP}
{$DEFINE THANY_COMPILER_3_UP}
{$DEFINE THANY_COMPILER_4_UP}
{$DEFINE THANY_COMPILER_5_UP}
{$ENDIF}

{$IFDEF THANY_COMPILER_6}
{$DEFINE THANY_COMPILER_2_UP}
{$DEFINE THANY_COMPILER_3_UP}
{$DEFINE THANY_COMPILER_4_UP}
{$DEFINE THANY_COMPILER_5_UP}
{$DEFINE THANY_COMPILER_6_UP}
{$ENDIF}

{$IFDEF THANY_COMPILER_7}
{$DEFINE THANY_COMPILER_2_UP}
{$DEFINE THANY_COMPILER_3_UP}
{$DEFINE THANY_COMPILER_4_UP}
{$DEFINE THANY_COMPILER_5_UP}
{$DEFINE THANY_COMPILER_6_UP}
{$DEFINE THANY_COMPILER_7_UP}
{$ENDIF}

{$IFDEF THANY_COMPILER_9}
{$DEFINE THANY_COMPILER_2_UP}
{$DEFINE THANY_COMPILER_3_UP}
{$DEFINE THANY_COMPILER_4_UP}
{$DEFINE THANY_COMPILER_5_UP}
{$DEFINE THANY_COMPILER_6_UP}
{$DEFINE THANY_COMPILER_7_UP}
{$DEFINE THANY_COMPILER_9_UP}
{$ENDIF}

{$IFDEF THANY_COMPILER_10}
{$DEFINE THANY_COMPILER_2_UP}
{$DEFINE THANY_COMPILER_3_UP}
{$DEFINE THANY_COMPILER_4_UP}
{$DEFINE THANY_COMPILER_5_UP}
{$DEFINE THANY_COMPILER_6_UP}
{$DEFINE THANY_COMPILER_7_UP}
{$DEFINE THANY_COMPILER_9_UP}
{$DEFINE THANY_COMPILER_10_UP}
{$ENDIF}


{$IFDEF THANY_DELPHI_2}
{$DEFINE THANY_DELPHI_2_UP}
{$ENDIF}

{$IFDEF THANY_DELPHI_3}
{$DEFINE THANY_DELPHI_2_UP}
{$DEFINE THANY_DELPHI_3_UP}
{$ENDIF}

{$IFDEF THANY_DELPHI_4}
{$DEFINE THANY_DELPHI_2_UP}
{$DEFINE THANY_DELPHI_3_UP}
{$DEFINE THANY_DELPHI_4_UP}
{$ENDIF}

{$IFDEF THANY_DELPHI_5}
{$DEFINE THANY_DELPHI_2_UP}
{$DEFINE THANY_DELPHI_3_UP}
{$DEFINE THANY_DELPHI_4_UP}
{$DEFINE THANY_DELPHI_5_UP}
{$ENDIF}

{$IFDEF THANY_DELPHI_6}
{$DEFINE THANY_DELPHI_2_UP}
{$DEFINE THANY_DELPHI_3_UP}
{$DEFINE THANY_DELPHI_4_UP}
{$DEFINE THANY_DELPHI_5_UP}
{$DEFINE THANY_DELPHI_6_UP}
{$ENDIF}

{$IFDEF THANY_DELPHI_7}
{$DEFINE THANY_DELPHI_2_UP}
{$DEFINE THANY_DELPHI_3_UP}
{$DEFINE THANY_DELPHI_4_UP}
{$DEFINE THANY_DELPHI_5_UP}
{$DEFINE THANY_DELPHI_6_UP}
{$DEFINE THANY_DELPHI_7_UP}
{$ENDIF}

{$IFDEF THANY_DELPHI_9}
{$DEFINE THANY_DELPHI_2_UP}
{$DEFINE THANY_DELPHI_3_UP}
{$DEFINE THANY_DELPHI_4_UP}
{$DEFINE THANY_DELPHI_5_UP}
{$DEFINE THANY_DELPHI_6_UP}
{$DEFINE THANY_DELPHI_7_UP}
{$DEFINE THANY_DELPHI_9_UP}
{$ENDIF}

{$IFDEF THANY_DELPHI_10}
{$DEFINE THANY_DELPHI_2_UP}
{$DEFINE THANY_DELPHI_3_UP}
{$DEFINE THANY_DELPHI_4_UP}
{$DEFINE THANY_DELPHI_5_UP}
{$DEFINE THANY_DELPHI_6_UP}
{$DEFINE THANY_DELPHI_7_UP}
{$DEFINE THANY_DELPHI_9_UP}
{$DEFINE THANY_DELPHI_10_UP}
{$ENDIF}


{$IFDEF THANY_CPPB_3}
{$DEFINE THANY_CPPB_3_UP}
{$ENDIF}

{$IFDEF THANY_CPPB_4}
{$DEFINE THANY_CPPB_3_UP}
{$DEFINE THANY_CPPB_4_UP}
{$ENDIF}

{$IFDEF THANY_CPPB_5}
{$DEFINE THANY_CPPB_3_UP}
{$DEFINE THANY_CPPB_4_UP}
{$DEFINE THANY_CPPB_5_UP}
{$ENDIF}

{$IFDEF THANY_CPPB_6}
{$DEFINE THANY_CPPB_3_UP}
{$DEFINE THANY_CPPB_4_UP}
{$DEFINE THANY_CPPB_5_UP}
{$DEFINE THANY_CPPB_6_UP}
{$ENDIF}

{$IFDEF THANY_CPPB_7}
{$DEFINE THANY_CPPB_3_UP}
{$DEFINE THANY_CPPB_4_UP}
{$DEFINE THANY_CPPB_5_UP}
{$DEFINE THANY_CPPB_6_UP}
{$DEFINE THANY_CPPB_7_UP}
{$ENDIF}

{$IFDEF THANY_CPPB_9}
{$DEFINE THANY_CPPB_3_UP}
{$DEFINE THANY_CPPB_4_UP}
{$DEFINE THANY_CPPB_5_UP}
{$DEFINE THANY_CPPB_6_UP}
{$DEFINE THANY_CPPB_7_UP}
{$DEFINE THANY_CPPB_9_UP}
{$ENDIF}

{$IFDEF THANY_CPPB_10}
{$DEFINE THANY_CPPB_3_UP}
{$DEFINE THANY_CPPB_4_UP}
{$DEFINE THANY_CPPB_5_UP}
{$DEFINE THANY_CPPB_6_UP}
{$DEFINE THANY_CPPB_7_UP}
{$DEFINE THANY_CPPB_9_UP}
{$DEFINE THANY_CPPB_10_UP}
{$ENDIF}

{$IFDEF THANY_CPPB_3_UP}
// C++Builder requires this if you use Delphi components in run-time
packages.
{$ObjExportAll On}
{$ENDIF}

{$IFDEF THANY_COMPILER_7_UP}
{$DEFINE ThemeSupport}
{$ENDIF}




"michaelv" <michael (AT) forcetronix (DOT) com> wrote in message
news:h8b9j29nnrhriu7subsq3b2l31mtjra962 (AT) 4ax (DOT) com...


First Thanks to BOB D , for solving the Problem under D2005.

In the meantime i have got and BDS 2006 , and i now got this Error :

[Pascal Fatal Error] PngComponentsD9.dpk(32): F2141 Bad file format:
'PNG_D9.dcp' :

Anyone knows what is wrong ????

Thanks in advance...

/Michael
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (General) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.