[REGRESSION] Photoshop 7.0 works before wine-cvs-20040130 16:??:?? CST (bug #2017)

Rein Klazes rklazes at xs4all.nl
Sat Jun 12 10:55:54 CDT 2004


On Fri, 04 Jun 2004 15:34:41 +0200, you wrote:

> > If simply returning an error doesn't work, you need to improve the
> > stub to provide enough functionality for the app to be happy.
> well, the problem is that I'm not a programmer and I don't know in which
> way I should improve the stub. So I think for the moment I'm going to
> use 'wine' commenting the QueryActCtxW call out.

OK, I managed to get a copy of Photoshop and fixed the problem here. It
is a Dutch version, please verify that it works with what you have. 

I was not so far from a fix after all, just needed another error code.

Changelog:
	dlls/kernel	: actctx.c
	Set last error value to ERROR_CALL_NOT_IMPLEMENTED in
	QueryActCtxW() to make Photoshop 7.0 work again.

Rein.
-- 
Rein Klazes
rklazes at xs4all.nl
-------------- next part --------------
--- wine/dlls/kernel/actctx.c	2004-02-27 22:28:34.000000000 +0100
+++ mywine/dlls/kernel/actctx.c	2004-06-12 17:47:10.000000000 +0200
@@ -167,5 +167,7 @@
                          SIZE_T *pcbLen)
 {
   FIXME("stub!\n");
+  /* this makes Adobe Photoshop 7.0 happy */
+  SetLastError( ERROR_CALL_NOT_IMPLEMENTED);
   return FALSE;
 }


More information about the wine-devel mailing list