Passing strings from VBA to Fortran DLL
I have a Fortran DLL created using Compaq Fortran that is called from Excel VBA. Since being switched to a machine with Intel Fortran, I could not recompile the DLL. I added the STDCALL attribute as...
View ArticleTrustwave blocks latest updates
Hi Steve,Have had problems now that we have installed Trustwave on our system. For the latest updates, it reports that either a virus was found or it was unable to scan the file (not sure if the...
View Article[Mixed F77/C++] Worked in VS2008 + IVF 10.1, doesn't work in VS2012 + IVF 13....
Hello,I have this code:C++ (file main.cpp):#include <iostream>#include <vector>#include <string>#pragma pack(2)using namespace std;extern "C"{ struct { double d1; int i1; float f1;...
View ArticleDELFILESQQ error codes
I was just fixing a bug in some codes and used the IFPORT routine i2=DELFILESQQ(gfile(1:ilen)) where gfile="C:\fullpath\filname.xls", the path is not long ilen is about 60 characters long. The file is...
View ArticleLimit on length of string returned from GETARG?
Is there a maximum length of the character variable "buffer" in the intrinsic routine GETARG?CALL GETARG(n,buffer[,status])I am making a call with the variable "buffer" defined with len=255. When I...
View ArticleUsing allocatable, target variables in derived types with ISO_C_BINDING
I'm binding Fortran code with a C dll, and I would like to have a Fortran array inter-operable with C. I currently have the following subroutine to bind the Fortran array with a C double*:SUBROUTINE...
View ArticleHow to add static library file(lib) to fortran project in VS2010?
Hi All,I am new to intel visual fortran and visual studio, can you please tell me how to add a lib file to fortran project? your help will be appreciated.Thanks in advancePraveen
View ArticleHow long do i have to wait until a post is accepted?
Hello,the current version of this forum is questionable. Why do i have to wait a couple of hours until a misterios person has approved my post? An then i have to wait again until the answering post is...
View ArticleIPO - (its pretty obnoxious)
I had the occasion to compile an old solution (13 projects, ~750 files) using w_fcompxe_2011.10.325This hadn't been compiled before with this version.In the earlier versions I had issues with...
View ArticlePROTECTED attribute
Hi,When I compile the attached simple program with all diagnostic and error checking enabled, there are no messages displayed. However, the program might be violating the Fortran standard.From Fortran...
View ArticlePUBLIC/PRIVATE module hierarchy
When you have PRIVATE in a module header all entities in any modules that are inclued with USE automatically become private. Is they any way of modifying this behaviour so that public entifities in the...
View ArticleThe simultaneous use of coarrays and parallelization
I have a general question concerning the simultaneous use of coarrays and parallelization using Intel Fortran on Windows 7.I have a program which is compiled for coarray use. The computer I am using...
View Articleodd problem
Large project -- getting an access violation with certain compiler settings.If try to put it in debugger or add any checks (i.e. array bounds, etc), it runs. Adding /fpe:0 and it runs. I'd like to say...
View ArticleSLEEPQQ
I have always used sleepqq function with 'use ifport as per the help file'. So how does tthe following resolve istelf, is there a sleepqq intrinsic/extensionm buildt into ifort now?program Console1...
View ArticlePassing info about an array
I treied using both DIM and LEN to pass information about an array I inputto a subroutine. For example:REAL A(-23:35)CALL SUB1(A)Do I explicititly have to tell it how big the array is in a...
View ArticleTwo Independent Modules with a Global Variable with Same Name
I am not sure if this is possible, but I have two fortran modules that a subroutine I have written needs to access. The problem is the global variable in the modules have the same name. In python you...
View ArticleMore about bounds checking
In this test program, I can input a negative row number,and it happily does not care whether its within the boundsof the array A (in the calling routine), but then when I input anegative COLUMN number,...
View ArticleHelp with the design of a code with object containment !
Hello,I would like to make a class "A" which contains other classes "A_contained_1" and "A_contained_2" (they may also contain other classes, e.g., like "A_contained_1" contains...
View ArticleBug in the compiler (Invalid_sym_id)
In our Fortran project we have got quite many "internal compiler error" errors since we started using OOP features more often.Usually this happens due to the mistake in the code. But still it is really...
View ArticleOne stupid question concerning IFs and GOTOs.
I wonder if exists any way to translate this assembler similar fortran code into the modern code without IF-THEN-ELSE? How to minimize the interminable conditional constructs? If my question is very...
View Article