Nick Hodges

Delphi 2007 Update 1 and Logitech Camera Software

13 Jun

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.

18 Responses to “Delphi 2007 Update 1 and Logitech Camera Software”

  1. 1
    Sebastian Z. Says:

    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?

  2. 2
    Allen Bauer Says:

    Hmmm… 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..

  3. 3
    Bridgy Says:

    At first I wondered why I didn’t get the same error. But then I understood that I don’t have any webcam installed

  4. 4
    Liz Kimber Says:

    I 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!

  5. 5
    Adrián Szobi Says:

    Logitech 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.

  6. 6
    Descendant Says:

    1 - 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.

  7. 7
    Nick Hodges Says:

    Descendent –

    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

  8. 8
    QuickAndDirty Says:

    What about a seek and destroy method for Logitech cam-software-processes….*g*
    when Delphi starts, without asking at best…then Logitech will get some funny questions…

  9. 9
    Nilo Menezes Says:

    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 !

  10. 10
    Hein du Plessis Says:

    Flip! 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?

  11. 11
    Frank Lauter Says:

    Any progress with this Problem?

    I use me Webcam very often and like to debug at the same time ;-)

    RGDS Frank

  12. 12
    Fabricio Says:

    I’ve asked about it november, and after a thousand emails, I found they have not a solution to this.

  13. 13
    sven bayerl Says:

    Spent the weekend reinstalling my laptop because of this prob.
    With RadStudio 2009. All worked fine till until today where I suspected VS2008/SQL2008/Powershell. Those were the last programms I installed. I forgot all about my logitech cam. I nevers supected that! Thans alot logitech!! I’m dumping the cam.

  14. 14
    Andrew Says:

    Howcome I only get this problem on Delphi 2007, never on Delphi 6? There surely must be something codegear could do with it..!

  15. 15
    Thom Says:

    The Camtasia link seem to be broken. Is there an alternative URL available for viewing this workaround?

  16. 16
    Thom Says:

    The Camtasia link seem to be broken. Is there an alternative URL for viewing this workaround?

  17. 17
    Nick Hodges Says:

    Thom -

    I fixed the link. Thanks for pointing that out.

    Nick

  18. 18
    Jim Duff Says:

    Thanks once more from another one who has fallen foul of this problem. My environment is Delphi 2009 on Windows XP.

    I have just spent the best part of a week trying to get this problem resolved, and even lodged a report on Quality Central - who should have known about this issue.

    Thinking somehow that D2009 had been bugged, I finally decided to do a full reinstall, and it was only after doing that, that I received an additional message stating ‘The application failed to initialise properly…’. Having then Googled for those words, I came across this page. Thanks again.

    Now I can get back to work :-)

    Jim.

Leave a Reply

© 2009 Nick Hodges | Entries (RSS) and Comments (RSS)

Your Index Web Directorywordpress logo
Close