Subject need help writing a unicode collation
Author martinknappe
hi all
i really really need help getting this done; i've looked at it over
and over again and i can't see what i'm doing wrong.
i'm trying to write a custom unicode_fss collation for interbase 1.5
i've followed the instructions under

http://www.brookstonesystems.com/CollateKit.zip

I do get the example compiled and running so I can see that it works
in principle.

Now what I did was modify the example source so that it compiles a
unicode_fss instead of a win1252 collation.

This modified source can be found under
http://www.yourfilehost.com/media.php?cat=other&file=myCollation.rar

For anyone familiar with writing collations for interbase I hope it
should be easy to see what I'm trying to do here. The functions in the
collation itself (to_upper, to_key, etc) aren't yet implemented; I
only wanted to see if I can get it the collation compiled and declared
in my database).
The lc_example.c file contains the texttype object I'm trying to create.

The gdsintl2.dll file is generated with make gdsintl2.dll (maybe
compiler path in the makefile has to be modified).

Then I copied gdsintl2.dll into my firebird intl directory and made
yet another copy of it to fbintl2.dll

Next I ran test.sql, which creates a test database, defines several
procedures, declares my new unicode collation and then tries to create
a table which makes use of this new collation and that's where it all
fails; the error message is:

Error Message:
----------------------------------------
Unsuccessful execution caused by a system error that precludes
successful execution of subsequent statements.
internal gds software consistency check (can't continue after bugcheck).

Is there anyone who can help me please?

Thanx,

Martin