can i change tooltip of trayicon when it's showing
can i change tooltip of trayicon when it's showing:i find the tooltip only changed when mouse hover away and then move back. for example, there is a clock program, when tooltip come out, it will keep...
View ArticleInstallation of MSXML
Hi,In my application in some places I am calling "Msxml2.DOMDocument.4.0" and in some places I am calling Msxml2.DOMDocument.6.0. Which MSXML version I need to install in my system to handle both or by...
View ArticleNew programmer who is completely giving up hope of ever learning Directx
I just finished learning c++I want to learn direct x now and make gamesApparently microsoft just wrecked everything by releasing a new SDK for windows and Dx11 that ruins all the books and tutorials by...
View Article0xC0000005: Access violation writing location
Unhandled exception at 0x0040161b in PcsPrintSrvc500.exe: 0xC0000005: Access violation writing location 0x02fffdd8.
View ArticleDebug problem
Hi! I have tried so many times but i can't debug. Every time i click on debug, a window pops up saying "there were build errors". I can understand that there are some simicolons missing or something...
View ArticleChart/Graph controls for Desktop Apps
Hello everyone,I would just like to know how to create a chart or graph control in a simple C++ win32 desktop app without using any third-party code/API. I just want to create a chart control in my app...
View ArticleError LNK2001 and LNK2019
Hello!Can you please help me with this error? I already google it but no answers found. I'm using VS2013 Ultimate; Win32Application using MFC Static Library.Development files: ODEApp.cpp, ODEApp.h and...
View Articlewhether rpcrt4.dll is a open source / or free library, and can I use (bundle)...
Friends , I am developing application product , which needs to generate UUID, so I planned to use rpcrt4.dll , can I bundle that library into my application product?Thanks in...
View ArticleVC++ loads links instead of files
Particularly in VC++, when I click Add Existing Item and specify an item from another project, what gets loaded is not a copy of that item but a link to that item. This is deadly because when I edit it...
View ArticleCalling another function from main of diffrent (.cpp) file
/* Main file main.cpp */#include<stdio.h>#include "display.h"int main(){display ();return 0;}/* File no. 2 containing a simple function display display.cpp */#include<stdio.h>include...
View ArticleGraphics.DrawEllipse erases background
Using GDI+ in Visual Studio 2013 with C++, the Graphics.DrawEllipse method seems to erase the background within the ellipse. Is there a way to have it draw the ellipse without erasing the interior?I am...
View ArticleWeird crashing -- Crashes when project has no errors
Hello, I'm having a heck of a problem right now. I was writing my program, no serious changes to files other than normal code, when suddenly Visual Studio crashed. I recovered and everything was the...
View ArticleToolbar in Taskbar
Hi I would just like to know if I can create a Toolbar and put it in the taskbar.I think I should create the toolbar using CreateWindowEx (). But how do I put the toolbar in the taskbar using Windows...
View ArticleRef Classes In Console App
Hi, can I use "ref class" in a C++ console App? See below:By the way, here is the compiler error: "this declaration has no storage class or type specifier"#include <iostream> #include...
View Articlehow to place x86 and x64 atl90.dll at the same folder
my executable is a dll, use ATL, and have two copies of x86 and x64, so they depend on x86 atl90.dll and x64 atl90.dll.for example, my executable named test.dll and test_x64.dll, i want to put test.dll...
View ArticleAn Issue on fopen_s
Hi all,Here is my code, I catch an issue that the file fopen_s returned is null but errno_t showed me the file has been opened success.int _tmain(int argc, _TCHAR* argv[]) { FILE* file; const int...
View ArticleLoad Library gives 126 error
I am facing a problem where I am trying to load a win32 dll using LoadLibrary API and getting the error as 126.It works fine on pc's having visual studio installed but gives the above error where...
View ArticleSHGetFileInfo only returns the commonly used icon
Hello,i am writing some kind of browser similar to the Explorer in Windows. I can get the correct icons via SHGetFileInfo or SHGetStockIconInfo except for one and that is the desktop folder icon.It...
View ArticleNeed to do the adjustment
Hi, Is there any sample code in C++ to adjust the name belowHKCU\Software\Microsoft\Internet Explorer\Main\Start Page within Windows?Many Thanks & Best Regards, Hua Min
View Articlemsvcr100.dll missing from windows 7 ?
Himy application is getting error due to missing MSVCR100.dll.So this dll is the part of windows 7 OS or do I have to install Visual C++ Redistributable Package.
View Article