PDA

View Full Version : Small WIndows App. How to register a OCX?



ZeusZon
9th November 2006, 10:30 PM
Conponent 'TrayIcn6.ocx' or one of its dependencies not correctly registered: a file is missing or invalid.

I registered it. I think:

The ocx is next to the exe on the root of the drive. When I try and execute it again I still get not registered.

I have installed the runtimes for vb6.

Is it even possible to register a ocx successfully with wine?



[neil@M30 ~]$ wine cmd
libGL warning: 3D driver claims to not support visual 0x4b
CMD Version 0.9.24

Z:\home\neil\.wine\drive_c>regsvr32.exe TrayIcn6.ocx
libGL warning: 3D driver claims to not support visual 0x4b
wine: Unhandled page fault on read access to 0x00000204 at address 0x61598b1b (thread 0037), starting debugger...
fixme:dbghelp:SymLoadModule Should have successfully loaded debug information for image c:\windows\system32\imm32.dll
fixme:dbghelp:SymLoadModule Should have successfully loaded debug information for image c:\windows\system32\winex11.drv
fixme:dbghelp:SymLoadModule Should have successfully loaded debug information for image c:\windows\system32\iphlpapi.dll
Unhandled exception: page fault on read access to 0x00000204 in 32-bit code (0x61598b1b).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033
EIP:61598b1b ESP:0034f4bc EBP:0034f4d4 EFLAGS:00210202( - 00 - -RI1)
EAX:00000000 EBX:61603708 ECX:00161254 EDX:00000204
ESI:001712c0 EDI:001612b8
Stack dump:
0x0034f4bc: 000005dc 00000038 001612b8 61603708
0x0034f4cc: 001712c0 61603708 0034f884 615b8741
0x0034f4dc: 00000204 00000000 0000ffff ffffffff
0x0034f4ec: 0015bf90 0000000c 00000000 00000000
0x0034f4fc: 00153000 00000041 00000000 00000000
0x0034f50c: 60261ff4 0034f55c 0034f5a8 0034f874
fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for c0000119
Backtrace:
=>1 0x61598b1b (0x0034f4d4)
2 0x615b8741 (0x0034f884)
3 0x615bd216 (0x0034fae4)
err:dbghelp:pe_load_dbg_file -Unable to peruse .DBG file DLL\MSVBVM60.dbg ("a>M`x\xec4")
4 0x660d2c24 in msvbvm60 (+0xd2c24) (0x0034fc54)
5 0x6603c10f in msvbvm60 (+0x3c10f) (0x0034fd3c)
6 0x660a4212 in msvbvm60 (+0xa4212) (0x0034fe5c)
7 0x6046058f (0x0034fed8)
8 0x6046076b (0x0034ff08)
9 0x6038980e in kernel32 (+0x5980e) (0x0034ffe8)
10 0x600075f7 (0x00000000)
0x61598b1b: cmpw $0,0x0(%edx)
Modules:
Module Address Debug info Name (11 modules)
PE 10040000-1005c000 Deferred trayicn6
PE 60280000-60283000 Deferred ntdll
PE 60330000-60394000 Export kernel32
PE 60450000-60454000 Deferred regsvr32
PE 60470000-60474000 Deferred gdi32
PE 60510000-60513000 Deferred rpcrt4
PE 61580000-61584000 Deferred oleaut32
PE 66000000-66153000 Export msvbvm60
PE 6c570000-6c573000 Deferred advapi32
PE 6c5d0000-6c5d4000 Deferred ole32
PE 6c680000-6c691000 Deferred user32
Threads:
process tid prio (all id:s are in hex)
00000036 (D) c:\windows\system32\regsvr32.exe
00000037 0 <==
00000032
00000033 0
00000028
00000029 0
00000026
00000027 0
0000000a
0000000c 0
0000000b 0
00000008
0000001a -15
00000010 0
0000000f 0
0000000e 0
0000000d -2
00000009 0
Z:\home\neil\.wine\drive_c>

ZeusZon
13th November 2006, 01:47 AM
Bumpy.

Is this too window's related for this forum. Anyone?

ZeusZon
13th November 2006, 01:58 AM
Image attached

When I try and run the ocx. It says it is a DLL. So if someone can tell me how to add it like a DLL it might help me out??