Quantcast
Channel: Visual C forum
Browsing all 15302 articles
Browse latest View live

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 Article


select() 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


R6002 error

R6002 error occurs when I run LS- dyna prepost programwhat should I do?

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 Article

fill 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 Article


Data 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 Article

Win32 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 Article

Visual 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 Article


error 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 Article


Visual 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 Article

error 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 Article

comdefsp.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 Article

Destroying 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 Article


SetClipboardData(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 Article

How 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 Article


how 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 Article

error 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 Article


iTunes 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 Article

Static 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 Article

Trouble 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
Browsing all 15302 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>