Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

Accessing Windows Management Instrumentation (WMI) from FORTRAN?

twmoynihan
Beginner
382 Views
Hello,
Is it possible to access Windows Management Instrumentation (WMI) directly from an Intel Fortran console application?
I have been coding Fortran and C applications for some years, includinginter-language calls, but unfortunately I am finding myself to be a complete novicein the realm of Windows programming!
I have managed to access WMIfrom a simple C++ console application, but am having a very frustrating time trying toplace code in a Cprocedure which will link to a Fortran console application.Errors include several procedures'already defined' (new, delete, delete[]) and a couple unresolved externals (_beginthreadex, _endthreadex).
I have found reference to Multiple C Library Syndrom (MCLS) and this may be related to that, but have not been able to resolve my problems as yet.
My configuration is Intel Fortran Version 8.0.1877.2003 and Microsoft Visual C++.net Standard 2003
Hoping there is a better way...
Thank you in advance for any assistance you can provide.
Sincerely,
Tom
0 Kudos
0 Replies
Reply