Re: msi: Add an initial implementation of the PathEdit control

2006-08-23 Thread James Hawkins
On 8/23/06, Mike McCormack <[EMAIL PROTECTED]> wrote: James Hawkins wrote: > @@ -65,6 +65,7 @@ struct msi_control_tag > float progress_current; > float progress_max; > WCHAR name[1]; > +DWORD attributes; You shouldn't add members after name[1], as the string in name[] will o

Re: msi: Add an initial implementation of the PathEdit control

2006-08-23 Thread Mike McCormack
James Hawkins wrote: @@ -65,6 +65,7 @@ struct msi_control_tag float progress_current; float progress_max; WCHAR name[1]; +DWORD attributes; You shouldn't add members after name[1], as the string in name[] will overwrite them. +sz = 0x20; +buf = msi_alloc( sz*siz