- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
How do I modify the call in my solution to make it compile okay with the 64bit compiler.
(I use ivf 11.0.075 [Intel 64].)
Compiling with 32bit version works.
I tried other procedures from ifwbase with similar error.
error #6580: Name in only-list does not exist. [MAKELANGID]
Thanks
/Magnus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[fortran] program Console1 use ifwinty implicit none integer iret interface !lib=ifwin.lib integer(2) function MakeLangID (usPrimaryLanguage, usSubLanguage) !DEC$ ATTRIBUTES DEFAULT :: MakeLangID !DEC$ IF DEFINED(_M_IX86) !DEC$ ATTRIBUTES STDCALL, ALIAS : '_MakeLangID@8' :: MakeLangID !DEC$ ELSE !DEC$ ATTRIBUTES STDCALL, ALIAS : 'MakeLangID' :: MakeLangID !DEC$ ENDIF integer*2 usPrimaryLanguage integer*2 usSubLanguage end function MakeLangID end interface iret = MakeLangID(int2(LANG_NEUTRAL),int2(SUBLANG_DEFAULT)) end program Console1 [/fortran]
I have found that in 64 bit version of ifwbase module is not interface to MakeLangID so I copied it from ifwbase.f90 (on my PC c:/Program Files (x86)/Intel/Compiler/11.1/054/include/ifwbase.f90)
I did not search why it is.
Jakub
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[fortran] program Console1 use ifwinty implicit none integer iret interface !lib=ifwin.lib integer(2) function MakeLangID (usPrimaryLanguage, usSubLanguage) !DEC$ ATTRIBUTES DEFAULT :: MakeLangID !DEC$ IF DEFINED(_M_IX86) !DEC$ ATTRIBUTES STDCALL, ALIAS : '_MakeLangID@8' :: MakeLangID !DEC$ ELSE !DEC$ ATTRIBUTES STDCALL, ALIAS : 'MakeLangID' :: MakeLangID !DEC$ ENDIF integer*2 usPrimaryLanguage integer*2 usSubLanguage end function MakeLangID end interface iret = MakeLangID(int2(LANG_NEUTRAL),int2(SUBLANG_DEFAULT)) end program Console1 [/fortran]
I have found that in 64 bit version of ifwbase module is not interface to MakeLangID so I copied it from ifwbase.f90 (on my PC c:/Program Files (x86)/Intel/Compiler/11.1/054/include/ifwbase.f90)
I did not search why it is.
Jakub
- 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
Thank you very much!
Adding the interface solved my compile problems.
Regards,
Magnus

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