On 24.08.2011 19:27, Randall Moore wrote:
> 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
> );
Are you using this file:
http://tortoisesvn.googlecode.com/svn/trunk/contrib/issue-tracker-plugins/Interop.BugTraqProvider/IBugTraqProvider.cs
to get the correct interface?
Maybe you could have a look at Gurtle (http://code.google.com/p/gurtle/)
how they do it.
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2829501
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-08-24 22:05:58 CEST