Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

Problems handling dialog boxes in IVF compiler

intel_ip
Beginner
495 Views

I recently purchased Intel Visual Fortran 11.1 and while trying to port my Fortran Windows application program over from CVF 6.5, I am experiencing some problems with the dialog boxes portion of the program. I therefore tried executing one of the sample programs (Whizzy) provided by Intel and although it compiled and runs OK, I could not modify the dialog box or create another. I followed the instructions given in the manual and listed below, but got nowhere. I wish to run my software as a proper windowing application rather than a console one. Following the instructions listed below, I found a number of discrepancies such as:

Instruction #5 of To create a Fortran Console application:

No Finish option appeared where is the Fortran Console Application Wizard? It didnt appear available to me.

Instructions #1, #3, #4 and #5 of To open the Dialog Editor:

File menu did not have Add New Item option, although Project did

Right-clicking on .rc file in Solution View and Open With, while giving as many as 7 options did not include the Resource Editor option, so I could proceed no further.

What am I missing? I would appreciate an answer to the above, as I need to be able to create/modify dialog boxes thanks.

To create a Fortran Console application:

1. From the File menu, select New>Project...

2. Select the Intel Fortran Projects item.

3. From the list of project types, select Console Application.

4. Enter Temp as the name for the project, verify where the project will be created, and click OK.

5. In the Fortran Console Application Wizard, click Finish.

6. The Solution View displays the solution.

7. Click the plus sign (+) next to the project name to display the categories of source files, if necessary .

To open the Dialog Editor:

1. From the File menu, select Add New Item...

2. Select Resource and change the name to Temp.rc. Click Open.

3. Right-click on the .rc file in the Solution View, select Open With>Resource Editor.

4. From the Edit >menu, select Add Resource... From the list of possible resources, select Dialog.

5. Click the New button. The Dialog Editor (one of the resource editors) appears on the screen as shown below.

0 Kudos
3 Replies
ZlamalJakub
New Contributor III
495 Views
There is not Resource editor in Visual studio partner edition shipped with intel fortran.

I am using resource editor from CVF.

Jakub
0 Kudos
Robert_van_Amerongen
New Contributor III
495 Views
My experience with a resource editor was so bad (Lahey in combination with VS2003) that since that time I only edit thesefiles directly with an ascii-editor. If you are unfamiliar with the content of these files, take a look at "Programming Windows, Fifth Edition" by Charles Petzold. Chapter 10 and, more important for your situation, chapter 11. There areexamples that clearly explains these files. Succes!!

Robert
0 Kudos
Xiaoping_D_Intel
Employee
495 Views

Those instructions in the document is for VS2003 IDE. In VS2008 Shell IDE the Fortran Console Application Wizard in step 5 no longer exists so the step can be safely ignored.

Some features of the full Visual Studio product like "Resource Editor" are not included by Microsoft Visual Studio 2008 Shell. To use the resource editor as described in the document you need a copy of the full Visual Studio products supported. As a substitute you can use a third-party tool: ResEdit* (http://www.resedit.net/). More detail info about the system requirements can be found in the product release notes.

Thanks,
Xiaoping

0 Kudos
Reply