Silverfrost Forums

Welcome to our forums

Visual Studio versions

23 Aug 2017 07:06GMT #20044

I have a Microsoft action pack and it gives me all the versions of Visual Studio 2010,2013,2015,2017. To interface with the versions of AutoCAD I need to use variety of Visual Studios. The latest edition is 2017. Is FTN95 supported by 2017.

I am trying to locate where the sample *.sln files and the associated .f90 files so I can see what options I can use. I have been using C++ for triangulation routines and C# for data base type applications. I use dynamic structures in these programs but not in the old f77 programs.

In my old system I used f2c and then C or C++ with my own graphics routines. Always thought I should be using Opengl. I will need to go back and draw a line on a panel as that is the basis of most of my old Fortran code. I have used the Microsoft forms in c++ to do dialog boxes etc. I think I can change.

Any suggestions and help most welcome.

John Keays

23 Aug 2017 12:59GMT #20048

FTN95 version 8.10 supports up to Visual Studio 2015.


Admin Silverfrost Limited
11 Sep 2017 02:57GMT #20183

Thanks for the reply..

Decided to go for VS 2015 and then add the opengl library to the project.

Downloaded version of opengl and am trying to locate where the libraries are located. the sample opengl seem to bomb on the library calls.

Seems like I need to workout clearwin++ and need to go through clearwin samples too.

got plato to work okay...

Cheers

john Keays

31 Oct 2017 06:48GMT #20600

I want to see if I can get MessageBox test example working under 2015.load up the test example and it tries to update from 2008 to 2015. Seems to need systems.windows and system.windows.form as references. I am completely lost getting to the debug under checkmate/net/or win32 under release or debug. I think I need some other dlls to make it work.

Cheers

john Keays

31 Oct 2017 07:16GMT #20601

John

It's not a problem but you have posted this query under FTN77 and you are not using that compiler. Perhaps 'Support' is a better classification.

We have revisited the samples for the pending release and fixed a few issues so you may find it easier to work with the samples from the next release.

For the Message Box sample you will need to select the .NET platform. If you can't see that on the toolbar then use the 'Configuration Manager' to select .NET. From the 'Solution Explorer' window, right click on the solution and then find 'Configuration Manager'. Select 'Active Solution Platform' as .NET.

If you can wait for the next release then the new sample pack should be much easier to use.

31 Oct 2017 13:56GMT #20602

Sorry for posting in the FTN77 group.

I am using the FTN95 samples and have loaded them in Visual Studio 2010 as it seems to need to convert from visual studio 6. I am trying .NET for the MessageBox example so I use the configuration in debug .net. The link creates the executeable in the /debug/messagebox.exe okay. So the link options maybe okay. So I added the system.windows.form as a reference as I though it might need that. It uses that style when I use Plato for compiling.

Now I think I need some other dll's so it will run in Windows. Happy to bumble through to get it to work. I just need some direction.

I can try in visual studio 2015 or 2017 if that is easier.

I think I got the plugin working... It compiles.

Cheers

John Keays

31 Oct 2017 17:18GMT #20608

John

The problem with the existing sample probably relates to the project settings not missing DLLs. For example the path of the target may contain \.NET\ and this should be \NET\ (without the dot). Also the .NET version may not be consistently set. It may use version 2 at one point and version 4 at another. Use version 4 in both places.

That might fix it.

Please login to reply.