Hallo SteveKing,
thanks for your fast reply.
> Please post the part of your code where you initialize and show the file
> open dialog.
OPENFILENAME ofn;
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;
ofn.Flags = OFN_FILEMUSTEXIST | OFN_PATHMUSTEXIST;
if (GetOpenFileName(&ofn))
openFile(ofn.lpstrFile);
> Sure, but where's the stacktrace?
is that what you mean?
ntdll.dll!7c91eb94()
ntdll.dll!7c91e9c0()
kernel32.dll!7c8025db()
kernel32.dll!7c8399f3()
kernel32.dll!7c802542()
nvoglnt.dll!696f5af1()
nvoglnt.dll!695d834c()
nvoglnt.dll!69700537()
nvoglnt.dll!697005d2()
nvoglnt.dll!697006d4()
nvoglnt.dll!69700813()
nvoglnt.dll!6970043c()
nvoglnt.dll!696f5a25()
nvoglnt.dll!696f7996()
opengl32.dll!5f0ec506()
opengl32.dll!5f0f6710()
gdi32.dll!77f24b83()
> 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
kernel32.dll!7c816d4f()
ntdll.dll!7c925b4f()
kernel32.dll!7c8399f3()
>> 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.
matthias
---------------------------------------------------------------------
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