- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I made a FORTRAN DLL that i use on C# program (VS2005) - Inel fortran 11.0 -
All work fine when i use my Fortran DLL on a WinForm application. But I've got an error when i 'use it on Console Application. Error : "Forrtl : Severe (38): error during write, unit -1, file CONOUT$ ...".
Here my console application
"
I made a FORTRAN DLL that i use on C# program (VS2005) - Inel fortran 11.0 -
All work fine when i use my Fortran DLL on a WinForm application. But I've got an error when i 'use it on Console Application. Error : "Forrtl : Severe (38): error during write, unit -1, file CONOUT$ ...".
Here my console application
"
namespace ConsoleApplication1
{
class Program
{
[DllImport("aaa.calib.for.dll")]
private static extern void SIMUL([In] string Path, [In] ref Int32 PathLentgh);
static void Main(string[] args)
{
String Path = @"D:\Calib\1";
Int32 PathLentgh = Path.Length;
SIMUL(Path, ref PathLentgh);
}
}
thks
Link Copied
8 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which specific 11.0 update are you using? There was a problem at one point in 11.0 where this error could occur, but it was fixed in 11.0.075. (You would have to rebuild your DLL.) 11.1.038 is current.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Steve Lionel (Intel)
Which specific 11.0 update are you using? There was a problem at one point in 11.0 where this error could occur, but it was fixed in 11.0.075. (You would have to rebuild your DLL.) 11.1.038 is current.
Hello,
I use 11.0.61
I update compiler with 11.1.038 version but now i'couldn't open my Visual Studioproject (no specific error, just "VS2005 stop to work").
I work with VS2005 on Vista PRO (I apply VS2005 SP1 for Vista on my computer)
I try to create a new DLL Fortran project on it's look work but i must set all compiler options as the first project.
Thereis not a solution to continue to use my project created on 11.0.61 ?
Note : I think that the problem du to configuration option. I copy configuration options to my 11.0.61 project file to my 11.1.038 project file and VS 2005 stop to work to...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your 11.0 project should open without error. You will get a prompt to convert it to the 11.1 format which you should allow it to do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Steve Lionel (Intel)
Your 11.0 project should open without error. You will get a prompt to convert it to the 11.1 format which you should allow it to do.
it is not the case... my 11.0 project goes on error before the end of loading...
My 11.0 project is composed of 3 projects (first project is Fortran DLL, the 2 other projects are C# projects (to test Fortran DLL))
I left Fortran DLL to a new project and rebuild it and it's ok but i must set all compiler options as 11.0 project (but i can't open 11.0 project to see them ...)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Would you please ZIP the .sln and .vfproj files and attach the ZIP here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Steve Lionel (Intel)
Would you please ZIP the .sln and .vfproj files and attach the ZIP here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Fortran project opens fine for me as long as I put the .vfproj into a GTS.CALIF.FOR subfolder under the solution folder.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I made a new project and set options again. My project work fine now... The 11.1.038 version is ok
Thks

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page