[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Got "no error occurred"

From: Konstantin Kolinko <knst.kolinko_at_gmail.com>
Date: Tue, 12 Aug 2008 04:59:51 +0400


Some googling shows that the "No error occured" message can be
produced by the GetLastError() Windows API call.

Here is an example:

It is just a wild guess, where it might occur:
clicking on a menu item results in TortoiseProc.exe being launched
with relevant /command arguments.

If the launch (i.e. CreateProcess call in ContextMenu.cpp) fails,
a message box is shown with title "Error" and with a message
provided by GetLastError() call.

It is hard to imagine why CreateProcess can fail without providing an
error code. Maybe some malware is intercepting the call?

It should be easy to check, whether TortoiseProc.exe is being
launched or not:

1. In the registry create a DWORD parameter
and set it to 1

2. Now, when TortoiseProc.exe is launched it will display a
message box with its command line arguments. If the message
box is not shown, then the launch attempt failed.

Also, I would suggest to change the title of that message box
to something more specific, like "TortoiseProc launch failed".

Best regards,
Konstantin Kolinko

To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-08-12 03:00:03 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.