Software Archive
Read-only legacy content
17060 Discussions

VARIANT Example Breaks on Windows ME

Intel_C_Intel
Employee
299 Views
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
0 Kudos
0 Replies
Reply