- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
in a QuickWin project we´re checking a lot of things. When a check fails, we have this kind of error handling:
[fortran]
pause 'MyErrorText'
stop
[/fortran]
I don´t know if this is WIndows7 dependent, but our program opens a console window just to close it immediatly after that. And then it opens another console window and closes it. And then again and again. We can just abort it by logging off windows itself because the task manager can´t close the program because every console window gets focus.
Does anybody have this problem too?
Thanks in advance,
Markus
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve Lionel (Intel) wrote:Well, but we do :-) We have certain projects were we have a QuickWin or a WPF GUI and some calculation kernels as DLL which we use side by side. I´m not sure if we have all the sources of our DLLs... So would it be better or necessary to change the DLLs into LIBs and link them? Could I use the DLLs and prevent that there are two copies of the Fortran runtime library? Anyway: How do two copies hurt me? Thanks for the answer, MarkusWell, there's your problem. A Quickwin program can't call a Fortran DLL because there will then be two copies of the Fortran runtime library, and Quickwin depends on static linking.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve Lionel (Intel) wrote:I can´t change pause into something else in 3rd party code... As I said, from some DLLs we have no source code any more. But thanks for the explanation. I´ll see what I can do.Don't use PAUSE or anything that needs the console. You might be able to get away with it as long as you're not trying to use the console or do I/O to units open in QuickWin. Use MessageBox if you want to put out a message and wait for response.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page