comctl32.dll: Running siap and modules under wine, first steps

Maximiliano Curia maxy at rivero.com.ar
Wed Sep 28 09:52:47 CDT 2005


On Monday 26 September 2005 15:00, Alex Villací­s Lasso wrote:
> --- wine-20050830-cvs/dlls/oleaut32/typelib.c   2005-09-21
> 10:39:22.000000000 -0500
> +++ wine-20050830-cvs-patch/dlls/oleaut32/typelib.c     2005-09-24
> 20:34:32.000000000 -0500

> This patch executes the "create interface" code when typekind ==
> TKIND_DISPATCH
> and wTypeFlags has TYPEFLAG_FDISPATCHABLE, regardless of the value of
> hRefType,
> in addition to the previous condition.

I backported this patch to the version 20050310.
If you are willing to let the test application available I could check the 
successfullness.

> --- wine-20050830-cvs/dlls/ole32/defaulthandler.c    2005-09-23
> 10:51:36.000000000 -0500
> +++ wine-20050830-cvs-patch/dlls/ole32/defaulthandler.c    2005-09-25
> 19:19:31.000000000 -0500
> @@ -1422,7 +1422,7 @@
>     * This is necessary because it's the only time the non-delegating
>     * IUnknown pointer can be returned to the outside.
>     */
> -  if (pUnkOuter && IsEqualIID(&IID_IUnknown, riid))
> +  if (pUnkOuter && !IsEqualIID(&IID_IUnknown, riid))
>      return CLASS_E_NOAGGREGATION;
>
>    /*

IsEqualIID was introduced after the version 20050310 that I'm using, and it 
seem that the:
  if ( (pUnkOuter!=NULL) &&
       (memcmp(&IID_IUnknown, riid, sizeof(IID_IUnknown)) != 0) )
was replaced wrongly replaced.

The (pUnkOuter && !IsEqualIID(&IID_IUnknown, riid)), should have the same 
efect as the previous code.

> Mr. Maximiliano Curia, could you please indicate where to get sample
> modules for SIAP? The default installer
> doesn't seem to come with any modules inside. Of course, this might be
> yet another Wine bug, so please confirm.

Yes, of course, they are in:
http://www.afip.gov.ar/seccion_rg.asp#programas

The most used are:
ftp://www.afip.gov.ar/iva40/iva_v4r1.exe (Taxes)
ftp://www.afip.gov.ar/sijyp25/sijyp.25r0.exe (Pensions)

Although, there are different programs for different activities (and I use 12 
of these programs), these two are used by most of them.

-- 
Saludos,
 /\/\ /\ >< `/



More information about the wine-devel mailing list