- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In trying to figure out variants, I found that the variant example works properly on a Windows 98 PC, printing out:
Compaq Visual Fortran 6
Press any key to continue
On a Windows ME PC it prints out:
6
Press any key to continue
It seems like either or both of ConvertStringToBSTR and ConvertBSTRToString are broken. The length returned by the two calls to ConvertBSTRToString is 1 and 1 on ME, vs. 21 and 1 on 98.
It builds with no errors or warnings on both PCs.
Any ideas?
Thanks,
Ken Goddard
Compaq Visual Fortran 6
Press any key to continue
On a Windows ME PC it prints out:
6
Press any key to continue
It seems like either or both of ConvertStringToBSTR and ConvertBSTRToString are broken. The length returned by the two calls to ConvertBSTRToString is 1 and 1 on ME, vs. 21 and 1 on 98.
It builds with no errors or warnings on both PCs.
Any ideas?
Thanks,
Ken Goddard
Link Copied
0 Replies

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