Loading...

Access violation exception on key press

Support for GdViewer OCX and GdViewer Pro ActiveX/SDK.

Access violation exception on key press

Postby arimetsap » Wed Dec 03, 2008 2:13 am

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
arimetsap
 
Posts: 5
Joined: Thu Nov 27, 2008 11:07 pm

Re: Access violation exception on key press

Postby Loïc » Wed Dec 03, 2008 4:28 pm

Hi,

Setting the DisableAutoFocus property to False should solve your problem.
If the problem persists, try to set the EnableMouseWheel property to false too.

Best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4441
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Access violation exception on key press

Postby arimetsap » Wed Dec 03, 2008 5:11 pm

Hi Loïc,

Sorry to tell, but setting the DisableAutoFocus to false (nor true) didn't resolve those issues -- the crash still occurs on key press, and the mouse wheel does not zoom the image after one image change.

Setting the EnableMouseWheel property to false doesn't help in the crash issue, but it disables the mouse wheel :-).

Br,
- Ari
arimetsap
 
Posts: 5
Joined: Thu Nov 27, 2008 11:07 pm

Re: Access violation exception on key press

Postby Loïc » Wed Dec 03, 2008 5:29 pm

Ok!

Are you able to send me a tiny application raising this behavior at esupport (at) gdpicture (dot) com ? I am unable to reproduce it.

Best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4441
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Access violation exception on key press

Postby Sim2010 » Thu Jan 28, 2010 4:15 am

Is this issue resolved?

I have the same problem when I'm using PowerBuilder 6.5.
Any ideas?
Sim2010
 
Posts: 1
Joined: Wed Jan 27, 2010 4:17 am

Re: Access violation exception on key press

Postby Loïc » Thu Jan 28, 2010 9:18 am

Hi,

See my previous answer: we are unable to reproduce this problem.

If the problem persist from your side using the latest available release, please send us a demo app with is compiled version at esupport (at) gdpicture (dot) com for investigations.

With best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4441
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdViewer [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest

cron