- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Under CVF Jugoslav told me what module to use to define the structure, type etc. to use the Windows SetPriorityClass in Fortran. I can no longer find a Fortran version for IVF8.1. Can somone help?
Thanks,
Keith
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Same place - KERNEL32.
You can find the module to use by looking up the routine in the Microsoft SDK documentation and seeing which library it is in - kernel32.lib in this case. The name of the library is the name of the module.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve,
Believe it or not, I did that. The previous Fortran module declared the type of "SetPriorityClass" and probably set up a structure. The one I found in the SDK seemed to be for C++ only (Setpriorityclass.h, etc.). Will this work in IVF8.1? I haven't yet gotten it to do so, but can also try harder. Do I need to tell IVF that I'm calling a C++ function and change the character string parameters to C format as well?
Regards,
Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve,
Whoops (not enough coffe yet). I haven't declared Kernal32 as a module. I'll try that first.
Regards,
Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve,
Both the coffee and the USE kernel32 worked.
Thanks.
Regards,
Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Coffee GOOD! :-)

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