Hi again,

It crashes into crtexe.c here:

#ifdef WPRFLAG
            mainret = wWinMain(
#else  /* WPRFLAG */
            mainret = WinMain(
#endif  /* WPRFLAG */
                       (HINSTANCE)&__ImageBase,
                       NULL,
                       lpszCommandLine,
                       StartupInfo.dwFlags & STARTF_USESHOWWINDOW
                        ? StartupInfo.wShowWindow
                        : SW_SHOWDEFAULT
                      );
#else  /* _WINMAIN_ */

The debugger stops at the ending parenthesis. I am using Visual C++ 2010
Express version. I would be thankful if you could help me on this.

Best regards, Asif


On Fri, May 20, 2011 at 7:58 PM, asif saeed <[email protected]> wrote:

> Hi,
>
> I am trying to use E:\libs\fltk-1.3.x-r8514\test\fltkdlld.dll (that I built
> using the debug config) with my own application that I initially created as
> an empty Win32 project. The application gives me the following error:
>
> Unhandled exception at 0x5f43351b (MFC42D.DLL) in nctrf5.exe: 0xC0000005:
> Access violation reading location 0x00000000.
>
> My library is also using MFC - which I have isolated successfully. I need
> to make it a Win32 application and NOT a console application - basically, do
> not want to get blank (and black) command-prompt windows along with my GUI
> application. Any help?
>
> Thanks in advance, Asif
>
>
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to