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

QuickWin from Win32

khjavaid
Beginner
875 Views
Hi,
I am trying to incorporate code in Fortran that plots graphs in real time into my SDI project. I am able to compile without error but during runtime I get an error something like "cannot use quickwin in console app".
As a test, I tried incorporating SCIGRAPH into an SDI again without much success and a similar error to above.
I changed the library settings to enable multi-thread processes but to no avail. Am I right in assuming quickwin cannot be called from SDI or MDI?
If so, is there a library out there that can help me with graphing in real time. Would these graphs appear in a dialog box or can I visualise in the white space of SDI/MDI?
Thanks
Kashif
0 Kudos
5 Replies
Intel_C_Intel
Employee
875 Views
Have you looked into using the Intel Array Visualizer? It comes with IVF, but you need to select to install it during setup.
With Array Visualizer you can display graphics either in the Array Viewer program, or (for Win32 projects) one of the provided ActiveX controls. There's a sample illustrating how to use the AvGraph control: see Array Visualizer/Samples/Fortran/Sine2DWin32.
It's easist to use ActiveX controls in a dialog, but it's also possible to display a control in a MDI window.
John
0 Kudos
Steven_L_Intel1
Employee
875 Views
It's not clear to me what you mean by an "SDI project". If it were a QuickWin SDI project, then Scigraph would work fine. You seem to have a console application instead. You could change the "Use run-time libraries" to QuickWin or "Standard Graphics" (SDI) and get this working.

But John's suggestion of Array Visualizer is a good one.
0 Kudos
tropfen
New Contributor I
874 Views
Hello John,

i tried to use the given example (Array Visualizer/Samples/Fortran /Sine2DWin32). But i get an Dialog Procedure Error:

The Dialog dynamic link libaray (IFDLGnnn.DLL) is missing or not registered.

I cannot find the file on my computer. I am using IVF 9.0.019.


Thanks in advance
Frank
0 Kudos
khjavaid
Beginner
874 Views
By SDI, I mean the Windows Application selection during the project startup in IVF. This is instead of both console and quickwin applications. This iswhy it was puzzling to notice the aforementioned error regarding running in console.
I successfully integrated SCIGRAPH in quickwin but cannot do this in an SDI win32 application.
I will, now, try using Array Visualiser as suggested although it would be nice to figure how to do this using SCIGRAPH. By the way, how do you change "use run time library", I've looked in project settings.
Many thanks,
Kashif
0 Kudos
Steven_L_Intel1
Employee
875 Views
Ok, now I understand. SciGraph is for QuickWin apps only.
0 Kudos
Reply