[Gambas-devel] Problem with .component file

PV oreip at ...1...
Sat May 21 21:58:57 CEST 2005


Hi all,

I am writing a component for Gambas which adds four new hash and cypher classes 
(MD5, SHA1, SHA2 and AES), but I am experiencing a strange problem with the 
relative component file.
In fact, if I use a gb.hash.component file like

[Component]
Key=gb.hash
Name=Hash functions
Name[it]=Funzioni di hash
Author=Pierluigi Vittori
Alpha=1

everything works fine, but if I add one more line like

Controls=MD5,SHA1,SHA2,AES

then, upon opening in gambas a project which includes the new library gb.hash, 
everything stops and an error shows up saying "Cannot open project file. Void 
key. FToolBox.AddToolBar.36"

If i remove the "Controls=" line, everything goes back to normal.

What am I doing wrong? :-)

TIA,
Piero

P.S. If you are interested in this new component, please let me know and, when 
it is finished, I can send you the source code.




More information about the Devel mailing list