The download of the specified resource has failed
Issue: When client (IE or Web Client App) connect to https WebServer then urlmon.dll calls calback function with HRESULT -> 0x800c0008 The download of the specified resource has failed. 1....
View ArticleDelays with Windows SendInput API: Input to editor, IE or notepad is delayed
Hi there, We have developed a virtual keyboard (vk) and use Windows API to display it. Later on, the vk is used to input the keys to the internet explorer. The problem is the keys are taking long to...
View Articleaugmented security
The problem now is instead of protecting myself from Google et al, now its the NSA et alhttp://www.reuters.com/article/2014/03/31/us-usa-security-nsa-rsa-idUSBREA2U0TY20140331now I have this reference...
View Articlehow to check a file is audio/video file or not in mfc
hi, Please help me to find out for video/audio file.CFileFindand CFile classes are tried but not succeeded .Thanks, Sarath s Please remember to mark the replies as answers if they help and unmark them...
View Articlewhich class/function/api should i use for collecting windows error report
hi i am collecting software information, i almost find all kinds of APIs/class from msdn.. now i want to collect information on windows error reporting..cant able to find any api.. can anyone suggest...
View ArticleCComDate & wcscpy
I've found CComDatereally useful but when I compile I get a warning that wcscpy may be unsafe and I should use wcscpy_se.g.LPTSTR CComDATE::Format(LPTSTR pszOut, DWORD dwFlags, LCID lcid) const {...
View ArticleDLL parameters
if I export a dll function that requiresenum class myEnum : unsigned { e1, e2, e3, e4 };and typedef DATE myDATE;is it correct to usemyFunc(myEnum p1, myDate p2)ormyFunc(unsigned p1, double p2)or...
View ArticleHow to change scroll positions of one scrollbar depending the scroll info of...
Hello Everyone,I hav created two list view in mfc. Now i want to change the scroll positions of scrollbar of one list view when scroll positions of scrollbar of another list view changes.how to do...
View Articlehow to get software services information with vc++
hi i want to get information of services which are running with its path like this image.
View ArticleReusing custom styles to controls in C++
Hi,I am trying to have customized look for few of the default controls like button, progress bar, etc. I created them in one resource file. But this is limiting me to have this customization to only...
View ArticleDetecting headphones plugged out event
Hello,I want to detect when my headphones get unplugged. My sound card does provide a visual notification when I unplug it:http://imgur.com/TFMu33lI'm trying to achieve a similar functionality.My...
View Articleextern what is it doing
Hi, I was reading about 'extern' in C and it seems to be a way to define C style funtions in a C++ way. I came across the following code..extern "C" { icmo_setup_icmomiscp_func* icmo_setup_icmomiscp;...
View ArticleListbox dropdown clipped to height of grid
Hi, How to prevent a listbox dropdown from being clipped at the bottom edge of a grid.I am creating listbox inside the grid. I am using the following flags m_listBox->Create(WS_CHILD...
View ArticleReading COM struct from IDispatch
Hi,First of all, I do not know where to post the question in subcategory.My question is that I have C++ function which has a IDispatch input as argument.I am trying to read the struct from IDispatch.So...
View ArticleHow to check if data is retrieved from IE cache or server?
Hi,I am using WinInet to retrieved pages from web server as I wanted to use WinInet ability to cache the retrieved pages. For some reason, I want to know whether the page is retrieved from the IE cache...
View ArticleVC++ program to support multiple language
Hi,I'm very new to the VC++ development.I'm using the VC2005 for my project development.Currently I've a requirement to support the multiple language.All the string handling are done via wstring and...
View ArticleTimer in a windowless component (MFC-VS2010)
Hi, I try to insert a timer event in a windiwless component (derived from CCmdTarget) and I don't know how.I tried to change the baseclass from CCmdTarget to CWnd and then I got the opportunity to add...
View ArticleAn error occurred while creating and opening the C++ browsing database file.
Hi,I am getting the following error always whenever I try to make a VC++ related project. Please help if anyone knows the solution. I am using windows 7 enterprise and VS 2010 professional SP1. Many...
View ArticleFloating CDialogBar disabled
HiI would like to make mfc application with a floating diaologbar or toolbar (visual studio C++ 2012). I have create and visualize a dialog with some buttons as a toolbar. Unfortunately all buttons,...
View ArticleMissing msvcr100d.dll
Hi,I recently upgraded from Windows XP to Windows 7.I'm happy that i've changed to Windows 7, but the problem is that msvcr100d.dll is missing when i try to run an Warcraft .exe file, this had never...
View Article