Muhammad Sharfuddin
2009-Apr-10 07:28 UTC
[Wine] ActiveX error when running an application(VB 6 based)
I am trying to run a home made Visual Basic 6 application on SUSE Linux Desktop 10, using "wine-1.1.18-2.1" Installation of VB 6 Application went smooth, and creates the directory under "/root/.wine/drive_c/Program\ Files/PrjPatientInfo". I then did the following # cd /root/.wine/drive_c/Program\ Files # cd PrjPatientInfo # wine cmd C:\Program Files\PrjPatientInfo> "ActiveX component cant create object" and on console/cmd got the following error C:\Program Files\PrjPatientInfo>PrjPatientInfo.exe C:\Program Files\PrjPatientInfo>err:ole:CoGetClassObject class {00000514-0000-00 10-8000-00aa006d2ea4} not registered err:ole:create_server class {00000514-0000-0010-8000-00aa006d2ea4} not registere d err:ole:CoGetClassObject no class object {00000514-0000-0010-8000-00aa006d2ea4} could be created for context 0x5 Please help Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.winehq.org/pipermail/wine-users/attachments/20090410/98fa3b9c/attachment.htm>
Austin English
2009-Apr-10 07:31 UTC
[Wine] ActiveX error when running an application(VB 6 based)
On Fri, Apr 10, 2009 at 2:28 AM, Muhammad Sharfuddin <techsubscriptions.ms at gmail.com> wrote:> I am trying to run a home made Visual Basic 6 application on SUSE Linux > Desktop 10, using "wine-1.1.18-2.1" > Installation of VB 6 Application went smooth, and creates the directory > under "/root/.wine/drive_c/Program\ Files/PrjPatientInfo". > > I then did the following > # cd /root/.wine/drive_c/Program\ FilesPlease don't run wine as root.
DaVince
2009-Apr-10 15:53 UTC
[Wine] Re: ActiveX error when running an application(VB 6 based)
Now that you've run Wine as root, your ~/.wine permissions are probably all messed up. Set the owner permissions back or remove that directory... For testing, I recommend that you use different wineprefixes: normally things get installed and run in ~/.wine but you can temporarily change that so you can test apps on a 'clean' or just completely different 'installation' of the wine prefix dir. Like so: WINEPREFIX=~/.testwine wine app.exe
Muhammad Sharfuddin
2009-Apr-21 11:35 UTC
[Wine] ActiveX error when running an application(VB 6 based)
before the winetricks, I got the following error, when running the vb6 app>"ActiveX component cant create object">and on console/cmd got the following error>C:\Program Files\PrjPatientInfo> >PrjPatientInfo.exe >C:\Program Files\PrjPatientInfo>err:ole:CoGetClassObject class >{00000514-0000-00 10-8000-00aa006d2ea4} not registered >err:ole:create_server class {00000514-0000-0010-8000-00aa006d2ea4} not >registere d >err:ole:CoGetClassObject no class object >{00000514-0000-0010-8000-00aa006d2ea4} could be created for context 0x5then # sh winetricks colorprofile comctl32 comctl32.ocx corefonts dcom98 urlmon pdh wininet wsh56vb xact and now the error change # cd /root/.wine/drive_c/Program\ Files/PrjPatientInfo # wine cmd C:\Program Files\PrjPatientInfo>PrjPatientInfo.exe C:\Program Files\PrjPatientInfo>wine: Unhandled page fault on read access to 0x80000050 at address 0x7bc40aeb (thread 0020), starting debugger... Unhandled exception: page fault on read access to 0x80000050 in 32-bit code (0x7bc40aeb). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:7bc40aeb ESP:0033f7bc EBP:0033f7e4 EFLAGS:00210286( - 00 -RISP1) EAX:80000000 EBX:7bc8d448 ECX:65faf1f0 EDX:65f22392 ESI:00000000 EDI:00370154 Stack dump: 0x0033f7bc: 00000000 00370018 0033f7d4 7ed55013 0x0033f7cc: 00000000 65f2438c 0033f88c 65f24247 0x0033f7dc: 7bc8d448 00000000 0033f844 7bc42ddc 0x0033f7ec: 0033f7ac 00000000 00000038 7bc325f1 0x0033f7fc: 0012af48 00110014 00000030 7bc31f6f 0x0033f80c: 00110014 0033f84c 7bc8d448 00000000 Backtrace: =>0 0x7bc40aeb HEAP_GetPtr+0x1b() in ntdll (0x0033f7e4) 1 0x7bc42ddc RtlAllocateHeap+0x1c() in ntdll (0x0033f844) err:dbghelp:pe_load_dbg_file Couldn't find .DBG file "ole32.dbg" ("") 2 0x65f01b9b in ole32 (+0x1b9b) (0x0033f8dc) 3 0x65f2389d in ole32 (+0x2389d) (0x0033f8fc) 4 0x65f2376c in ole32 (+0x2376c) (0x0033f918) 5 0x65f235cd in ole32 (+0x235cd) (0x0033f92c) 6 0x65f2354d in ole32 (+0x2354d) (0x0033f95c) 7 0x65f018b4 in ole32 (+0x18b4) (0x0033f9c4) 8 0x65f02ca5 in ole32 (+0x2ca5) (0x0033fa1c) 9 0x65fa9458 in ole32 (+0xa9458) (0x0033fa40) 10 0x65f3434b in ole32 (+0x3434b) (0x0033faac) 11 0x65f4fdd6 in ole32 (+0x4fdd6) (0x0033fb1c) 12 0x65f6cbdb in ole32 (+0x6cbdb) (0x0033fb44) err:dbghelp:pe_load_dbg_file Couldn't find .DBG file "DLL\\MSVBVM60.dbg" ("") 13 0x660468c2 in msvbvm60 (+0x468c2) (0x0033fbb0) 14 0x6602452e in msvbvm60 (+0x2452e) (0x0033fbe8) 15 0x004dc877 in prjpatientinfo (+0xdc877) (0x0033fcdc) 16 0x660143f3 in msvbvm60 (+0x143f3) (0x0033fe1c) 17 0x66011cc0 in msvbvm60 (+0x11cc0) (0x0033fe40) 18 0x6600e218 in msvbvm60 (+0xe218) (0x0033fe60) 19 0x6600df77 in msvbvm60 (+0xdf77) (0x0033fe80) 20 0x6600de7d in msvbvm60 (+0xde7d) (0x0033ff00) 21 0x0040b252 in prjpatientinfo (+0xb252) (0x0033ffe8) 22 0xb7e26907 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000) 0x7bc40aeb HEAP_GetPtr+0x1b in ntdll: cmpl $0x50414548,0x50(%eax) Modules: Module Address Debug info Name (41 modules) PE 400000- 64e000 Export prjpatientinfo PE 65340000-653d2000 Deferred oleaut32 PE 65f00000-65fc2000 Export ole32 PE 66000000-66153000 Export msvbvm60 ELF 7b800000-7b935000 Deferred kernel32<elf> \-PE 7b820000-7b935000 \ kernel32 ELF 7bc00000-7bca9000 Export ntdll<elf> \-PE 7bc10000-7bca9000 \ ntdll ELF 7bf00000-7bf03000 Deferred <wine-loader> ELF 7e8d8000-7e8f5000 Deferred ximcp.so.2 ELF 7e91d000-7e922000 Deferred libxfixes.so.3 ELF 7e930000-7e938000 Deferred libxrender.so.1 ELF 7e938000-7e957000 Deferred imm32<elf> \-PE 7e940000-7e957000 \ imm32 ELF 7e957000-7ea4e000 Deferred libx11.so.6 ELF 7ea4e000-7ea5c000 Deferred libxext.so.6 ELF 7ea5c000-7ea74000 Deferred libice.so.6 ELF 7ea74000-7eb0b000 Deferred winex11<elf> \-PE 7ea80000-7eb0b000 \ winex11 ELF 7ec45000-7ec64000 Deferred libexpat.so.1 ELF 7ec64000-7ec9d000 Deferred libfontconfig.so.1 ELF 7ec9d000-7eca0000 Deferred libxrandr.so.2 ELF 7ecab000-7ecbd000 Deferred libz.so.1 ELF 7ecbd000-7ed2a000 Deferred libfreetype.so.6 ELF 7ed2a000-7ed7e000 Deferred advapi32<elf> \-PE 7ed40000-7ed7e000 \ advapi32 ELF 7ed7e000-7ee1a000 Deferred gdi32<elf> \-PE 7ed90000-7ee1a000 \ gdi32 ELF 7ee1a000-7ef5e000 Deferred user32<elf> \-PE 7ee30000-7ef5e000 \ user32 ELF 7efcd000-7eff2000 Deferred libm.so.6 ELF 7eff5000-7effe000 Deferred libxcursor.so.1 ELF 7effe000-7f000000 Deferred xlcutf8load.so.2 ELF b7cc1000-b7cc6000 Deferred libxxf86vm.so.1 ELF b7cc6000-b7cc9000 Deferred libxinerama.so.1 ELF b7ccb000-b7ccf000 Deferred libdl.so.2 ELF b7ccf000-b7dfb000 Deferred libc.so.6 ELF b7dfb000-b7e11000 Deferred libpthread.so.0 ELF b7e12000-b7e1b000 Deferred libsm.so.6 ELF b7e1f000-b7f5a000 Export libwine.so.1 ELF b7f5b000-b7f77000 Deferred ld-linux.so.2 Threads: process tid prio (all id:s are in hex) 00000008 00000009 0 0000000c 00000012 0 0000000e 0 0000000d 0 0000000f 00000016 0 00000015 0 00000011 0 00000010 0 00000017 00000018 0 0000001f (D) C:\Program Files\PrjPatientInfo\PrjPatientInfo.exe 00000020 0 <=Backtrace: =>0 0x7bc40aeb HEAP_GetPtr+0x1b() in ntdll (0x0033f7e4) 1 0x7bc42ddc RtlAllocateHeap+0x1c() in ntdll (0x0033f844) 2 0x65f01b9b in ole32 (+0x1b9b) (0x0033f8dc) 3 0x65f2389d in ole32 (+0x2389d) (0x0033f8fc) 4 0x65f2376c in ole32 (+0x2376c) (0x0033f918) 5 0x65f235cd in ole32 (+0x235cd) (0x0033f92c) 6 0x65f2354d in ole32 (+0x2354d) (0x0033f95c) 7 0x65f018b4 in ole32 (+0x18b4) (0x0033f9c4) 8 0x65f02ca5 in ole32 (+0x2ca5) (0x0033fa1c) 9 0x65fa9458 in ole32 (+0xa9458) (0x0033fa40) 10 0x65f3434b in ole32 (+0x3434b) (0x0033faac) 11 0x65f4fdd6 in ole32 (+0x4fdd6) (0x0033fb1c) 12 0x65f6cbdb in ole32 (+0x6cbdb) (0x0033fb44) 13 0x660468c2 in msvbvm60 (+0x468c2) (0x0033fbb0) 14 0x6602452e in msvbvm60 (+0x2452e) (0x0033fbe8) 15 0x004dc877 in prjpatientinfo (+0xdc877) (0x0033fcdc) 16 0x660143f3 in msvbvm60 (+0x143f3) (0x0033fe1c) 17 0x66011cc0 in msvbvm60 (+0x11cc0) (0x0033fe40) 18 0x6600e218 in msvbvm60 (+0xe218) (0x0033fe60) 19 0x6600df77 in msvbvm60 (+0xdf77) (0x0033fe80) 20 0x6600de7d in msvbvm60 (+0xde7d) (0x0033ff00) 21 0x0040b252 in prjpatientinfo (+0xb252) (0x0033ffe8) 22 0xb7e26907 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000) help please Regards>From: Muhammad Sharfuddin <techsubscriptions.ms at gmail.com> >Subject: [Wine] ActiveX error when running an application(VB 6 based) >To: wine-users at winehq.org>I am trying to run a home made Visual Basic 6 application on SUSE Linux >Desktop 10, using "wine-1.1.18-2.1" >Installation of VB 6 Application went smooth, and creates the directory >under "/root/.wine/drive_c/Program\ Files/PrjPatientInfo".>I then did the following ># cd /root/.wine/drive_c/Program\ Files ># cd PrjPatientInfo ># wine cmd >C:\Program Files\PrjPatientInfo>>"ActiveX component cant create object">and on console/cmd got the following error>C:\Program Files\PrjPatientInfo>>PrjPatientInfo.exe >C:\Program Files\PrjPatientInfo>err:ole:CoGetClassObject class >{00000514-0000-00 10-8000-00aa006d2ea4} not registered >err:ole:create_server class {00000514-0000-0010-8000-00aa006d2ea4} not >registere d >err:ole:CoGetClassObject no class object >{00000514-0000-0010-8000-00aa006d2ea4} could be created for context 0x5>Please helpRegards -------------- next part -------------- An HTML attachment was scrubbed... URL: < http://www.winehq.org/pipermail/wine-users/attachments/20090410/98fa3b9c/attachment.htm>-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.winehq.org/pipermail/wine-users/attachments/20090421/a4c3492b/attachment.htm>
Muhammad Sharfuddin
2009-May-01 11:11 UTC
[Wine] ActiveX error when running an application(VB 6 based)
did a clean WINEPREFIX test at lapnux:~> WINEPREFIX=~/.wine-test /usr/local/bin/wine ~/Zia/Patient_Pkg/setup.exe test at lapnux:~> cd .wine-test/drive_c/Program Files/PrjPatientInfo test at lapnux:~/.wine-test/drive_c/Program Files/PrjPatientInfo> /usr/local/bin/wine PrjPatientInfo.exe err:ole:CoGetClassObject class {00000514-0000-0010-8000-00aa006d2ea4} not registered err:ole:create_server class {00000514-0000-0010-8000-00aa006d2ea4} not registered err:ole:CoGetClassObject no class object {00000514-0000-0010-8000-00aa006d2ea4} could be created for context 0x5 test at lapnux:~/.wine-test/drive_c/Program Files/PrjPatientInfo> same error On Thu, Apr 30, 2009 at 5:45 PM, Austin English <austinenglish at gmail.com>wrote:> 2009/4/30 Muhammad Sharfuddin <techsubscriptions.ms at gmail.com>: > > I dont know how to test in a clean WINEPREFIX > > WINEPREFIX=~/.wine-test wine foobar.exe > > > > test at lapnux:~> wine .wine/drive_c/Program\ > > Files/PrjPatientInfo/PrjPatientInfo.exe > > Don't do that. 'cd' to the directory first. > > -- > -Austin >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.winehq.org/pipermail/wine-users/attachments/20090501/f42b7fee/attachment.htm>
vitamin
2009-May-02 16:09 UTC
[Wine] Re: ActiveX error when running an application(VB 6 based)
needee wrote:> just the configuration is left.Then why don't you configure it the same way you did on winxp?
Muhammad Sharfuddin
2009-May-02 18:14 UTC
[Wine] Re: ActiveX error when running an application(VB 6 based)
vitamin wrote:>Then why don't you configure it the same way you did on winxp?on winxp control panel > odbc > system DSN > ... How can I access the 'control panel' then 'odbc' here in wine -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.winehq.org/pipermail/wine-users/attachments/20090503/6865c7f2/attachment.htm>