- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In ADVAPI32.f90 in compiler 18.0 we have:
INTERFACE FUNCTION GetUserName( & lpBuffer, & nSize) use ifwinty integer(BOOL) :: GetUserName ! BOOL !DEC$ ATTRIBUTES DEFAULT, STDCALL, DECORATE, ALIAS:'GetUserNameA' :: GetUserName !DEC$ ATTRIBUTES REFERENCE, ALLOW_NULL :: lpBuffer character*(*) lpBuffer ! LPSTR lpBuffer integer(LPDWORD) nSize ! LPDWORD nSize END FUNCTION END INTERFACE
Using this causes a crash as nSize is in/out and should be passed by reference. I have applied a local fix but it needs updating....
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Best to report this through the Intel Service Center.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Done
- 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
Indeed Robert, the interface is wrong for nsize.
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