VS2010 Intellisense
I created my first C++ project in VS2010 SP1 and I get an error message anytime that I open the project that "An error occurred while creating or opening the C++ browsing database file". I have...
View Articleselect() and accept()
Hello Everybody, I understand that the command select() takes care of a number of sockets simultaniously without using threads. Select() handles sockets that are:1. ready for reading2. ready for...
View Article"The POSIX name for this item is deprecated. Instead, use the ISO C++...
I'm getting this message ("The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name:") with _close, and it suggests using _close, i.e., the identical name; similarly with...
View Articlefill a two dimensional array with combinations
hi,so first: i'm new at programming and i want to write a simulation wich has a part that fill a two dimensional array with all possible combination per line(first line:0, 0, 0 ,0 next line: 0, 0, 0,...
View ArticleData buffer using memory mapped files in Visual Studio 2008
Hello everybody, I have a data buffer project in Windows 7 x64 embedded OS (using Visual Studio 2008 ide), that would work simply like that: One writer application will send data (no network...
View ArticleWin32 programmatic way to disable "Allow the computer to turn off this device...
Hi,I have an application that requires a constant connection to a USB device. A problem with that is that I need to go to device manager of the computer I install it on to and disable the option "Allow...
View ArticleVisual studio 2010 active x dll uuid
Hi All,I have facing one strange problem regarding active x dll uuid we have implemented active x programm in vs 2010 c++, we are using Xffm class with uuid B2F190F0-1FA4-4D77-9ABD-1A054D67653X this...
View Articleerror C2664: 'COCPartInfo::COCPartInfo(const COCPartInfo &)' : cannot convert...
HiI am migrating my application from vc++6.0 to vc++2013I am finding this error in the code given below==================CODE============================if ( szStatus.length() > 0 ) {...
View ArticleVisual Studio 2013 Ribbon Editor
I have created a new ribbon image list in Paint.net and have imported it as a new Bitmap resource into my program. It is 500 pixels long x 32 pixels wide. I have discovered however that because it is...
View Articleerror MSB6006 : "cmd.exe" exited with code 3
HiiIam migrating my application from vc++ 0.6 to vc++ 2013 , one of the error iam facing is :error MSB6006 : "cmd.exe" exited with code 3Can anyone guide me through thisThanks Ankush
View Articlecomdefsp.h doesn't have all the HTML interface smart pointers defined.
Why doesn't comdefsp.h contain smart pointers for all the "HTML" interfaces? For instance, IHTMLWindow7, IHTMLElement2 are missing.IHTMLDocumentPtr and IHTMLDocument2Ptr are defined but...
View ArticleDestroying child window without parent WIN32 API
I have one problem . I am trying to destroy child window ,but it also destroys parent window, so application closes. I have such codeHWND cloneWin =FindWindowEx(hWnd, 0, szChildWin, 0); if...
View ArticleSetClipboardData(CF_DIB,...) error?
HiI have a VisualC++ program to display image data to the screen. The data is a 24-bit, RGB bitmap that is properly shown using BitBlt(), no problem. I have a CopyWindow() function that puts the...
View ArticleHow do I embed version information using Visual Studio Express 2013 for...
HiI've built a windows dll in Visual C++ using Visual Studio Express 2013 for Windows Desktop and I want to embed version and copyright information into the dll file.I have searched the forums a lot...
View Articlehow to change access mask of a previously opened file handle
When I use CreateFile function to get an new handle, i can specify access rights in the dwDesiredAccess parameter. However, for the purpose of my application, I want to change access mask of this...
View Articleerror messages: 0_D:\c++\Audi\CTools\CUSTOMBUILD_CTools
HiI am facing this error after building a projectCan anyone find a solution for this? BTW i checked there was no custombuild folder in ctools file.Thanks
View ArticleiTunes and MSVCR80.dll
When prompted to install an update on iTunes recently I did so but then could not open iTunes because it said "Application failed to start because MSVCR80.dll was not found. Reinstalling the...
View ArticleStatic library cannot be linked
Hi,I use VS2008 to create a new static library, containing the following function:TestLib.cppBOOL Test(const CString& strName, CListBox& ListBox){ ListBox.AddString(strName);}Then...
View ArticleTrouble Compiling with VS LNK 4044..can't find library files
Hi all, looking for some help..not sure where to turn.So I'm a grad student doing modelling work for the first time and am finding it pretty rough.I have the source code for a model written in C. I...
View Article