windows 7 - VB6 Crystal Reports 8.5.0.217 - Access Violation Application Crash -


background:

our company uses crystal reports in our legacy product written in vb6 i'm performing maintenance duties for.

its using version 8.5.0.217 [rtm] no service packs.


the problem:

has worked on windows xp x86 date.

in windows 7 [x86 , x64] access violation followed application crash , no further usable error information.


the details:

the application crashes large datasets report using active x viewer. visual studio crash whilst debugging.

the offending code here:

crv_obj(0).reportsource = reportparametersfrm.report crv_obj(0).enablepopupmenu = true crv_obj(0).viewreport 

i have checked that:

  • crv_obj(0) valid object reference.
  • reportparametersfrm.report valid reference.

the information have event viewer:

faulting application name: pyramid.exe, version: 2.2.0.8, time stamp: 0x51e53053 faulting module name: craxdrt.dll, version: 8.5.0.217, time stamp: 0x3a849e1a exception code: 0xc0000005 fault offset: 0x002ac3d1 faulting process id: 0x15a8 faulting application start time: 0x01ce8228a295c8c8 faulting application path: c:\program files\pyramid\pyramid.exe faulting module path: c:\program files\pyramid\crystalsys\craxdrt.dll 

i have tried:

  • disabling dep no effect.
  • changing compatibility windows xp , below.
  • running both privileged , nonprivileged users.
  • tried adding in new error handlers catch error
  • [fruitlessly] searching on google , site.
  • contacting sap [to ignored].

what need with:

  • have seen before?
  • are there workarounds or should looking wrong?
  • is there more recent version of crystal supports vb6 or @ least upgrade path know of can attempt?

any , appreciated.

after quite lot of research , digging around seems newer version of craxdrt.dll crviewer.dll fixes problem.

simply case of replacing these libraries in application lib folder , in c:\windows\system32\

i've put copy of libs here in event else has problem there little consistent help/information out there on internet.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -