Weird behavior / bug(?) with VC++ Studio 2005 (Beta 2)
- From: "David F" <David-White@xxxxxxxxxxxxx>
- Date: Thu, 16 Jun 2005 01:55:59 -0700
I am getting the following 2 error messages from the compiler:
f:\development\projects 2005\fc\fc.cpp(296) : error C2664: 'wsprintfW' :
cannot convert parameter 1 from 'LPSTR' to 'LPWSTR'
Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast
f:\development\projects 2005\fc\fc.cpp(373) : error C2664: 'FindFirstFileW'
: cannot convert parameter 1 from 'const char *' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast
My code does not have "wsprintfW" & "FindFirstFileW" !
What I do have is "wsprintf" & "FindFirstFile".
Anybody heard about such behavior of the C++ compiler?
Thanks,
David
.
- Follow-Ups:
- Re: Weird behavior / bug(?) with VC++ Studio 2005 (Beta 2)
- From: Arnie
- Re: Weird behavior / bug(?) with VC++ Studio 2005 (Beta 2)
- From: David Carlsson
- Re: Weird behavior / bug(?) with VC++ Studio 2005 (Beta 2)
- From: Nishant Sivakumar
- Re: Weird behavior / bug(?) with VC++ Studio 2005 (Beta 2)
- From: David McCabe
- Re: Weird behavior / bug(?) with VC++ Studio 2005 (Beta 2)
- From: Jochen Kalmbach [MVP]
- Re: Weird behavior / bug(?) with VC++ Studio 2005 (Beta 2)
- Prev by Date: Re: Moving from C++ to VC++
- Next by Date: How to get referenece of main() thread ?
- Previous by thread: Where is Pthread library ?
- Next by thread: Re: Weird behavior / bug(?) with VC++ Studio 2005 (Beta 2)
- Index(es):
Relevant Pages
|