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

Window Closing Event?

reneeculver
Beginner
433 Views
I know what it is.... I don't know it's syntax for a console process.

Renee
0 Kudos
7 Replies
Jugoslav_Dujic
Valued Contributor II
433 Views
SetConsoleCtrlHandler + write your own HandlerRoutine.
0 Kudos
reneeculver
Beginner
433 Views
Well that was adequately confusing. I'm using Ifort and you gave me an MS routine. How do the two relate?

I can see where it would be nice but it has to be called by ifort unless there is a way to call it and I just haven't run into it yet.

Renee
0 Kudos
onkelhotte
New Contributor II
433 Views
You can use Win32 Methods with IVF.

Just "use ifwin" and you can call them.

Markus
0 Kudos
reneeculver
Beginner
433 Views
Well then thank youi!!! I bet "use" is C?

Renee
0 Kudos
jimdempseyatthecove
Honored Contributor III
433 Views
Renee,

"use" is more analogous to C++'s

"#include PreCompiledHeader" combined with Link of .obj file containing code+data (if any)of precompiled header

Jim Dempsey

0 Kudos
reneeculver
Beginner
433 Views
Can someone give me an example of a window-closing event?

Renee
0 Kudos
reneeculver
Beginner
433 Views
I have been researching this and will it also be useable on 64 Bit software?

Also how does someone let ifort know that win32 software is to be called?

Renee
0 Kudos
Reply