Delphi 2007 Update 1 and Logitech Camera Software
Some users of Update 1 for Delphi 2007 have been running into a peculiar problem with running even the simplest of VCL apps — the debugger seems to step in, stopping on a non-existent breakpoint in your DPR project file. Hey, even I ran into it. It was very weird.
However, there is a pretty clear reason for the problem — a service that gets installed as part of the Logitech WebCam software suite. Kudos go out to a newsgroup member named Michael for nailing this down.
I have a nice Logitech camera on my machine, and hence I was running into trouble. The machine in question runs XP Professional, and I’m running version 10.5.1.2029 of the Logitech software.
For more information, you can see a short Camtasia of me demonstrating the problem and working around it. The video shows the problem in action, so if you are having similar problems, give a look.
We’re taking a look at it to see what the issue really is with the Logitech software.


Did you notice the Logitech dll lvprcinj.dll that was injected into the process? If you google for that dll you’ll notice that Delphi is not the only application that gets into trouble because of that dll.
I don’t know how important that dll is for the Quickcam, but maybe it can be renamed?
June 13th, 2007 at 12:45 pmHmmm… even the name of that .dll is very suspicious:
lvprcinj.dll -
lv - Logitech Video
prc - Process
inj - Injection
.dll - dll
It’s obvious that Logitech never envisioned that their software would be installed onto a system that is also being used for development..
June 13th, 2007 at 1:02 pmAt first I wondered why I didn’t get the same error. But then I understood that I don’t have any webcam installed
June 13th, 2007 at 2:00 pmI have a logitech webcam but when I tried to upgrade the software on it a while back it ate itself, so as I dont suffer, I have quickcam 9.5.5 that seems ok!
June 13th, 2007 at 3:22 pmLogitech Camera Software is not the only thing causing such problems. NOD antivirus causes unexpected access violations while debugging. Callstack shows just one entry comming from imon.dll which gets loaded into the process and launches a thread there. Killing the thread solves the problem but it’s anoying to switch to process explorer each time one wants to debug something to kill that thread.
June 13th, 2007 at 11:40 pm1 - Should this be fixed in Update 2? I still seem to have the error, and I think I have update 2. How do I know that I have succesfully installed update 2?
2 - Just want to post the fix here so it’s not necessary to watch the camtasia.
TO FIX: end "lvprcsrv.exe" process in task manager.
August 30th, 2007 at 11:03 amDescendent –
This isn’t something we can fix. Logitech is doing things and mucking with things that we can’t do anything about, and they haven’t responded to our queries.
Nick
August 30th, 2007 at 11:09 amWhat about a seek and destroy method for Logitech cam-software-processes….*g*
December 12th, 2007 at 11:33 pmwhen Delphi starts, without asking at best…then Logitech will get some funny questions…
Man, I was mad !
I loose my Saturday morning trying to track this down.
I’m using Delphi 2007 Pro R2 update 3. Killing the "lvprcsrv.exe" process in task manager worked fine.
Logitech! you have lost a client today !
December 15th, 2007 at 4:08 amFlip! I completely forgot about this stupid logitech thing. Spent the last day reinstalling Delphi 2007 furiously!
Who can we mailbomb at logitech to get them to fix their suspect software?
January 24th, 2008 at 1:02 pm