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

Image .raw

Hi !I want to create an image .raw with values (double) from a table 1D.I work with visual studio 2010 C++.Thanks,Rose.

View Article


MFC Desktop Application

Hi,I am developing a MFC application on Windows 8.1 using VS-2005. Requirement is to customize Folder Explorer for a specific purpose. I will create own pidl for folder and its contents. When I will...

View Article


C1083 compilation fails to open include file from network drive (VS2013 only;...

I have a large set of source files hosted on a network drive. One of the directories contains approximately 3,400 C and H files (from where a build tool has flattened a deep source tree)Attempting to...

View Article

Missing Console App after RC2 on VS2013

I am just learning C++. I downloaded VS23013Express.I also got the RC2 update.  And now with all the windows apps choices when starting a new project, I have lost the ability to simply run a console...

View Article

Need some help understanding this

I didn't understand the passage highlighted below obtained from this article by Thomas Becker:Given these rules, we can now use rvalue references to solve the perfect forwarding problem as set forth in...

View Article


[using Custom draw in treeview control in win32] How do I set the width of a...

I'm faced with a problem where I need to display some characters in a tree-view item (belonging to the Symbol charset) using "Symbol" font while others in the default System font (Segoi UI on my...

View Article

Exception handeling closes my program

Brand new to C++cout << "Hello World!" << endl; int x = 0; cout << "Enter your favorite number: "; try { cin >> x; } catch (int e) { cout << "Hey dummy, enter a number!"...

View Article

vc++ get program files (86) directory as string or char array

Hello, Im new to vc++ How can i get the Program Files (86) directory in VC++ ? Please indicate headers or imports i need to use, cause im new and using some code i see somewhere i receive a lot of...

View Article


Do or loop until file exist

Hello,I have no sucess, please can any post sample code and what include files i need to put, with a function, for loop until a file existt, then once exist open the file and read the first and third...

View Article


Run out of memory in OpenGL

Hi,I am using windows 8.1 and I have run out of memory using OpenGL. There are about a million 3d vertices. Anyone any ideas?Any help gratefully appreciated.Thanks

View Article

Refering within the class to constructor with the this pointer

#include "stdafx.h" ref class station{ public: station(){ }; void wrapper_1() { this->somefunct(); /*happy*/ }; void wrapper_2() { this->station(); /*not happy*/ }; void somefunct(){...

View Article

Image may be NSFW.
Clik here to view.

C++ CRC Calculation to C#

 Can anyone help me with c++ code. I don't know much about CRC and the C++ sample is not making it easy for me. I would like to send message from my application to a device using my serial port. The...

View Article

treeview item width in custom draw

I asked this some time ago and asking again as I didn't get any response nor could I find the response in any of the existing posts. Is there a way for me to tell Windows the width of the treeview item...

View Article


CDHtmlDialog: Changing HTML File Dynamically

Hey there -  I am using CDHtmlDialog in my MFC application to create a UI with HTML, CSS & JavaScript. In my project there's one dialog created from CDHtmlDialog and a corresponding HTML file for...

View Article

Image may be NSFW.
Clik here to view.

DLL file is missing after successful BUILD

Hello everybodyI have a small problem and I would like to ask for some help.I inherited a small VS solution which has 2 sub-projects. The first sub-project should return an executable file and the...

View Article


Launching a process through non interactive user account

Hi there, Have you tried this? A process is running in a normal user, logs on to a non interactive administrator account using LogonUser function and then Calls CreateProcessAsUser to invoke an...

View Article

Per-user redirection (ATL DLL) doesn't work?

HiI have a problem registering a ATL proxy DLL as per-user. I found a post which says per-user registration would work using theregsvr32 /n /i:user "xxxx.dll"command, but this fails (DllInstall entry...

View Article


Get the handle to the Desktop and try to show it.

Hi, I just want to know what's wrong with my code. All of the Handles returned by the API functions are all "unused" according to the debugger and with the help of breakpoints. I just want to get a...

View Article

Need help with error message C2664

Header File#ifndef H_arrayListType #define H_arrayListType #include <iostream> #include <cassert> using namespace std; template <class elemType> class arrayListType { public: const...

View Article

Timeout Detection in IDXGISwapChain :: Present method and handling this event...

I do simple  Directx 11 program  . While initializing device using D3DCreateDevice () with parameter pFeatureLevels * = null. The device creates a normal, selected maximum supported my video card...

View Article
Browsing all 15302 articles
Browse latest View live


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