- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Is there a possibility to write debug output to the debug output window of the IDE at runtime?
Regards,
Ingo
Is there a possibility to write debug output to the debug output window of the IDE at runtime?
Regards,
Ingo
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, use the OutputDebugString API.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you,
is there a fortran interface for this function available or do I have to do this on my own?
is there a fortran interface for this function available or do I have to do this on my own?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here's ours:
Code:
!DEC$ ATTRIBUTES DLLIMPORT :: OutputDebugString !DEC$ ATTRIBUTES STDCALL, ALIAS : '_OutputDebugStringA@4' :: OUTPUTDEBUGSTRING INTERFACE INTEGER*4 FUNCTION OUTPUTDEBUGSTRING (lpOutputString) !DEC$ ATTRIBUTES REFERENCE :: lpOutputString CHARACTER*(*) lpOutputString END FUNCTION OUTPUTDEBUGSTRING END INTERFACE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much this should do the job.

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