Sudden internal compiler error
Recently I've started getting several errors like C:\Development\Projects\MicrOsiris\SUBS\GCAT.F90(1): error #7001: Error in creating the compiled module file. [GCAT__genmod]fortcom: Fatal: There has...
View Articlefatal error RC1015: cannot open include file 'afxres.h'
Hello,I recently had to reinstall my Visual Studio 2008 standard edition and Intel(R) Visual Fortran Compiler XE 13.1.0.149 [IA-32]. A copy of Help|About is given below.Now, although the Visual Studio...
View ArticleCompile problem with nested type
Here is the code in Test.f90!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!module type_definitionstype AAinteger :: idn type(BB),pointer :: n end type AAtype BBinteger :: id...
View ArticleCompile problem with nested type
module type_definitionstype AAinteger :: idn type(BB),pointer :: n end type AAtype BBinteger :: id type(AA),pointer :: m end type BBend module type_definitionssubroutine findx(kk)use...
View ArticleFortran calling C unresolved external symbol _memcpy
Have seen lots of other posts that seem tantalizingly close, but am still missing something.I'm converting an old mixed language CVF/VC 6.0 project to IVF 11.1/VC 2005. I let the dev environment...
View Articleerror LNK2019: unresolved external symbol _DGESV referenced in function _MAIN__
Hello, I am trying to run the Hello Word example for LAPACK in my Microsoft Visual Studio 2010 installation and I got the following messages: 1>------ Build started: Project: Console1,...
View ArticleCalling VB.NET dll from Intel Visual Fortran Console Application
Dear All,I'm trying to call a VB.NET dll (written in Visual Studio 2010 Professional) using a Fortran console application (Intel Parallel Studio XE 2011), but am struggling.To try and work out where I...
View ArticleThe number of actual arguments cannot be greater than the number of dummy...
The following code is giving the compile-time error #6784: The number of actual arguments cannot be greater than the number of dummy arguments.SOURCE1.fCHARACTER*4 ModeINTEGER IflagREAL(1000) aINTEGER...
View ArticleHow to return a value from a fortran function
Hello, I would like to return a value from a function and receive it in the main program. It gives two errors. Can you make the following fortran code work? program trial real*8 a,b,c...
View ArticleHow to return a value from a fortran function
I would like to return a value from a function to the main program. I would also like to be able to use that value at the main function. Here is an example that doesn't work. program trial...
View ArticleError #7977: The type of the function reference does not match the type of...
Hi, I have a function that got the error #7977 when i compiled it. This code is to get the available physical memory during the program run and the compile platform is win32 function int4to8(src)...
View ArticleHow to pass a structure containing variable-sized array from C# to Fortran DLL?
Hello!I'm trying to establish the interaction between С# application and Fortran DLL using structure marshaling. The main purpose is to pass structure containing a lot of variables including several...
View Articledummy alias cause result wrong.
I have an old program which can get correct result in CVF+VS6. Now I have to make the program work correct in the IFC+VS2010, but i cannot make it.Please help me.Through the program, there are a lot of...
View ArticleMemory issue with large size array
We are using x64 compiler and defining large size arrays below and occur the memory issue.real presth(12,1441,5000,3),presmx(12,5000)I heard of that in 32-bit Windows, about 1.75GB total address space...
View Articleerror data type
hello, the program give me en error on the subroutineSUBROUTINE tteta (ttx,tty) use ifqwin INTEGER(2) line,ttx,tty TYPE (xycoord) xy CALL moveto(INT2(ttx+2),INT2(tty),xy) line=lineto(ttx,tty+4)...
View ArticleHelp with crash
I am getting a crash on a write statement that I don't understand. Any help appreciated.The code crashes when allocating memory on the heap it appears. The line in question is the first executable...
View ArticleLicense file
Hello,I used to receive a new serial number and new license file after support renewal.This time my serial number did not change after support renewal and I did not receive a new license file.My...
View ArticleQuickWin and Windows API
I have created a Fortran app with QuickWin which makes use of a few user32 Windows API calls. Why? The app needs to build a dynamic menu structure where menu items come and go according to the whims...
View Article