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...
Hi Nenad, I have controls derived from 'CScrollWindowImpl<MyControl, CFSBWindow>' and particularly a DataGrid. I noticed that when I turned my mouse's wheel...
Hi Philippe, Thank you for pointing this out. Your solution is what should be there, so I will add it to the WTL code. Thanks, Nenad ... [Non-text portions of...
Just checked the latest WTL 8.1 release and this change never got committed. As there were no objections, can this be committed ? Best Regards, Richard B....
I've only just noticed that Wizard based WTL frame apps have a return code of 1 when the X button is clicked by default, and Wizard based WTL dialog apps have...
http://social.msdn.microsoft.com/Forums/en-US/vcmfcatl/thread/bc715647-7f9b-4404-81fb-89c11bbd7b30 above is the link to the original discussion along with the...
I think you need a PreTranslateMessage that returns ::IsDialogMessage for the child dialog. This is needed for modeless dialogs to drive their message...
I've noticed that a right-click on a checkbox in a CCheckListViewCtrl results in two WM_CONTEXTMENU (also NM_RCLICK) messages being sent - one for the mouse...
My logic for not display a context menu is a bit simplistic, as it doesn't work for a double right-click on a checkbox - the second mouse-down does not...
I save one integer value in Column of ListCtrl via "SetItem"; But I can't get the value via "GetItem" if the application is complied using "Release"...
Hi Tody, ... using "Release" configuration. ... I can't see anything specific to build configurations in your code (the usual culprits are uninitialized...