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

Re: [TSVN]I'm stuck! Dialogs with CSciEdit do not load

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-08-21 10:31:26 CEST

Stefan Fuhrmann wrote:

> I'm at my wits' end. TortoiseProc dialogs having a "Scientilla" control
> in their resource just don't load. CreateWindowIndirect (called by
> DoModal) simply returns a NULL window handle without setting an
> error state (GetLastError returns 0).

Check if the scintilla dll gets loaded correctly. In
CSciEdit::CSciEdit() (the constructor), the last line:
   m_hModule = ::LoadLibrary(_T("SciLexer.DLL"));

Maybe the dll isn't loaded for some reason.

Did you recompile the scintilla control for 64-bit too?

> Since InitDialog is not called, I have no idea where to continue.
> Guess, I'm missing something pretty obvious ...

The dll itself registers a new window class which is then used directly
in the dialog resources. So the whole creation process isn't done in
TSVN but in the windows API.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sun Aug 21 10:32:35 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.