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

Re[2]: [TSVN] bugreport: windows-tooltip causing crashes of personal applications

From: Matthias Grumet <matthias_at_grumet.at>
Date: 2005-04-30 17:34:52 CEST

Hallo SteveKing,

thanks for your fast reply.

> Please post the part of your code where you initialize and show the file
> open dialog.

char filename[256];
ZeroMemory(&ofn, sizeof(ofn));
ofn.lStructSize = sizeof(ofn);
ofn.hwndOwner = hWnd;
ofn.lpstrFile = filename;
ofn.lpstrFile[0] = '\0';
ofn.nMaxFile = sizeof(filename);
ofn.lpstrFilter = "set (*.xml)\0*.xml\0All files (*.*)\0*.*\0";
ofn.nFilterIndex = 1;
ofn.lpstrFileTitle = NULL;
ofn.nMaxFileTitle = 0;
ofn.lpstrInitialDir = NULL;

if (GetOpenFileName(&ofn))

> Sure, but where's the stacktrace?

is that what you mean?

> ruleset.exe!WinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInst=0x00000000, char * lpCmdLine=0x00000000, int nCmdShow=1) Line 727 + 0xd C++
  ruleset.exe!WinMainCRTStartup() Line 390 + 0x1b C

>> As I said, the crash does not happen with "normal" files (not having
>> one of the little tortoise icons) that's why I'm pretty sure this is a
>> Tortoise bug.

> Well, it's definitely not a Tortoise bug. Think about it: your app is
> not the only one using file open dialogs. Almost *every* application
> does that. If TortoiseSVN really would have such a bug, they all would
> crash too and that bug would have been found centuries ago.

good point.
sorry, but i suspected TSVN since this only happens on versioned files
having one of the little icons and these *.so files are getting loaded
when the tooltip appears.

> Oh, and you didn't mention which version of TSVN you've got installed.

latest. (i think)
TortoiseSVN 1.1.5, Build 2990, UNICODE

> Please make sure that you initialize *all* necessary fields in the
> OPENFILENAME structure. Maybe your app has a bug which only shows if
> shell extensions show some overlays...

thanks, i will do that.


To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat Apr 30 17:39:49 2005

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.