Hi,
I am evaluating GdViewer Pro ActiveX control and studying if it could fit to our needs. It looks good, except that I'm experiencing two problems:
Issue 1) If the viewer control has a focus, it crashes right away if I press any key on keyboard.
Here are the details from crash:
- Crash occurs in MSVBVM60.DLL, called by GdViewerpro4.ocx
- Thrown exception is "Access violation reading location 0x00000000"
- Call stack:
MSVBVM60.DLL!CImeKey::FSkipChar() + 0x66 bytes
MSVBVM60.DLL!_DefKey() + 0xc0 bytes
MSVBVM60.DLL!_VBDefControlProc@20() + 0xbe0 bytes
MSVBVM60.DLL!FormCtlProc() + 0x17b bytes
MSVBVM60.DLL!CTLUSER::CtlProc() + 0xc2 bytes
MSVBVM60.DLL!CommonGizWndProc() + 0xb0 bytes
MSVBVM60.DLL!StdCtlWndProc() + 0x22f bytes
user32.dll!_InternalCallWinProc@20() + 0x28 bytes
user32.dll!_UserCallWinProcCheckWow@32() + 0xb7 bytes
user32.dll!_CallWindowProcAorW@24() + 0x51 bytes
user32.dll!_CallWindowProcA@20() + 0x1b bytes
> GdViewerpro4.ocx!110a4b63()
[Frames below may be incorrect and/or missing, no symbols loaded for GdViewerpro4.ocx]
user32.dll!_DispatchHookW@16() + 0x31 bytes
user32.dll!_CallHookWithSEH@16() + 0x21 bytes
user32.dll!___fnHkINLPMSG@4() + 0x25 bytes
90909090()
Environment details:
- My environment is Windows XP SP3.
- MSVBVM60.DLL version is 6.00.97.82 (provided with the component) or 6.0.98.2 (the version from OS). The call stack above is from version 6.00.97.82.
- The GdViewer control is hosted by another ActiveX object, that is running in STA. The hosting component is a out-of-process COM server, so the parent window of the GdViewer control is managed by another process. However I'm not sure if this has any relation with this issue.
- I'm using Visual C++.
Issue 2) If I open an image and click the viewer with mouse, the control gains the focus. However if I open an image, close it, and open another image, the control does not accept the focus any longer. After this the image cannot be zoomed with mouse wheel.
Br,
- Ari
