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

Adding Additional Help

Hello folks, I' am In the process and learning stages of programing. I would like in some way to have a complete offline as well as online help system. That is robust with in depth knowledge and key...

View Article


error C2664: 'HRESULT _CopyVariantFromAdaptItf::copy(VARIANT *,ATL::CAdapt...

Hi I am migrating my application from vc++6.0 to vc++2013I am sending the part of code were iam getng the error:==================CODE====================//Data CComPtr<IUnknown> m_spUnk;...

View Article


Is this correct? In clang and gcc the code doesn't compile.

This code prints "hello world" in VS2013. In clang and gcc it doesn't compile. How is the preprocessor ignoring the formal arguments in the macro definition?#include <stdio.h> #define MACRO(s,...

View Article

How do I remove absolute filepaths from a Visual Studio project?

When I move my Visual Studio solution folder to a different location on my computer and try to build, it spits out a lot of errors like this:Cannot open source file:...

View Article

How does the "for each in" work

array<System::Byte> ^temp_2 = gcnew array<System::Byte>(256); System::Int32 count_1 = 0; for each(System::Byte %element in temp_2) { element = System::Byte::Parse(count_1.ToString());...

View Article


Uninstall Visual C++

I was working on uninstalling and cleaning out some things on my computer today and saw I have 5 versions of Visual C++Just to give you an idea on where I standI have no idea what this  is or does Can...

View Article

error C2065: 'COLOR_BGR2GRAY' : undeclared identifier

include "opencv2/highgui/highgui.hpp" include "opencv2/imgproc/imgproc.hpp" include <iostream> include <stdio.h> include <stdlib.h> using namespace cv; using namespace std; Mat src;...

View Article

Cannot open include file: 'stdafx.h'

#include "stdafx.h" #include <cv.h> #include <highgui.h> IplImage* imgTracking; int lastX = -1; int lastY = -1; //This function threshold the HSV image and create a binary image IplImage*...

View Article


Adding a database value to a ComboBox when a different database value is...

I have two combo box's in my GUI and a spreadsheet set up in MySql which has 3 rows and two columns (OD and ID), I am trying to set up the combo box's in the following way:comboBox1 reads the entire OD...

View Article


GetMessage() Dispaches message

We have an application with only one UI thread. It has message loop like belowbool bClosed = false; while( bClosed || GetMessage( &stMsg, 0, 0, 0 )) { In between here the value of bClosed is...

View Article

Learning C as if it's 1991

Hello people. I found a book on C and I fell in love with it, I want to go through it till the the and be able to compile all the example programs. I did not find a compiler that comes with "graph.h",...

View Article

GetDlgItemText. Write to static class member. Unresolved External.

class newtonsmethod { public: newtonsmethod(); ~newtonsmethod(); void RunMessageLoop(); HRESULT Initialize(); HRESULT CreateDeviceIndependentResources(); static LRESULT CALLBACK WindowProc(_In_ HWND...

View Article

kernelbase.dll error

Hi,I created a VC++ Windows Form project with VC++2010 and upgraded and maintained it in VS2013. It worked perfectly on my computer.However it doesn't seem to work on others' computers. I copied it to...

View Article


Can't start a new C++ project - Help?

I just installed Visual Studio Pro 2013 onto my computer and each time I try to create a C++ project I get this message:Unable to read the project file "projectname.vcxproj"....

View Article

Root cause of getting bad pointer

What could be the root cause of getting bad pointer?NAVEEN

View Article


Errors in file "iterator"

I have a project in Visual Studio 2013 that references two .dll's.  I have a working .h for one and had to create a .h for the other, along with some C++ code in a .cpp.  There are no indicated...

View Article

CIPAddress control problem with setfocus

When i setfocus() on CIPAddress control, the text inside control gets selected or cursor is in slection mode. This disallows me to enter text untill i doubleclick the control to come out f slection...

View Article


Error: Unresolved external, DirectX June 2010 Game development

I wasn't sure where else to put this. I'm receiving an error that neither me, my classmates, nor my teacher can solve.error LNK2019: unresolved external symbol _Direct3DCreate9@4 referenced in function...

View Article

Command Prompt result "cl is not recognised as an internal or external command

I wrote the source code for a hello world program in Visual Studio, then saved it with the name helloworld under the E:/Hueee/Consola/helloworld path. When I try to compile it it appears a message...

View Article

GiveIO.sys on Win7-64

Hi, I have an old project using GiveIO.sys to use IO under XP. Now I got an X64 system with w7-64 on it, the driver won't load. Is there a 64 Bit version of GiveIO.sys ? I see a lot of questions on...

View Article
Browsing all 15302 articles
Browse latest View live


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