Re: Problems with Pass4Sure's Network+ Demo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



qwertymn wrote:
> well, if you don't mind i post it here anyway, so others might think with us as to why the app fails. The problem seemed to be:
> 0009:Call KERNEL32.CreateFileW(0032f45c L"C:\\Program Files\\Pass4sure Test Environment\\n10-003 DEMO\\n10-003 DEMO.exe",80000000,00000000,0032f1d0,00000003,00000080,00000000) ret=00487fca
> 0009:Ret  KERNEL32.CreateFileW() retval=ffffffff ret=00487fca
>
> hack below just simply changes some parameters when CreateFileW is called for n10DEMO.exe , and then the splash screen at least keeps up ;)
>
> It appeared to be querying interface from wbemprox, so I installed native wmi:
>
> winetricks win98
> wget wget http://download.microsoft.com/download/platformsdk/wmi9x/1.5/W9X/EN-US/wmi9x.exe
> wine wmi9x.exe
> winetricks winxp
>
> After that it hang again, the second hack in ole32 made the app start. At least the first problem ( CreateFileW failing) seems to be worth a bugreport afaics
>
>   
Please file the bug report on the program.

[Incorrect Patch removed]
>
> 2nd hack:
>
>   
>> diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
>> index b2013cf..f1ae64b 100644
>> --- a/dlls/ole32/compobj.c
>> +++ b/dlls/ole32/compobj.c
>> @@ -3289,7 +3289,7 @@ HRESULT WINAPI CoSetProxyBlanket(IUnknown *pProxy, DWORD AuthnSvc,
>>          IClientSecurity_Release(pCliSec);
>>      }
>>  
>> -    if (FAILED(hr)) ERR("-- failed with 0x%08x\n", hr);
>> +    if (FAILED(hr)) {ERR("-- failed with 0x%08x\n", hr); hr=0;}
>>      return hr;
>>  }
>>
>>
>>     
>
>   
This should not be needed as anything after the if on the same line
should execute.  Also, the format is:

if [expression to be evaluated]
{
     Code indented four spaces
}

However, this is a code issue and for this quick hack that should not be
necessary.  I'll see if the hacks work on my system.  If they do, I'll
submit the patches.

James McKenzie

>
>
>
>
>
>   



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux