certi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [certi-dev] Feature Request - Non console application for RTIA


From: Eric Noulard
Subject: Re: [certi-dev] Feature Request - Non console application for RTIA
Date: Fri, 26 Nov 2010 16:40:45 +0100

2010/11/26 Michael Raab <address@hidden>:
> Your proposal works well, building RTIA results in a linker error.
> I think on windows we will need a different program entry point...
> We need to add something like this to main.cc for RTIA (below usual main())
>
> #ifdef _WIN32
> int APIENTRY
> WinMain(struct HINSTANCE__ *hInstance,
>           struct HINSTANCE__ *hPrevInstance,
>           LPSTR cmd,
>          int show)
> {
>         return main( __argc, __argv );
> }
> #endif

This is awkward, and also an example my poor knowledge of the windows platfrom.
Could you try the following patch:
https://savannah.nongnu.org/patch/index.php?7406

it should avoid the windows without collateral effect.


-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]