Can't use DLLs in wine

Questions about Wine on Linux
Locked
Namnodorel
Level 2
Level 2
Posts: 16
Joined: Mon Dec 21, 2015 10:16 am

Can't use DLLs in wine

Post by Namnodorel »

Hello,

I'm not sure if this is something which isn't supported because it belongs to DLLs, but because they are in Wine inetgrated, I'll post it here ;) Please tell me, if this doesn't belong here.

So I have an application that needs some DLLs: quartz.dll, qedit.dll, qcap.dll and qasf.dll. I was able to get quartz.dll and qasf.dll working, but the others apparently have problems. So my application said, it would require these DLLs. I googled a bit, and found, that I need to register new DLLs with the regsvr32.exe - program. It worked fine with the DLL's I got from other websites and from winetricks but it didn't worked with the DLLs that weren't in winetricks, but were in the Libraries-Tab in winecfg: qedit.dll and qcap.dll. Because the other DLLs worked I think this is a problem with wine - I tried to replace them, and but it didn't worked. So: Is there a way to remove the DLLs from the Libraries-Tab (I mean fully, so that they can't be replaced) or alternatively register them within wine? And the problem hasn't to do anything with the with winetricks installed DLLs or the seperatly installed: I tried this in an emulator without them installed, and it didn't worked (yes, I emulated wine - sort of ironic, right? ;) ).
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't use DLLs in wine

Post by dimesio »

It worked fine with the DLL's I got from other websites and from winetricks but it didn't worked with the DLLs that weren't in winetricks, but were in the Libraries-Tab in winecfg: qedit.dll and qcap.dll.
What exactly do you mean by "tried to replace them"? What exactly did you do? The reason I ask is because it's not clear from your description whether or not you actually copied those dlls to the wineprefix before setting the override in winecfg. You need to (that's one of the things winetricks does for you.)
Namnodorel
Level 2
Level 2
Posts: 16
Joined: Mon Dec 21, 2015 10:16 am

Re: Can't use DLLs in wine

Post by Namnodorel »

I deleted the existing ones in /home/me/.wine/drive_c/windows/syswow64 and put in there the DLLs I downloaded from the website (the other DLL from this website (which wasn't in the overrides) worked, so I don't think there's a problem). Then I ran regsvr32.exe with and without the overrides. Without, regsvr32 told me it worked, but it didn't and with overrides it said "Failed to load XXX.dll".
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't use DLLs in wine

Post by dimesio »

Try a 32 bit wineprefix.
Namnodorel
Level 2
Level 2
Posts: 16
Joined: Mon Dec 21, 2015 10:16 am

Re: Can't use DLLs in wine

Post by Namnodorel »

Ok, this worked :)

New problem: The application now doesn't says anything about missing DLLs, but crashes... Log:

Code: Select all


Unhandled exception: unimplemented function ntdll.dll.CsrAllocateCaptureBuffer called in 32-bit code (0x7bc47460).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7bc47460 ESP:0032f04c EBP:0032f0b0 EFLAGS:00200206(   - --  I   - -P- )
 EAX:7bca1b8a EBX:7bcd3000 ECX:7bca1b80 EDX:00000004
 ESI:0032f058 EDI:1c20a340
Stack dump:
0x0032f04c:  7bc527de 00000002 00000040 80000100
0x0032f05c:  00000001 00000000 7bc47460 00000002
0x0032f06c:  7bca1b80 7bca1b8a 0032f0a8 0032f0a0
0x0032f07c:  0032f1ac 0032f0a0 7e8b6000 0018da58
0x0032f08c:  00000000 00000000 00110000 00110000
0x0032f09c:  0000003c 7e8bec78 7bc4741a 00000000
Backtrace:
=>0 0x7bc47460 __wine_spec_unimplemented_stub+0x50() in ntdll (0x0032f0b0)
  1 0x7bc20ea5 in ntdll (+0x10ea4) (0x0032f0d8)
  2 0x1c20a158 in qedit (+0xa157) (0x0032f0d8)
  3 0x7e7adf25 in ole32 (+0x1df24) (0x0032f148)
  4 0x7e7b0dd7 in ole32 (+0x20dd6) (0x0032f3c8)
  5 0x7e7b3a5e CoGetClassObject+0x60d() in ole32 (0x0032f498)
  6 0x7e7b5508 CoCreateInstanceEx+0x247() in ole32 (0x0032f528)
  7 0x7e7b5b0a CoCreateInstance+0x89() in ole32 (0x0032f5a8)
  8 0x006b0f7f in camtasiastudio (+0x2b0f7e) (0x00e86478)
  9 0x00000001 (0x00c3009c)
  10 0x006b0b70 in camtasiastudio (+0x2b0b6f) (0x008f8a6e)
0x7bc47460 __wine_spec_unimplemented_stub+0x50 in ntdll: subl	$4,%esp
Modules:
Module	Address			Debug info	Name (249 modules)
PE	  330000-  347000	Deferred        mobileconnectinterop
PE	  350000-  3c9000	Deferred        tscrec3
PE	  3d0000-  3ef000	Deferred        keyvalidationnative
PE	  400000-  ee5000	Export          camtasiastudio
PE	  ef0000-  fa5000	Deferred        gotrec
PE	  fb0000- 115b000	Deferred        trec
PE	 1160000- 1246000	Deferred        libmp4v2
PE	 1250000- 13f0000	Deferred        mc_enc_avc
PE	 13f0000- 143d000	Deferred        mc_enc_aac
PE	 1440000- 153e000	Deferred        mc_dec_avc
PE	 1540000- 15b5000	Deferred        mc_dec_aac
PE	 15c0000- 1c87000	Deferred        csmedialib
PE	 1c90000- 1d77000	Deferred        csmedialibtrecsupport
PE	 1d80000- 1e7d000	Deferred        mc_mfimport
PE	 1e80000- 1f5f000	Deferred        trackerbird
PE	 1f60000- 28f8000	Deferred        csrenderlib
PE	 2900000- 2946000	Deferred        csmedialibtools
PE	 2950000- 2b35000	Deferred        d3dx9_42
PE	 2b40000- 2df7000	Deferred        consumerrestoration_win32
PE	 2e00000- 302e000	Deferred        singlebandcompressor_win32
PE	 3030000- 3381000	Deferred        csmedialibparser
PE	 3390000- 33b9000	Deferred        identity-services-native-win
PE	 33c0000- 34f6000	Deferred        cswaveformlib
PE	 6800000- 6aec000	Deferred        mscorlib
PE	 71a0000- 739b000	Deferred        camtasiastudiores
PE	 73c0000- 778c000	Deferred        camtasiafilters
PE	10000000-1002f000	Deferred        sharedlibrary.product.services.nC:\Program Files\TechSmith\Camtasia Studio 8\SharedLibrary.Product.Services.Native.dll
PE	1c200000-1c27b000	Export          qedit
PE	1ff70000-1ffad000	Deferred        ltdis10n
PE	1ffc0000-1ffe1000	Deferred        ltfil10n
PE	1fff0000-2003d000	Deferred        ltkrn10n
PE	35500000-35708000	Deferred        quartz
PE	5d360000-5d370000	Deferred        mfc100deu
PE	65000000-655d8000	Deferred        qtgui4
PE	67000000-671a8000	Deferred        qtcore4
PE	67670000-676ea000	Deferred        xceedzip
PE	6c540000-6d133000	Deferred        libmono-2.0-x86
PE	785f0000-78a22000	Deferred        mfc100u
ELF	7a800000-7a92d000	Deferred        opengl32<elf>
  \-PE	7a820000-7a92d000	\               opengl32
ELF	7b800000-7ba6a000	Deferred        kernel32<elf>
  \-PE	7b810000-7ba6a000	\               kernel32
ELF	7bc00000-7bcf0000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bcf0000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7cc48000-7cc51000	Deferred        librt.so.1
ELF	7cc51000-7cc58000	Deferred        libffi.so.6
ELF	7cc58000-7cc5d000	Deferred        libgpg-error.so.0
ELF	7cc5d000-7cc75000	Deferred        libresolv.so.2
ELF	7cc75000-7cc79000	Deferred        libkeyutils.so.1
ELF	7cc79000-7ccc4000	Deferred        libdbus-1.so.3
ELF	7ccc4000-7cd00000	Deferred        libp11-kit.so.0
ELF	7cd00000-7cd14000	Deferred        libtasn1.so.6
ELF	7cd14000-7cd9a000	Deferred        libgcrypt.so.11
ELF	7cd9a000-7cda6000	Deferred        libkrb5support.so.0
ELF	7cda6000-7cdd6000	Deferred        libk5crypto.so.3
ELF	7cdd6000-7ce94000	Deferred        libkrb5.so.3
ELF	7ce94000-7cea6000	Deferred        libavahi-client.so.3
ELF	7cea6000-7ceb4000	Deferred        libavahi-common.so.3
ELF	7ceb4000-7cf7a000	Deferred        libgnutls.so.26
ELF	7cf7a000-7cfc0000	Deferred        libgssapi_krb5.so.2
ELF	7cfc0000-7d02d000	Deferred        libcups.so.2
ELF	7d0b3000-7d0ec000	Deferred        uxtheme<elf>
  \-PE	7d0c0000-7d0ec000	\               uxtheme
ELF	7d0ec000-7d0f2000	Deferred        libxfixes.so.3
ELF	7d0f2000-7d0fd000	Deferred        libxcursor.so.1
ELF	7d0fd000-7d10d000	Deferred        libxi.so.6
ELF	7d10d000-7d111000	Deferred        libxcomposite.so.1
ELF	7d111000-7d11c000	Deferred        libxrandr.so.2
ELF	7d11c000-7d127000	Deferred        libxrender.so.1
ELF	7d127000-7d12d000	Deferred        libxxf86vm.so.1
ELF	7d12d000-7d131000	Deferred        libxinerama.so.1
ELF	7d131000-7d138000	Deferred        libxdmcp.so.6
ELF	7d138000-7d13c000	Deferred        libxau.so.6
ELF	7d13c000-7d15e000	Deferred        libxcb.so.1
ELF	7d15e000-7d292000	Deferred        libx11.so.6
ELF	7d292000-7d2a5000	Deferred        libxext.so.6
ELF	7d2a5000-7d2aa000	Deferred        libcom_err.so.2
ELF	7d2aa000-7d2c0000	Deferred        dwmapi<elf>
  \-PE	7d2b0000-7d2c0000	\               dwmapi
ELF	7d2c2000-7d357000	Deferred        winex11<elf>
  \-PE	7d2d0000-7d357000	\               winex11
ELF	7d48c000-7d4b5000	Deferred        libexpat.so.1
ELF	7d4b5000-7d4f0000	Deferred        libfontconfig.so.1
ELF	7d4f0000-7d518000	Deferred        libpng12.so.0
ELF	7d518000-7d5b8000	Deferred        libfreetype.so.6
ELF	7d5b8000-7d5da000	Deferred        libtinfo.so.5
ELF	7d5da000-7d5ff000	Deferred        libncurses.so.5
ELF	7d61c000-7d636000	Deferred        imagehlp<elf>
  \-PE	7d620000-7d636000	\               imagehlp
ELF	7d636000-7d6da000	Deferred        urlmon<elf>
  \-PE	7d640000-7d6da000	\               urlmon
ELF	7d6da000-7d705000	Deferred        atl100<elf>
  \-PE	7d6e0000-7d705000	\               atl100
ELF	7d705000-7d753000	Deferred        dsound<elf>
  \-PE	7d710000-7d753000	\               dsound
ELF	7d753000-7d80b000	Deferred        msvcrt<elf>
  \-PE	7d770000-7d80b000	\               msvcrt
ELF	7d80b000-7d963000	Deferred        wined3d<elf>
  \-PE	7d820000-7d963000	\               wined3d
ELF	7d963000-7d9a2000	Deferred        d3d9<elf>
  \-PE	7d970000-7d9a2000	\               d3d9
ELF	7d9a2000-7d9cb000	Deferred        iphlpapi<elf>
  \-PE	7d9b0000-7d9cb000	\               iphlpapi
ELF	7d9cb000-7d9e2000	Deferred        powrprof<elf>
  \-PE	7d9d0000-7d9e2000	\               powrprof
ELF	7d9e2000-7d9ff000	Deferred        jsproxy<elf>
  \-PE	7d9f0000-7d9ff000	\               jsproxy
ELF	7d9ff000-7da3f000	Deferred        winhttp<elf>
  \-PE	7da10000-7da3f000	\               winhttp
ELF	7da3f000-7da64000	Deferred        imm32<elf>
  \-PE	7da50000-7da64000	\               imm32
ELF	7da64000-7dae1000	Deferred        wininet<elf>
  \-PE	7da70000-7dae1000	\               wininet
ELF	7dae1000-7db72000	Deferred        gdiplus<elf>
  \-PE	7daf0000-7db72000	\               gdiplus
ELF	7db72000-7dbe3000	Deferred        setupapi<elf>
  \-PE	7db80000-7dbe3000	\               setupapi
ELF	7dc08000-7dc30000	Deferred        mpr<elf>
  \-PE	7dc10000-7dc30000	\               mpr
ELF	7dc30000-7dc4e000	Deferred        msdmo<elf>
  \-PE	7dc40000-7dc4e000	\               msdmo
ELF	7dc4e000-7dc62000	Deferred        psapi<elf>
  \-PE	7dc50000-7dc62000	\               psapi
ELF	7dc62000-7dc7c000	Deferred        libz.so.1
ELF	7dc7d000-7dc99000	Deferred        wmvcore<elf>
  \-PE	7dc80000-7dc99000	\               wmvcore
ELF	7dc99000-7dd02000	Deferred        dbghelp<elf>
  \-PE	7dca0000-7dd02000	\               dbghelp
ELF	7dd02000-7dd38000	Deferred        mscoree<elf>
  \-PE	7dd10000-7dd38000	\               mscoree
ELF	7dd38000-7dd80000	Deferred        avifil32<elf>
  \-PE	7dd40000-7dd80000	\               avifil32
ELF	7dd80000-7ddab000	Deferred        msacm32<elf>
  \-PE	7dd90000-7ddab000	\               msacm32
ELF	7ddab000-7de66000	Deferred        winmm<elf>
  \-PE	7ddb0000-7de66000	\               winmm
ELF	7de66000-7de93000	Deferred        msvfw32<elf>
  \-PE	7de70000-7de93000	\               msvfw32
ELF	7de93000-7dfd6000	Deferred        oleaut32<elf>
  \-PE	7deb0000-7dfd6000	\               oleaut32
ELF	7dfd6000-7e019000	Deferred        winspool<elf>
  \-PE	7dfe0000-7e019000	\               winspool
ELF	7e019000-7e264000	Deferred        shell32<elf>
  \-PE	7e030000-7e264000	\               shell32
ELF	7e264000-7e354000	Deferred        comdlg32<elf>
  \-PE	7e270000-7e354000	\               comdlg32
ELF	7e354000-7e460000	Deferred        comctl32<elf>
  \-PE	7e360000-7e460000	\               comctl32
ELF	7e460000-7e4db000	Deferred        shlwapi<elf>
  \-PE	7e470000-7e4db000	\               shlwapi
ELF	7e4db000-7e5a7000	Deferred        msvcr100<elf>
  \-PE	7e4f0000-7e5a7000	\               msvcr100
ELF	7e5a7000-7e6b9000	Deferred        msvcp100<elf>
  \-PE	7e5e0000-7e6b9000	\               msvcp100
ELF	7e6b9000-7e6f5000	Deferred        ws2_32<elf>
  \-PE	7e6c0000-7e6f5000	\               ws2_32
ELF	7e6f5000-7e77a000	Deferred        rpcrt4<elf>
  \-PE	7e700000-7e77a000	\               rpcrt4
ELF	7e77a000-7e8c0000	Dwarf           ole32<elf>
  \-PE	7e790000-7e8c0000	\               ole32
ELF	7e8c0000-7e8da000	Deferred        version<elf>
  \-PE	7e8d0000-7e8da000	\               version
ELF	7e8da000-7e954000	Deferred        advapi32<elf>
  \-PE	7e8f0000-7e954000	\               advapi32
ELF	7e954000-7ea75000	Deferred        gdi32<elf>
  \-PE	7e960000-7ea75000	\               gdi32
ELF	7ea75000-7ebd4000	Deferred        user32<elf>
  \-PE	7ea90000-7ebd4000	\               user32
ELF	7ef6b000-7ef78000	Deferred        libnss_files.so.2
ELF	7ef78000-7ef84000	Deferred        libnss_nis.so.2
ELF	7ef84000-7ef9d000	Deferred        libnsl.so.1
ELF	7ef9d000-7efe3000	Deferred        libm.so.6
ELF	7efe5000-7eff9000	Deferred        msimg32<elf>
  \-PE	7eff0000-7eff9000	\               msimg32
ELF	f3c9c000-f3cd3000	Deferred        libtxc_dxtn.so
ELF	f3cd3000-f3cff000	Deferred        libedit.so.2
ELF	f3cff000-f3d1c000	Deferred        libgcc_s.so.1
ELF	f3e04000-f5cf1000	Deferred        libllvm-3.6.so.1
ELF	f5cf1000-f5d09000	Deferred        libelf.so.1
ELF	f5d09000-f5d17000	Deferred        libdrm_radeon.so.1
ELF	f5d17000-f5d1f000	Deferred        libdrm_nouveau.so.2
ELF	f5d1f000-f66d5000	Deferred        nouveau_dri.so
ELF	f66d5000-f66df000	Deferred        libnih-dbus.so.1
ELF	f66df000-f66f8000	Deferred        libnih.so.1
ELF	f66f8000-f6716000	Deferred        libcgmanager.so.0
ELF	f6716000-f6729000	Deferred        libudev.so.1
ELF	f6729000-f6737000	Deferred        libdrm.so.2
ELF	f6737000-f673e000	Deferred        libxcb-sync.so.1
ELF	f673e000-f6756000	Deferred        libxcb-glx.so.0
ELF	f6756000-f676f000	Deferred        libglapi.so.0
ELF	f676f000-f6804000	Deferred        libgl.so.1
ELF	f6821000-f6849000	Deferred        dxgi<elf>
  \-PE	f6830000-f6849000	\               dxgi
ELF	f6849000-f6882000	Deferred        wbemprox<elf>
  \-PE	f6850000-f6882000	\               wbemprox
ELF	f6882000-f68f9000	Deferred        ddraw<elf>
  \-PE	f6890000-f68f9000	\               ddraw
ELF	f68f9000-f6920000	Deferred        dxdiagn<elf>
  \-PE	f6900000-f6920000	\               dxdiagn
ELF	f6920000-f6936000	Deferred        midimap<elf>
  \-PE	f6930000-f6936000	\               midimap
ELF	f6936000-f694e000	Deferred        wtsapi32<elf>
  \-PE	f6940000-f694e000	\               wtsapi32
ELF	f694e000-f6a44000	Deferred        libasound.so.2
ELF	f6a48000-f6a61000	Deferred        msacm32<elf>
  \-PE	f6a50000-f6a61000	\               msacm32
ELF	f6a61000-f6a93000	Deferred        winealsa<elf>
  \-PE	f6a70000-f6a93000	\               winealsa
ELF	f6a93000-f6ab2000	Deferred        fusion<elf>
  \-PE	f6aa0000-f6ab2000	\               fusion
ELF	f6ab2000-f6ade000	Deferred        libvorbis.so.0
ELF	f6ade000-f6c56000	Deferred        libvorbisenc.so.2
ELF	f6c56000-f6c8a000	Deferred        libflac.so.8
ELF	f6c8a000-f6cfc000	Deferred        libsndfile.so.1
ELF	f6cfc000-f6d6b000	Deferred        libpulsecommon-4.0.so
ELF	f6d6b000-f6dba000	Deferred        libpulse.so.0
ELF	f6dbb000-f6dbe000	Deferred        libxshmfence.so.1
ELF	f6dbe000-f6dc2000	Deferred        libxcb-present.so.0
ELF	f6dc2000-f6dc6000	Deferred        libxcb-dri3.so.0
ELF	f6dd7000-f6e00000	Deferred        winepulse<elf>
  \-PE	f6de0000-f6e00000	\               winepulse
ELF	f6f00000-f6f06000	Deferred        libxcb-dri2.so.0
ELF	f6f06000-f6f0f000	Deferred        libogg.so.0
ELF	f6f0f000-f6f33000	Deferred        mmdevapi<elf>
  \-PE	f6f10000-f6f33000	\               mmdevapi
ELF	f6f33000-f6f48000	Deferred        mswsock<elf>
  \-PE	f6f40000-f6f48000	\               mswsock
ELF	f6f48000-f6f70000	Deferred        devenum<elf>
  \-PE	f6f50000-f6f70000	\               devenum
ELF	f6f70000-f6fae000	Deferred        libxslt.so.1
ELF	f6fae000-f7108000	Deferred        libxml2.so.2
ELF	f7108000-f7200000	Deferred        msxml3<elf>
  \-PE	f7120000-f7200000	\               msxml3
ELF	f7300000-f7303000	Deferred        libx11-xcb.so.1
ELF	f7303000-f730d000	Deferred        libwrap.so.0
ELF	f730d000-f7333000	Deferred        liblzma.so.5
ELF	f7334000-f733b000	Deferred        libasyncns.so.0
ELF	f733b000-f7350000	Deferred        avicap32<elf>
  \-PE	f7340000-f7350000	\               avicap32
ELF	f7355000-f735a000	Deferred        libdl.so.2
ELF	f735a000-f7508000	Deferred        libc.so.6
ELF	f7509000-f7525000	Deferred        libpthread.so.0
ELF	f7527000-f7530000	Deferred        libnss_compat.so.2
ELF	f7531000-f7535000	Deferred        libxdamage.so.1
ELF	f7535000-f7540000	Deferred        libjson-c.so.2
ELF	f7542000-f76f8000	Dwarf           libwine.so.1
ELF	f76fa000-f771c000	Deferred        ld-linux.so.2
ELF	f771e000-f771f000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
	0000001e    0
	0000001d    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001c    0
	00000019    0
	00000018    0
	00000013    0
0000001a plugplay.exe
	00000020    0
	0000001f    0
	0000001b    0
00000026 (D) C:\Program Files\TechSmith\Camtasia Studio 8\CamtasiaStudio.exe
	00000033    0
	00000032    0
	00000031    0
	00000030    0
	0000002f    0
	0000002e    0
	0000002d    0
	00000027    2 <==
00000028 explorer.exe
	0000002c    0
	0000002b    0
	0000002a    0
	00000029    0
System information:
    Wine build: wine-1.9.0
    Platform: i386
    Version: Windows 7
    Host system: Linux
    Host version: 3.19.0-42-generic

(Same exception with wine-staging)

But I don't know if you can help me here, because I now really use non-wine-dlls.
Locked