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

OnCommitFinished() not called in x64 version of plugin

From: Randall Moore <Randallm_at_IssueView.Com>
Date: Wed, 24 Aug 2011 10:27:51 -0700

I've written a Tortoise BugTraqProvider for IssueView
<http://issueview.com>. The 32 bit version works fine. I compiled and
installed a 64 bit version for a customer. I get the GetLinkText()
button in the Tortoise commit dialog, so I know my code is getting
loaded. Most everything seems to work, but OnCommitFinished() is not
getting called.

I put MessageBox calls in all the functions to troubleshoot (I'm
compiling on my x86 machine and testing on an x64 box). I see
GetCommitMessage2() and CheckCommit() get called. But the MessageBox for
OnCommitFinished() never appears. The same code, compiled for x86
(32bit), works fine, including the MessageBox in OnCommitFinished().

Can anyone suggest a reason why OnCommitFinished() would not be getting
called? I'm concerned I may have a code mismatch. My function prototype
looks like this:

     public string OnCommitFinished(IntPtr hParentWnd, string commonRoot,
             string[] pathList, string logMessage, int revision)

But I've seen this documented
<http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-ibugtraqprovider-2.html>.
When I try to add the error parameter, my code won't compile.

    HRESULT OnCommitFinished (
       [in] HWND hParentWnd,
       [in] BSTR commonRoot,
       [in] SAFEARRAY(BSTR) pathList,
       [in] BSTR logMessage,
       [in] ULONG revision,
       [out, retval] BSTR * error
    );

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2829474

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-08-24 19:32:13 CEST

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

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