Board index » delphi » expert for BDS2006: delphi and C++ personality

expert for BDS2006: delphi and C++ personality


2006-02-10 10:16:31 PM
delphi217
Hello,
I have the component package, written in pascal, with sources that i
successfully used under BCB6. It consists of runtime package, an expert
helping to create a new application and/or certain unit types and a
designtime package. I have recompiled these under BDS2006. I created delphi
packages and set the option create all c== files. After some settings all
compiled and linked well. Package was installed. I can see the components
icons when i open delphi project and c++ project as well. But the expert
wizard tab and wizards itself are visible only under New|Delphi-Win32
project. What should be made or what registration is needed for the expert
dll to be visible also under New|C++ project cathegory
Thanks
Jarek
 
 

Re:expert for BDS2006: delphi and C++ personality

Jarek Karciarz writes:
Quote
compiled and linked well. Package was installed. I can see the components
icons when i open delphi project and c++ project as well. But the expert
wizard tab and wizards itself are visible only under New|Delphi-Win32
project. What should be made or what registration is needed for the expert
dll to be visible also under New|C++ project cathegory
You can decide where it shows up by returning something from
IOTARepositoryWizard80.GalleryCategory. If you need it in multiple places,
you need to register multiple wizards with the IDE.
Erik
 

Re:expert for BDS2006: delphi and C++ personality

Uzytkownik "Erik Berry" <XXXX@XXXXX.COM>napisal w wiadomosci
Quote
Jarek Karciarz writes:
>compiled and linked well. Package was installed. I can see the components
>icons when i open delphi project and c++ project as well. But the expert
>wizard tab and wizards itself are visible only under New|Delphi-Win32
>project. What should be made or what registration is needed for the
>expert dll to be visible also under New|C++ project cathegory

You can decide where it shows up by returning something from
IOTARepositoryWizard80.GalleryCategory. If you need it in multiple
places, you need to register multiple wizards with the IDE.

Erik
It seems, that GalleryCategory has readonly properties.
BTW: what are DisplayString and IDString for Delphi and C++ personalities?
Jarek
 

Re:expert for BDS2006: delphi and C++ personality

Jarek Karciarz writes:
Quote
It seems, that GalleryCategory has readonly properties.
You should never need to set those properties. Either you grab an
existing category, or you implement the interface yourself. Search
ToolsAPI.pas for stuff like IOTAGalleryCategory,
IOTAGalleryCategoryManager, FindCategory, and sCategoryCBuilderNewFiles for
the full details.
Quote
BTW: what are DisplayString and IDString for Delphi and C++ personalities?
Think of them as a Caption and an internal ID that the IDE uses
reference your addin (pass whatever unique string you want in there).
Erik
 

Re:expert for BDS2006: delphi and C++ personality

Thank you Erik
Jarek
Uzytkownik "Erik Berry" <XXXX@XXXXX.COM>napisal w wiadomosci
Quote
Jarek Karciarz writes:
>It seems, that GalleryCategory has readonly properties.

You should never need to set those properties. Either you grab an
existing category, or you implement the interface yourself. Search
ToolsAPI.pas for stuff like IOTAGalleryCategory,
IOTAGalleryCategoryManager, FindCategory, and sCategoryCBuilderNewFiles
for the full details.

>BTW: what are DisplayString and IDString for Delphi and C++
>personalities?

Think of them as a Caption and an internal ID that the IDE uses
reference your addin (pass whatever unique string you want in there).

Erik