When using a class in a hand-coded project you want to read the INC file to see what DEFINES are required.
In this case CryptoNite.Inc. The line you're looking for is the class declaration;
csError Class(),Type, Module('CryptoNite.clw'),Link('CryptoNite.clw',StringTheoryLinkMode),DLL(StringTheoryDLLMode)
the two defines are listed there;
StringTheoryLinkMode
and
StringTheoryDLLMode
These need to be set appropriately. If this is a "single app" or Data DLL app, then they should be
StringTheoryLinkMode=>1
StringTheoryDLLMode=>0
for other apps in a multi-app suite they should be
StringTheoryLinkMode=>0
StringTheoryDLLMode=>1
** Note ** Cryptonite is using the same settings as StringTheory. This is because of a limitation in Clarion 6. Early next year it will likely change to using it's own defines, so make a mental note to come back and chack when your app starts crashing next time again....