Access 2k project crashes using ReportToPDF

R

rgalik

Hi all,
I'm working with Stephen Leban's ReportToPDF code in my .adp project.
On new-installed computers HP, Win-XP SR2, Access 2k SP3, it crashes
with "Microsoft Access for Windows has encountered a problem and needs
to close .....bla, bla". I tried to debug the code and recognized that
it stops here

' Call our function in the StrStorage DLL
blRet = ConvertUncompressedSnapshot(mUncompressedSnapFile,
sOutFile, 0, "", "", 0)

here If I press F8 to continue a crash occurs

What is interesting - the pdf file is created well, just the crash is
undesirable. I am using the latest version of strstorage.dll from
22.03.2006, stored in system32 folder.
On the old computers it works perfekt.

Does anyone have any ideas what needs to be done to fix this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top