Silverfrost Forums

Welcome to our forums

64 bit conversion to .NET

23 Aug 2024 5:53 #31517

Converted W32 to 64 bit with little difficulty. But then conversion to .NET has taken longer to achieve.

Running the EXE displays the console window and then stops. Using the /WINDOWS link option removes this console.

My FTN95 code includes WINIO@ and other Clearwin functions. I am lead to believe I must use .NET user interface calls.

Eventually, I will want to experiment with multi-threading. For now, I just want prove my original code and be able to go thru the I/O on the interface screens built with WINIO@

What are these .NET interface calls ?

24 Aug 2024 8:33 #31524

I do not use NET, but probably useful will be couple multithreading examples for NET which I tested before. One was nice graphical demo example made by Silverfrost itself and published together with their very handy Clearwin/NET/OpenGL demos ( as a prototypes i use them all how good they were) , and another was mine, published here dozen years ago which extremely surprised me because it gave the acceleration much more than just the number of processor cores - additionally up to the factor of 2 if i remember correctly, i had 4 cores processor at that time but the acceleration was 7-8 and that was floating point acceleration not just integer - till now I have not resolved what was the reason for that miracle. May be you will eventually find the clue here.

2 Sep 2024 9:21 #31529

Thanks DRR. My initial problem was to get a .NET EXE built which didn't take too long in the end. But to then get it running meant realising that I should use a listfile and name the individual routine names rather than *.dbk in a command line approach. More examples could have helped here. So, actually creating a .NET from 32 bit has actually proved fairly straight forward without too much changing of code; essentially, introducing integer(7) where required.

Anyway, I have now hit a JIT limitation problem and suspect the amount of code/data (for the named routine) has blown the compiler. This will need investigating.

One day, I might get to playing with multi-threading.

Please login to reply.