Jeffrey Ren wrote:
Yes,  IsDebuggerPresent is from CRT library in VC2005.
It seems that no method can avoid this except rebuild CRT library.
So better solution may be to supply a compatible release with VC 6 or VC2003.

From: "Neil Hodgson" <[EMAIL PROTECTED]>
Reply-To: Discussion of the Scintilla editing component<[email protected]> To: "Discussion of the Scintilla editing component"<[email protected]> Subject: Re: [scintilla] 1.72+ don't run on my Windows 95 ("missingexportKERNEL32.DLL:IsDebuggerPresent")
Date: Mon, 25 Jun 2007 10:39:53 +1000

Jeffrey Ren:

Is Scintilla v1.72 compiled with VS2005?
I know the executable file from VS2005 will not run in 95 OS because of
IsDebuggerPresent question.

  I think this was around the time I started using VS2005 for
releases. There is no explicit call to IsDebuggerPresent in Scintilla
so I expect it is part of the C/C++ runtime. Best to rebuild with an
older compiler/linker. If someone wants to maintain a version for
Windows 95 then I'll add links from the scintilla.org site.

Or you could just do what Microsoft expects you to do and use the NewAPIs.h file from the Platform SDK... :)

This allows you to add a define for WANT_ISDEBUGGERPRESENT_WRAPPER in ONE of your app's source files (presumably before an include of this header file) and a stub will be defined for you.

If you want a solution that does not involve the Microsoft toolchain and/or the Platform SDK, just handcraft your own stub conditionalized on something like "ADD_WIN95_STUB_SUPPORT".

Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to