Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-11

RunError(53216) in TOpenDialog

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Anders E. Andersen

Sorry if this is a double post. I posted this yesterday and could not see it in the archive. In the mean time I have subscribed to the list.

Hi list

I wanted to test some Word automation in lazarus. Pretty much my first lazarus project.

I am using Lazarus 0.9.30.2 on Windows 7 Home premium 64 bit.

When I hover with the mouse over a word document in TOpenDialog I get the runerror.

Sample project with word document:

http://dl.dropbox.com/u/20098726/WordCom.zip

Regards
Anders

Reply by email

Howard Page-Clark
to Anders E. Andersen
Anders E. Andersen wrote
I am using Lazarus 0.9.30.2 on Windows 7 Home premium 64 bit. When I hover with the mouse over a word document in TOpenDialog I get the runerror.

I compile and run your project without errors on Win7. This runtime error you experience may be related to errors in the Windows registry, possibly caused by earlier virus infections or incomplete software uninstalls.
I suggest you run a thorough antivirus scan (and also a registry cleaner if you have one), and see if that solves the problem.

Reply by email

Anders E. Andersen
to Howard Page-Clark
Howard Page-Clark wrote 13 lines
On 08/11/11 12:30, Anders E. Andersen wrote: > I am using Lazarus 0.9.30.2 on Windows 7 Home premium 64 bit. > > When I hover with the mouse over a word document in TOpenDialog I get > the runerror. I compile and run your project without errors on Win7. This runtime error you experience may be related to errors in the Windows registry, possibly caused by earlier virus infections or incomplete software uninstalls. I suggest you run a thorough antivirus scan (and also a registry cleaner if you have one), and see if that solves the problem.

HI, thanks for your answer. I am certain I don't have any virus infections and have never had any. I just did a clean reinstall of Windows a few weeks ago.

I uninstalled win64 lazarus and installed win32 lazarus and rebuild my project. It works fine in 32 bit!

Then I uninstalled that and reinstalled 64 bit lazarus and rebuild again. The program crashes again.

Anders

Reply by email

Howard Page-Clark
to Anders E. Andersen
Anders E. Andersen wrote 5 lines
I uninstalled win64 lazarus and installed win32 lazarus and rebuild my project. It works fine in 32 bit! Then I uninstalled that and reinstalled 64 bit lazarus and rebuild again. The program crashes again.

In which case you have uncovered a bug in 64-bit Lazarus (or 64-bit FPC). It may have been reported already, but best to log it as an issue on Mantis with your example code so that it can be assigned to a developer to sort out (if you can't discover and remedy the cause, and submit a patch).

Reply by email