Two TSimpleGraph versions in the Delphi IDE

Please post bug reports, feature requests, or any question regarding the DELPHI AREA products here.

Two TSimpleGraph versions in the Delphi IDE

Postby kokkoras » April 13th, 2006, 1:09 pm

Is this possible? How? Renaming just the file doesn't work.
I want to experiment with the latest version without removing v. 1.67 used in a project of mine.

Thanks
Fotis
User avatar
kokkoras
Moderator
Moderator
 
Posts: 317
Joined: March 12th, 2005, 11:19 pm
Location: Thessaloniki, Greece

Postby HPW » April 13th, 2006, 5:15 pm

Have you try 2 different directory-names and then rename each?
Only the original name is in the delphi path.
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 230
Joined: February 25th, 2006, 10:19 am
Location: Germany

Postby Kambiz » April 13th, 2006, 5:20 pm

I think you should rename also the name of resgistered component (e.g. TSimpleGraph) to something else.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Postby kokkoras » April 13th, 2006, 5:24 pm

HPW wrote:Have you try 2 different directory-names and then rename each?
Only the original name is in the delphi path.


I tried with a different name and during compile it complaint about same names like TLink, etc. It was in a defferent dir and package. I recall the office COM server components for Office97 and 2000. Only one was possible to install at the same time. Strange. sounds like Delphi keeps all the definition in a central place and doesn't allow dublicate names. It's silly.
Fotis
User avatar
kokkoras
Moderator
Moderator
 
Posts: 317
Joined: March 12th, 2005, 11:19 pm
Location: Thessaloniki, Greece

Postby kokkoras » April 13th, 2006, 5:24 pm

Kambiz wrote:I think you should rename also the name of resgistered component (e.g. TSimpleGraph) to something else.


Where is that name defined?
Fotis
User avatar
kokkoras
Moderator
Moderator
 
Posts: 317
Joined: March 12th, 2005, 11:19 pm
Location: Thessaloniki, Greece

Postby Kambiz » April 13th, 2006, 10:06 pm

kokkoras wrote:
Kambiz wrote:I think you should rename also the name of resgistered component (e.g. TSimpleGraph) to something else.


Where is that name defined?


I meant you have to rename all "TSimpleGraph" occurrences in the source file to something else.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Postby kokkoras » April 14th, 2006, 12:13 am

Kambiz wrote:I meant you have to rename all "TSimpleGraph" occurrences in the source file to something else.


Yes, I did that and it complaint about TGraphLink already defined. I think I must rename all the classes, which I don't like.
Fotis
User avatar
kokkoras
Moderator
Moderator
 
Posts: 317
Joined: March 12th, 2005, 11:19 pm
Location: Thessaloniki, Greece

Postby Kambiz » April 14th, 2006, 12:16 pm

It is because the component registers graph object classes in to Delphi via RegisterClass procedure. Without registration, the component cannot load and paste graph objects.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Postby kokkoras » April 14th, 2006, 7:40 pm

Kambiz wrote:It is because the component registers graph object classes in to Delphi via RegisterClass procedure. Without registration, the component cannot load and paste graph objects.

Yes. I've figured that. Never mind.
Fotis
User avatar
kokkoras
Moderator
Moderator
 
Posts: 317
Joined: March 12th, 2005, 11:19 pm
Location: Thessaloniki, Greece


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 1 guest

cron