Hello,
I am working on upgrading a FTN95 console application to a GUI application, so my basic plan of attack is to turn the FTN95 application into a DLL and reference it in a .Net 4.0 project.
This application used to read in large XML files and use the data as its paramaters, however I am now looking at using LINQ-XSD and passing the resulting class directly to FTN95 and having it parse the data in the class in memory instead of reading a file.
Can anyone tell me about issues I might run into with this approach?
However when I pass this class directly to FTN95 there are some issues with generic type arrays for example (List<T>), where whenever I try to access their members in my FTN95 the compiler simply throws an error and says the field does not exist.
Is there anyway to use generics in FTN95 code.. ambiguously?
Also I was wondering what the easiest way to parse a .Net array in FTN95 is? and if it is possible? If not would creating a .Net extensions library for FTN95 to use be a recommended solution? And could I use a .Net extensions library to throw detailed exceptions from within FTN95 code?
Thanks, Alex.
UPDATE: I ended up using non-generic arrays on the .NET side which can be more difficult to work with and may result in some memory pressure when converting these arrays to dynamically sized ones so this solution is not ideal and can add unexpected performance pressures when trying to integrate with an FTN codebase.