Re: _ATL_MIN_CRT triggers Avast Sandbox
Nenad Stefanović <[email protected]> Mon, 23 Jan 2012 17:02:03 -0800
| Newsgroups | gmane.comp.windows.wtl |
|---|---|
| Message-ID | <CAK3Hp+-BdKGeTp+u84JZafcHZSc7VatiiAOa9RCqf9_J3U6MZw@mail.gmail.com> |
Hi Angus, _ATL_MIN_CRT replaces the CRT startup code by replacing main() function. You still link to CRT library, but can't use any of the CRT functions that require startup code. When you do, you get unresolved function main() while linking. The advantage of doing this is that resulting executable is much smaller. This is useful for small apps or DLLs. Cheers, Nenad On Sat, Jan 21, 2012 at 4:44 AM, Angus Comber <angus-v2qo0/[email protected]> wrote: > ** > > > I am trying to work out what ATL_MIN_CRT does. I can see in the > compilation of WTL it uses its own string handling functions to avoid the > CRT startup code. But how does it change the link process? It must be > setting some flag to exlude use of the C runtime? How does it do that? > > > ----- Original Message ----- > From: Nenad Stefanović > To: Philipp Kursawe > Cc: [email protected] > Sent: Saturday, January 21, 2012 3:40 AM > Subject: Re: [wtl] _ATL_MIN_CRT triggers Avast Sandbox > > Hi Phil, > > I could, but this is not about my project, it is about WTL and its support > for _ATL_MIN_CRT. > > Have you had any problems with Avast? Works fine for me in general. > > Cheers, > Nenad > > On Thu, Jan 19, 2012 at 10:29 PM, Philipp Kursawe <[email protected] > >wrote: > > > You could just compile without this setting or better yet uninstall > > that snake oil software of Avast and just use the free MS security > > essentials if you think you need it. > > > > Phil > > From: Nenad Stefanović > > Sent: 20.01.2012 03:11 > > To: [email protected] > > Subject: [wtl] _ATL_MIN_CRT triggers Avast Sandbox > > Hi everybody, > > > > I have Avast 6.0 anti-virus and I noticed that now Avast triggers Sandbox > > for apps built with _ATL_MIN_CRT. Any apps, including projects that do > > nothing but display a window. I contacted Avast support, but they were > not > > helpful at all. > > > > Has anybody else noticed this? Any ideas why is this happening? > > > > I think this is an important issue. If the problem is a real one, WTL > > should then drop support for _ATL_MIN_CRT. > > > > Cheers, > > Nenad > > > > > > [Non-text portions of this message have been removed] > > > > > > > > ------------------------------------ > > > > Yahoo! Groups Links > > > > > > > > [Non-text portions of this message have been removed] > > [Non-text portions of this message have been removed] > > > [Non-text portions of this message have been removed] ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/wtl/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/wtl/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/