[Wine]Re: Program Crashes on Startup

Geoff Streeter geoff at dyalog.com
Thu Mar 24 03:24:51 CST 2005


At 2005-03-23 10:52 -0600, Ryan May wrote:
>Rein Klazes wrote:
>>On Tue, 22 Mar 2005 10:23:17 -0600, you wrote:
>>
>>>I can see two possible modes of failure above.  The first are the lines 
>>>above with a CreateFileW that are passed a parameter of 
>>>"\ffcc\ffcc\ffcc\ffcc".  I'm not sure why they look like they do so they 
>>>just look suspicious.  However, the program does seem to continue on, so 
>>>maybe not.
>>
>>Such strings look like some uninitialized memory. Note also the
>>"cccccccc"'s on the stack, which are probably the same: uninitialized
>>variables.
>
>Then I guess this is probably the problem area, since you don't want to 
>create a file with an uninitialized name.

Windows API uses CreateFile() to open existing files. Read it as "create a 
file handle" as opposed to "create a file" although it may do that as a 
side effect.





More information about the wine-users mailing list