[Wine] Re: How to fix "CAPI 2.0 not installed"?

qwertymn wineforum-user at winehq.org
Sun Jul 27 07:44:52 CDT 2008


hmm, also on another site (http://64.233.183.104/search?q=cache:hMAG0EXBscsJ:www.gsd.inesc-id.pt/~jnos/ec-rdbl/download/capi20-2.pdf+capi_installed+return+value&hl=nl&ct=clnk&cd=3&gl=nl)

it says that CAPI_INSTALLED() should return 0x0000 if capi20 is installed. Maybe it's a bug in wine then.  Maybe you could try if the patch below (a hack) makes the app happy.


diff --git a/dlls/capi2032/cap20wxx.c b/dlls/capi2032/cap20wxx.c
index a6f3e3f..5fc7e8a 100644
--- a/dlls/capi2032/cap20wxx.c
+++ b/dlls/capi2032/cap20wxx.c
@@ -260,7 +260,7 @@ DWORD WINAPI wrapCAPI_INSTALLED (void) {
         return 0x1109;
     fret = pcapi20_isinstalled();
     TRACE ("() -> %x\n", fret);
-    return fret;
+    return 0;//fret;
 #else
     return 0x1109;
 #endif







More information about the wine-users mailing list