Hello, When i launch my application (BDgest in windev), I have a crash with this debug output : Code: fixme:shdocvw:PersistStorage_Load (0x25b3658)->(0x800091d8) fixme:shdocvw:PersistStorage_InitNew (0x25b3658)->(0x800091d8) fixme:shdocvw:ProvideClassInfo_GetClassInfo (0x25b3658)->(0x33e248) wine: Unhandled page fault on write access to 0x01c87000 at address 0x681e6006 (thread 0026), starting debugger... Unhandled exception: page fault on write access to 0x01c87000 in 32-bit code (0x681e6006). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:681e6006 ESP:0033ddf8 EBP:0033df08 EFLAGS:00010246( R- -- I Z- -P- ) EAX:00000000 EBX:6d95aff4 ECX:00000052 EDX:00000032 ESI:02374ae8 EDI:01c87000 Stack dump: 0x0033ddf8: 023749ec 6d8fa6c7 01c86f04 023749ec 0x0033de08: 00000244 7b88fdec 2008fce0 01c86f04 0x0033de18: 01c80000 00000244 00000244 02733b60 0x0033de28: 00000032 00000244 02734108 0236dae8 0x0033de38: 00000000 00000000 00000032 00000091 0x0033de48: 00200020 7b8b0000 00000000 2008fce0 Backtrace: =>0 0x681e6006 memcpy+0x46() in libc.so.6 (0x0033df08) 1 0x200350b0 SetDIBits+0x180() in gdi32 (0x0033df58) 2 0x200357fd StretchDIBits+0x49d() in gdi32 (0x0033dfe8) 3 0x25c71b3a in bdgimg (+0x11b3a) (0x0033e024) 4 0x25c70e2a in bdgimg (+0x10e2a) (0x0033e0a8) 5 0x25c70035 in bdgimg (+0x10035) (0x0033e0f4) 6 0x25c6fa19 in bdgimg (+0xfa19) (0x0033e180) 7 0x25c6f4b1 in bdgimg (+0xf4b1) (0x0033e1c0) 8 0x250b9aac in bdgobj (+0x59aac) (0x0033e218) 9 0x250b9792 in bdgobj (+0x59792) (0x0033e404) 10 0x2509a2a8 in bdgobj (+0x3a2a8) (0x0033e440) 11 0x250b948d in bdgobj (+0x5948d) (0x0033e4c0) 12 0x2515d43c in bdgobj (+0xfd43c) (0x0033e510) 13 0x2516c965 in bdgobj (+0x10c965) (0x0033e544) 14 0x2515bd48 in bdgobj (+0xfbd48) (0x0033e5b0) 15 0x2516cadd in bdgobj (+0x10cadd) (0x0033e628) 16 0x2516ceee in bdgobj (+0x10ceee) (0x0033e6a0) 17 0x25159a31 in bdgobj (+0xf9a31) (0x0000000f) 18 0x00000000 (0x00000000) 0x681e6006 memcpy+0x46 in libc.so.6: repe movsl (%esi),%es:(%edi) Modules: Module Address Debug info Name (104 modules) PE 400000- 431000 Deferred bdgest PE 1f430000-1f436000 Deferred msader15 PE 1f440000-1f4bd000 Deferred msado15 PE 1f670000-1f693000 Deferred msdart ELF 20000000-200a0000 Export gdi32<elf> \-PE 20010000-200a0000 \ gdi32 ELF 200a0000-200cd000 Deferred libfontconfig.so.1 ELF 200cd000-200f4000 Deferred libexpat.so.1 ELF 200f4000-20104000 Deferred libxext.so.6 ELF 20104000-20109000 Deferred libuuid.so.1 ELF 20109000-2010d000 Deferred libxau.so.6 ELF 2010d000-20113000 Deferred libxxf86vm.so.1 ELF 20113000-2012d000 Deferred version<elf> \-PE 20120000-2012d000 \ version ELF 2012d000-202bd000 Deferred shell32<elf> \-PE 20140000-202bd000 \ shell32 ELF 202bd000-20365000 Deferred libgnutls.so.26 ELF 20365000-20376000 Deferred libavahi-client.so.3 ELF 20376000-2037a000 Deferred libcom_err.so.2 ELF 2037a000-2037e000 Deferred libkeyutils.so.1 ELF 2037e000-20390000 Deferred libtasn1.so.3 ELF 20390000-203d1000 Deferred shdocvw<elf> \-PE 203a0000-203d1000 \ shdocvw ELF 21bdb000-21c0f000 Deferred winspool<elf> \-PE 21be0000-21c0f000 \ winspool ELF 22dfa000-22e33000 Deferred libdbus-1.so.3 PE 25060000-25367000 Export bdgobj PE 25460000-256cc000 Deferred bdghf ELF 25b73000-25b9e000 Deferred libk5crypto.so.3 PE 25c60000-25d08000 Export bdgimg PE 25e60000-26075000 Deferred bdgvm PE 26260000-263b3000 Deferred bdgcom PE 26460000-2647b000 Deferred bdgole PE 26660000-266e6000 Deferred bdggrf PE 26860000-268e8000 Deferred bdgstd PE 28260000-282f4000 Deferred bdgoldb ELF 2a499000-2a5c8000 Deferred libx11.so.6 ELF 2f0b0000-2f0b5000 Deferred libxdmcp.so.6 ELF 31016000-31031000 Deferred libice.so.6 ELF 326ce000-326e4000 Deferred libz.so.1 ELF 37f5b000-380a3000 Deferred user32<elf> \-PE 37f70000-380a3000 \ user32 ELF 386a1000-38720000 Deferred libfreetype.so.6 ELF 39e37000-39e6a000 Deferred uxtheme<elf> \-PE 39e40000-39e6a000 \ uxtheme ELF 3d967000-3d994000 Deferred libgssapi_krb5.so.2 ELF 3f84c000-3f91a000 Deferred comctl32<elf> \-PE 3f860000-3f91a000 \ comctl32 ELF 43619000-43624000 Deferred libxcursor.so.1 ELF 45955000-45a07000 Deferred libkrb5.so.3 ELF 47b19000-47b2d000 Deferred msimg32<elf> \-PE 47b20000-47b2d000 \ msimg32 ELF 4ae5f000-4ae7d000 Deferred libxcb.so.1 ELF 4be86000-4becb000 Deferred libcups.so.2 ELF 4c40e000-4c467000 Deferred advapi32<elf> \-PE 4c420000-4c467000 \ advapi32 ELF 513c4000-513de000 Deferred rasapi32<elf> \-PE 513d0000-513de000 \ rasapi32 ELF 52b1e000-52b23000 Deferred libgpg-error.so.0 ELF 53d17000-53dc2000 Deferred comdlg32<elf> \-PE 53d20000-53dc2000 \ comdlg32 ELF 5505f000-55069000 Deferred libxrender.so.1 ELF 56b9d000-56ba9000 Deferred libavahi-common.so.3 ELF 58422000-58425000 Deferred libxinerama.so.1 ELF 587ec000-587f0000 Deferred libxcomposite.so.1 ELF 58cfc000-58d05000 Deferred libkrb5support.so.0 ELF 5eec9000-5eef3000 Deferred ws2_32<elf> \-PE 5eed0000-5eef3000 \ ws2_32 ELF 5f3f6000-5f472000 Deferred libgcrypt.so.11 ELF 60470000-60479000 Deferred librt.so.1 ELF 60bbb000-60bc4000 Deferred libsm.so.6 PE 65340000-653d2000 Deferred oleaut32 ELF 65cc4000-65cd8000 Deferred lz32<elf> \-PE 65cd0000-65cd8000 \ lz32 PE 65f00000-65fc2000 Deferred ole32 ELF 673db000-67438000 Deferred shlwapi<elf> \-PE 673f0000-67438000 \ shlwapi ELF 67810000-67824000 Deferred libresolv.so.2 ELF 67955000-6795e000 Deferred libxrandr.so.2 ELF 68000000-6801d000 Deferred ld-linux.so.2 ELF 6801d000-68158000 Deferred libwine.so.1 ELF 68158000-68171000 Deferred libpthread.so.0 ELF 68171000-682b5000 Export libc.so.6 ELF 682b5000-682b9000 Deferred libdl.so.2 ELF 682b9000-682df000 Deferred libm.so.6 ELF 682df000-682e7000 Deferred libnss_compat.so.2 ELF 682e7000-682fe000 Deferred libnsl.so.1 ELF 682fe000-68309000 Deferred libnss_nis.so.2 ELF 68309000-68315000 Deferred libnss_files.so.2 ELF 68315000-68383000 Deferred msvcrt<elf> \-PE 68330000-68383000 \ msvcrt ELF 69662000-69683000 Deferred imm32<elf> \-PE 69670000-69683000 \ imm32 ELF 6c2f2000-6c2f8000 Deferred libxfixes.so.3 ELF 6d8c6000-6d964000 Deferred winex11<elf> \-PE 6d8d0000-6d964000 \ winex11 PE 70100000-70153000 Deferred rpcrt4 ELF 78068000-7807d000 Deferred system.drv16.so PE 78070000-7807d000 Deferred system.drv16 ELF 7b800000-7b972000 Deferred kernel32<elf> \-PE 7b820000-7b972000 \ kernel32 ELF 7bc00000-7bcb2000 Deferred ntdll<elf> \-PE 7bc10000-7bcb2000 \ ntdll ELF 7bf00000-7bf04000 Deferred <wine-loader> Threads: process tid prio (all id:s are in hex) 0000000e 00000014 0 00000010 0 0000000f 0 00000011 00000017 0 00000013 0 00000012 0 00000019 0000001a 0 00000025 (D) C:\BDGest\BDGest.exe 00000027 0 00000026 0 <== Backtrace: =>0 0x681e6006 memcpy+0x46() in libc.so.6 (0x0033df08) 1 0x200350b0 SetDIBits+0x180() in gdi32 (0x0033df58) 2 0x200357fd StretchDIBits+0x49d() in gdi32 (0x0033dfe8) 3 0x25c71b3a in bdgimg (+0x11b3a) (0x0033e024) 4 0x25c70e2a in bdgimg (+0x10e2a) (0x0033e0a8) 5 0x25c70035 in bdgimg (+0x10035) (0x0033e0f4) 6 0x25c6fa19 in bdgimg (+0xfa19) (0x0033e180) 7 0x25c6f4b1 in bdgimg (+0xf4b1) (0x0033e1c0) 8 0x250b9aac in bdgobj (+0x59aac) (0x0033e218) 9 0x250b9792 in bdgobj (+0x59792) (0x0033e404) 10 0x2509a2a8 in bdgobj (+0x3a2a8) (0x0033e440) 11 0x250b948d in bdgobj (+0x5948d) (0x0033e4c0) 12 0x2515d43c in bdgobj (+0xfd43c) (0x0033e510) 13 0x2516c965 in bdgobj (+0x10c965) (0x0033e544) 14 0x2515bd48 in bdgobj (+0xfbd48) (0x0033e5b0) 15 0x2516cadd in bdgobj (+0x10cadd) (0x0033e628) 16 0x2516ceee in bdgobj (+0x10ceee) (0x0033e6a0) 17 0x25159a31 in bdgobj (+0xf9a31) (0x0000000f) 18 0x00000000 (0x00000000) err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x681e6006 It seems that gdi32.dll is responsable of that. Thank's for your help and excuse for my poor english