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

DeleteFile call from Fortran DLL

aparker
Beginner
623 Views
I have a Kernel32:DeleteFile call in the midst of a loop with FindNextFile, ect. This is in a Fortran DLL called by VB in Windows 2000. The files are found and deleted just fine, but for each DeleteFile call a cmd.exe window flashes onto the screen.

How can I get rid of these?
0 Kudos
2 Replies
Steven_L_Intel1
Employee
623 Views
Interesting - I've never seen that behavior. I'm guessing there's something on your system monitoring deletes, though it does seem odd....

Steve
0 Kudos
aparker
Beginner
623 Views
My bad. Well, partially. This was a file-management issue where an older object file was compiled, and the newer Fortran did not prompt the recompile.

The DeleteFile works just fine without any CMD.EXE windows coming up.

The other issue is from Compaq Fortran's interface with Visual Source Safe. I'll log this as a new issue.
0 Kudos
Reply