On 10/09/12 21:00, villain749 wrote:
I decided to try and recompile a plugin for the Nuke 7 beta with VS 2010
(windows 7). I keep getting an error at compile time.
1>C:\Program Files\Nuke7.0v1b38\include\Build/OS/fnWindows.h(106): error
C2664: 'GetVersionExW' : cannot convert parameter 1 from
'LPOSVERSIONINFOA' to 'LPOSVERSIONINFOW'
1> Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
I was just wondering if this is something on my end, or if other people
are experiencing something similar?
Sounds like something unicode-related...
Looks like our stuff is built for Unicode (with Wide character support),
but the plugin you're building isn't (it's looking for the Ascii version
of the function).
Cheers,
Peter
--
Peter Pearson, Software Engineer
The Foundry, 6th Floor, The Communications Building,
48 Leicester Square, London, UK, WC2H 7LT
Tel: +44 (0)20 7434 0449 Web: www.thefoundry.co.uk
The Foundry Visionmongers Ltd.
Registered in England and Wales No: 4642027
_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev