Re: [Mingw-w64-public] DWORD_PTR implemented as long long unsigned int

2014-12-18 Thread lh_mouse
t regards, lh_mouse 2014-12-19 - 发件人:Jim Michaels 发送日期:2014-12-19 04:16 收件人:mingw-w64-public@lists.sourceforge.net 抄送: 主题:Re: [Mingw-w64-public] DWORD_PTR implemented as long long unsigned int no, strangely enough, https://support.microsoft.com/kb/259693?wa=wsignin1.0 using the code idea for FORM

Re: [Mingw-w64-public] DWORD_PTR implemented as long long unsigned int

2014-12-18 Thread David Macek
On 18. 12. 2014 21:16, Jim Michaels wrote: > using the code idea for FORMAT_MESSAGE_ARGUMENT_ARRAY: > http://msdn.microsoft.com/en-us/library/windows/desktop/ms679351%28v=vs.85%29.aspx > > it says va_list in this case is a * to array of DWORD_PTR. so what exactly is > a DWORD_PTR? I had assumed

Re: [Mingw-w64-public] DWORD_PTR implemented as long long unsigned int

2014-12-18 Thread Jim Michaels
esday, December 16, 2014 4:46 PM Subject: Re: [Mingw-w64-public] DWORD_PTR implemented as long long unsigned int On 16. 12. 2014 13:19, Ruben Van Boxem wrote: > 2014-12-16 9:56 GMT+01:00 Jim Michaels <mailto:jmich...@yahoo.com>>: > >    usually, any microsoft _PTR is a *, but DWORD

Re: [Mingw-w64-public] DWORD_PTR implemented as long long unsigned int

2014-12-16 Thread David Macek
On 16. 12. 2014 13:19, Ruben Van Boxem wrote: > 2014-12-16 9:56 GMT+01:00 Jim Michaels >: > > usually, any microsoft _PTR is a *, but DWORD_PTR is defined as long long > unsigned int. > winerrstr.cpp:83:24: error: invalid conversion from 'DWORD* {aka long > un

Re: [Mingw-w64-public] DWORD_PTR implemented as long long unsigned int

2014-12-16 Thread Ruben Van Boxem
2014-12-16 9:56 GMT+01:00 Jim Michaels : > > usually, any microsoft _PTR is a *, but DWORD_PTR is defined as long long > unsigned int. > winerrstr.cpp:83:24: error: invalid conversion from 'DWORD* {aka long > unsigned int*}' to 'DWORD_PTR {aka long long unsigned int}' [-fpermissive] > DWORD_PTR

[Mingw-w64-public] DWORD_PTR implemented as long long unsigned int

2014-12-16 Thread Jim Michaels
usually, any microsoft _PTR is a *, but DWORD_PTR is defined as long long unsigned int.winerrstr.cpp:83:24: error: invalid conversion from 'DWORD* {aka long unsigned int*}' to 'DWORD_PTR {aka long long unsigned int}' [-fpermissive]     DWORD_PTR *dwpArray;     dwpArray=(DWORD_PTR*)new DWORD_PTR[