Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Problem starting SDI project

phil_ede
Beginner
732 Views
I am using Intel compiler 11.1.067 in Visual Studio 9.0.21022.8 RTM. I need to add a GUI to one of my console functions. I am unable to follow the instructions in the help file because they dont seem to apply to my compiler. In any new project my Toolbbox window is empty. Do I have to create a form (as in C++ Builder) ? I read an instruction to add a resource file to a new Console application, using File/Add/ ... but I am only offered New Project,New Website, Existing Project, Existing Website. I am then told to Right click on the resource file and open it in the Resource editor. However, a resource file .rc does exit when I create a new SDI project but when I right click on it I am offered a 8 editors, excluding a Resource editor. Is this supposed to open a form , ie someting to drag controls onto ? Advice would be appreciated.
0 Kudos
5 Replies
Steven_L_Intel1
Employee
732 Views
If you are using Visual Studio 2008 Shell, the Resource Editor is not available as Microsoft provides this only as part of Visual C++. There is a free, third-party resource editor ResEdit that works fairly well. You have to run it outside of VS but you can use the resource it creates in your project.
0 Kudos
phil_ede
Beginner
732 Views
Thank you Steve.
.
I have downloaded the installation file for the Resource editor which requires 7-zip, which I have downloaded and it will not install, it says "This installation package is not supported by this processor type". I have a new Intel i7 running Windows 7 x64, and have downloaded the appropriate packages. I am told it needs the SDK platform. It sounds to me like I am up against a never ending battle installing lots of loosely connected items that may not interface.
.
I last worked in Fortran full time 18 years ago, since then I have been working in C++ Builder. I have a number of third party console programs, mainly written in the US govt/academic community and one or two would benefit from a Windows GUI, but I dont know where to start using the Intel compiler (they mostly compile OK as console applications). I work alone, I am not part of an academic community, there must be some guidance somewhere for a complete novice (In Intel Fortran 11.1) like myself to begin. The help information is no help at all.
.
So there is no resource editor. What else is missing ? Why do I have an empty Toolbox window ? It contains a message saying "There are no useable controls in this box. Drag an item onto this text to add it to the toolbox" Where do I drag them from ?. What do I do with them when I have got them. The very existence of this window suggests there should be a form (perhaps it has another name) to drag them onto, if so how do I get one ?
.
To get a kick start I have tried running a few sample programs, which exit with code 0. I have tried starting project of various types and building and running them, and get an error message saying "Failed to initialize"

Advice would be most appreciated
Phil Ede
0 Kudos
Steven_L_Intel1
Employee
732 Views
The resource editor is the only significant thing missing. The other is the CVF Project Converter.

I am baffled by your experience with 7-Zip, as I use this daily on an x64 system. I don't think you need the Windows SDK, as Intel Fortran includes "enough" of that. but ResEdit may not be able to find it. The Windows SDK is a free download.

I don't know what you're seeing regarding the toolbox window. Maybe some others here may recognize it.

If all you want to do is take a console application and give it a Windows GUI, then I recommend you use the QuickWin feature. Just create a project with the QuickWin project type, add your console sources and build. It will be a LOT more work to convert this to a Windows GUI application (for example, you can't do Fortran I/O to a dialog box control!)
0 Kudos
abhimodak
New Contributor I
732 Views
Hi Phil

I am not sure if this is going to help so apologies in advance...

If the resource editor does not come with the Sehll editon" perhaps you can get it with the free Visual Studio C++ expression edition? Hope that doesn't cause any harm.

For an Intel Fortran project, I think, the toolbox will show the controls in the toolbox only when the resource file is opened with the resource editor and the resource is active (double clicked and being worked on).

Abhi
0 Kudos
Steven_L_Intel1
Employee
732 Views
Visual C++ Express Edition does not include the resource editor either.
0 Kudos
Reply