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 

pngcomponents can't install under Delphi 2005.

 
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: Wed Oct 04, 2006 8:13 am    Post subject: pngcomponents can't install under Delphi 2005. Reply with quote



Hi.


When i try to install PngCompoents 1.0 RC3 under D2005 with the
automatic installer
nothing happend.


When i then try to install it manual , i got the following error :


[Error] PngComponentsD9D.dpk(31): E2399 Namespace conflicts with
unit
name '(null)'
[Fatal Error] PngComponentsD9.dpk(40): F2084 Internal Error: U999


What is wrong , can't figure it out.


I'm using Delphi 2005 professional..


Thanks in advance...


Michael , Denmark.
Back to top
Bob D
Guest





PostPosted: Wed Oct 04, 2006 8:13 am    Post subject: Re: pngcomponents can't install under Delphi 2005. Reply with quote



Looks like the PNGComponents' author is completely off.
Doesnt respond to emails. Maybe he doesnt care for this component anymore.

Anyway, open thany.irc 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:f1q6i2leirs6rl61ft6g3rrnj9f24sc4nc (AT) 4ax (DOT) com...
Quote:
Hi.


When i try to install PngCompoents 1.0 RC3 under D2005 with the
automatic installer
nothing happend.


When i then try to install it manual , i got the following error :


[Error] PngComponentsD9D.dpk(31): E2399 Namespace conflicts with
unit
name '(null)'
[Fatal Error] PngComponentsD9.dpk(40): F2084 Internal Error: U999


What is wrong , can't figure it out.


I'm using Delphi 2005 professional..


Thanks in advance...


Michael , Denmark.

Back to top
michaelv
Guest





PostPosted: Tue Oct 17, 2006 3:13 pm    Post subject: Re: pngcomponents can't install under Delphi 2006. Reply with quote



On Wed, 4 Oct 2006 10:59:14 +0300, "Bob D" <bobd (AT) demo (DOT) it> wrote:

Thanx BOB D.

I works perfectly 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
Dennis Passmore
Guest





PostPosted: Tue Oct 17, 2006 10:53 pm    Post subject: Re: pngcomponents can't install under Delphi 2006. Reply with quote

Quote:

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

Anyone knows what is wrong ????


Well it was not that hard to figure out.

First you are trying to install the BDS2005 files into BDS2006 and that is what is wrong.

Start out by copying the file PNG_D9.dpk to PNG_D10.dpk, file PngComponentsD9.dpk to
PngComponentsD10.dpk and file PngComponentsD9D.dpk to PngComponentsD10D.dpk.

Now using your favorite text editor open up PNG_D10.dpk and edit the first line to read PNG_D10.
Open up PngComponentsD10.dpk and edit the first line to PngComponentsD10 and then find the line
PNG_D9 and change it to PNG_D10.
Open up file PngComponentsD10D.dpk and edit the first line to read PngComponentsD10D and
change the line PngComponentsD9 to PngComponentsD10. Save all changes.
Now open up the file "include\Thany.inc" and copy the block starting with {$IFDEF VER170} thru
the second {Endif} and past it back in again and change the VER170 to Ver180.

Open up BDS2006 and edit the Library path to include where ever you have the PngComponents
source installed by add the path ..\PngComponents\Source.

Load PNG_D10.dpk in and edit the project options to set the Output
folder and the DCP output folder to where ever you like and build it.

Load PngComponentsD10.dpk in and edit the project options to set the Output
folder and the DCP output folder to where ever you like and build it.

Load PngComponentsD10D.dpk in and edit the project options to set the Output
folder and the DCP output folder to where ever you like and build it.

Now you can install PngComponentsD10D.bpl in BDS2006 and you are done.
Back to top
Dennis Passmore
Guest





PostPosted: Wed Oct 18, 2006 1:55 am    Post subject: Re: pngcomponents can't install under Delphi 2006. Reply with quote

Quote:

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

Anyone knows what is wrong ????


Well it was not that hard to figure out.

First you are trying to install the BDS2005 files into BDS2006 and that is what is wrong.

Start out by copying the file PNG_D9.dpk to PNG_D10.dpk, file PngComponentsD9.dpk to
PngComponentsD10.dpk and file PngComponentsD9D.dpk to PngComponentsD10D.dpk.

Now using your favorite text editor open up PNG_D10.dpk and edit the first line to read PNG_D10.
Open up PngComponentsD10.dpk and edit the first line to PngComponentsD10 and then find the line
PNG_D9 and change it to PNG_D10.
Open up file PngComponentsD10D.dpk and edit the first line to read PngComponentsD10D and
change the line PngComponentsD9 to PngComponentsD10. Save all changes.
Now open up the file "include\Thany.inc" and copy the block starting with {$IFDEF VER170} thru
the second {Endif} and past it back in again and change the VER170 to Ver180.

Open up BDS2006 and edit the Library path to include where ever you have the PngComponents
source installed by add the path ..\PngComponents\Source.

Load PNG_D10.dpk in and edit the project options to set the Output
folder and the DCP output folder to where ever you like and build it.

Load PngComponentsD10.dpk in and edit the project options to set the Output
folder and the DCP output folder to where ever you like and build it.

Load PngComponentsD10D.dpk in and edit the project options to set the Output
folder and the DCP output folder to where ever you like and build it.

Now you can install PngComponentsD10D.bpl in BDS2006 and you are done.
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.