Re: Generated Headers - Quite the Can of Worms

Vin Shelton <[email protected]>
Newsgroups gmane.emacs.xemacs.beta
Message-ID <CACeGjnU_gzkNdHS1p+VwScc64keHuLuOVJ_WVP==5wkRoiXhaw@mail.gmail.com>
Hi, Henry et al,

On Wed, Apr 1, 2015 at 12:22 AM, Henry S. Thompson <[email protected]> wrote:
> Some apparently mingw versions of winuser.h I can find on the web
> have the non-const version. . ., but I can't immediately find any
> discussion of the issue.
>
> Since the only function with the LP[C]WSTR issue which is actually
> _called_ by XEmacs is GetNamedSecurityInfo, for the time being I tried
> editting intl-encap-win32.c to skip all the others, editting
> w32api/aclapi.h to change LPCWSTR to LPWSTR and then rebuilding
> intl-auto...
>
> Ah -- I guess I see what you were worrying about.  GetWindowLongPtr
> and friends are not supported by VS6.  Full stop.  What level is the
> VS6 requirement/where is it coming from?  VS2008 an option?

I have been thinking about this, too.  The only thing tying us to VS6
is that it works and converting to VS2010 would require some effort.
With 21.4 reaching the EOL (I hope not to make any more setup kits for
21.4), this is a good time to start thinking about building the 21.5
branch with a newer toolset.

VS6 was, actually, a good compiler for its day, but that day is long
past.  I would encourage us to move to the newest free (as in beer)
version of Visual Studio available.
https://www.visualstudio.com/en-us/products/visual-studio-express-vs.aspx
seems to indicate that Express 2013 is the latest free version
available.

I think Mats has patches to support VS2010 - Mats, can you post your
patches?

  - Vin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.