The text structure is defined in Ln 404, atypes.h, found in GStudio6\sdk_engine
As long as you are including the file in your project as the samples do, you should have no problem using and accessing the TEXT type from a DLL using the SDK. No lite-c required.