I've uploaded an example which shows how you can call a C# function from lite-c, here's the link to the downloadable project link

i too think that using c# for the scripts is most likely easier than using lite-c!


get the C# wrapper:
for A7.85.4 and A8.30.4, Version 2.3.9
at http://acknexwrapper2.matthias-auer.net/ or visit the thread