Hi Guys, I've been reading up on much of the articles at codeproject.com and have been trying to experiment. I've used the WTL wizard to create an application...
... In the simplest case, just give your static label a distinct ID (as opposed to the default of IDC_STATIC) and call SetDlgItemText(label_id, "text") in the...
Hi, I'm trying to build a task-bar alike control for my WTL app. I've noticed the task bar is a tree control (?!?!) (in XP) - is it? If so, how did MS made it...
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 ...
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...
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...
Hello, I do not understand the problem. If the _ATL_MIN_CRT is causing you problems just don't compile your project with this setting enabled. I have had no...
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....
Hi, Nenad I just tried three projects compiled with _ATL_MIN_CRT with Avast 6.0.1367 installed and nothing happened (no sandbox). We should grep the whole...
Nenad: I author a program that uses WTL (incidentally compiled with ATL_MIN_CRT) that at one time was diagnosed by one anti-malware version as being infected ...
Hi Phil, I am not concerned about my project, this is about WTL. If _ATL_MIN_CRT does cause some real problem, then WTL should not support it. I don't know if...
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 ...
Hi Gabriel, That is very interesting. It is probably because Avast is different on 64-bit. Unfortunately, I don't have any 64-bit machine to try that on. ...
Hi Dick, I agree completely with you. The only people that can help here are guys working on Avast, that they don't seem to be very helpful. That is really too...
Our WTL based app has millions of installations and roughly twice a year one or the other antivirus package starts flagging it as malware after virus ...
Hi Peter, Thanks for sharing this info. Based on it, we have to conclude that there is nothing really wrong with the _ATL_MIN_CRT code. And that is very good ...
Hello, I wonder but I cannot find the reason. The code is: CShellFileSaveDialog fd; if (fd.DoModal(GetParent()) == IDOK) { CStringW s; fd.GetFilePath(s); } ...
What is GetParent() returning in your code? Cheers, Nenad 2012/2/16 Konstantin Mironovich <const@...> ... [Non-text portions of this message have been...
guess the parent is valid. furthermore CFileDialog works pretty good in this App. also both work in another WTL-based program. I suspect these Vista COM-based...
Parent needs to be a top level window, not just valid. Or, it could be Vista - have you tried it on Win7? Cheers, Nenad ... [Non-text portions of this message...
the default parent is ::GetActiveWindow() for both CFileDialog::DoModal() and CShellFileSaveDialog::DoModal() and only the first works in my case. Win7 will be...
Hi, could it be that all that is missing is a call to CoInitialize? Regards Timo -- www.TimoSoft-Software.de - Unicode controls for VB6 "Those who sacrifice...
Thank for the idea, I don't think it's necessary. Nevertheless I've tried both cases. Anyway this code works with S_OK : CComPtr<IFileSaveDialog> pfd =...
Hello everybody, New build of WTL 8.1.12085 is on SourceForge.net. It adds support for VC++ 11 as well as some bug fixes. Cheers, Nenad [Non-text portions of...