Porting VisualD to Windows 8 and Visual Studio 11
Rainer Schuetze
r.sagitario at gmx.de
Sun Jun 10 09:51:22 PDT 2012
On 6/10/2012 12:35 PM, Roman D. Boiko wrote:
> On Sunday, 10 June 2012 at 10:25:59 UTC, Dmitry Olshansky wrote:
>> I was about to say that it works for me on VS11 RC :)
> Anyway it would be great to build with Windows 8 RC SDK, so my changes
> are potentially useful (but not necessary, nor important).
>
As you don't need the VS2012 SDK or the Windows 8 SDK to build Visual D,
it does not seem urgent to do the translations, but it might be nice to
have them as this is a fast way to update the interface headers to a new
OS version. The recent version of the converter also translates "#ifdef
_WIN64" to "version(Win64)" instead of throwing the code out, but I have
not done a lot with it yet.
So far I have the beta of VS 2012 installed, and from the files you
added to the translation, it seems that the release candidate has a few
more files. I'll update my VS11beta to VS2012rc and will have a look.
At first glance, your way to translate the shared/um files seems fine,
but I have yet to understand the text replacements. Those
_null_terminated_ annotations (and similar) should probably be
translated to their Win7 SDK version identifier __nullterminated. That
way they might get handled correctly by the regex expressions.
Rainer
More information about the Digitalmars-d
mailing list