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

Multiple Questions: Calling functions from Inline assembly, parallel...

Trouble with calling functions from inline assembly...Just a little bit of back-story, I was attempting to optimize my code by writing them in inline assembly. This far in, my effort was paying out as...

View Article


Discarding DLL's resource after using it

I'm creating a dll with an embedded binary resource. Currently when I load this DLL it gets memory mapped into my process address space. The problem is that the embedded binary resource is huge and I...

View Article


Image may be NSFW.
Clik here to view.

VS2013 desktop applications will NOT run on XP

Hi,I can't seem to run any C++ VS2013 generated desktop application on any XP machine.  Regardless of whether or not the C++ redistributibles are installed.  I created the base Win32 window...

View Article

VC2012 regression in setlocale

I have identified a regression in the behavior of setlocale in VC2012 dealing with changed windows regional decimal separator.1. Start with Window's Region and Language settings set for a language that...

View Article

CTreeCtrl checkbox plus image

Is it possible to setup an CTreeCtrl in order to have on some items checkboxes, and to another one's images (icons, whatever) ? If yes, how can achieve that ?

View Article


MSBuild and AdditionalIncludeDirectories (/I switch)

Hi,I added the project Configuration Property: C/C++|General|Additional Include Directories=$(SolutionDir)On my system this adds:/I"C:\ASC\Code\CSharp\G3D\"to the compiler Command Line. This works fine...

View Article

fatal error CVT1100: duplicate resource. type:MANIFEST, name:1,...

Hi, I am porting a application developed in VS6.0 to VS2008. the application uses some third party DLL. While compiling I am getting "fatal error CVT1100: duplicate resource.  type:MANIFEST, name:1,...

View Article

Basic C++ Question!

Can anyone tell me why my input from this is coming up blank??#include <iostream> #include <fstream> using namespace std; int main() { ifstream input; input.open("employee.txt"); int...

View Article


VS 2010. "Unable to start program xxxx.exe" error. Help!

I am not a professional developer but a social scientist using VS for develping a simple simulation program. With VS 2010 Pro, I built a Win32 console program. When I execute the program via Run (F5),...

View Article


How can i set my usb disk partition to read-only using command like...

i want to write a program to set the usb disk partiiton to become read-only, protect the data on the disk. is it possible to use some storage i/o request to achive that ? or can someone suggest me how...

View Article

clocking a release version

I need to make rough estimates for the time used for some computations and for this purpose I have previously used the clock()  in <time.h> with no problems (VS express 2010). A couple of weeks...

View Article

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 Article

Download a ZIP or MSI file from server

Hello,My WIN32 application needs to download a file ZIP or MSI from the server. Which is the best method to download a file from server in background using C++.Please suggest me any libraries that I...

View Article


Transparency issues when adding 32 bit bitmaps CTabCtrl when not using unicode.

I am using Visual studio 2010.  This is a dialog based app.  Using MFC and Multibyte character set. Not Unicode for historical reasons.I am inserting tabs using the following code.// define an image...

View Article

How do I get mfc applications in visual studio express?

Hello I was wondering if it is possible to get an MFC application in visual studio express with out having to upgrade. I understand that it says on msdn that mfc applications are not on visual studio...

View Article


Command arguments do not pass when entered through project properties

Hi everyone,I am using Visual C++ 2005 express edition to develope a console application. The program requires command line arguments input and takes actions according to argc and argv. My problem is,...

View Article

Win32

Hello,i created programe that helping who have DLL error to copy dll files from my resource to his pcso when my app start its start like black screen with CMD command and close autoso can i make my exe...

View Article


SAL annotation for a DOUBLE inside a struct, with a range of zero to ∞

I tried using _Field_range_( 0, std::numeric_limits<double>::max( ) ) DOUBLE height; But code analysis threw`C28285Annotation syntax error in parameterFor function 'Options' 'field __base.height'...

View Article

Basic C++ Question!

I am getting the error:  1>c:\users\kelsey\documents\visual studio 2013\projects\project3\project3\payroll program reading from filecpp(52): error C2143: syntax error : missing ';' before '}'Can...

View Article

Image may be NSFW.
Clik here to view.

Visual Studio 2013 resource compiler error RC2108 - fixed yet?

There was discussion here starting last Autumn under the heading:Error "RC2108: expected numerical dialog constant" after project migration from VS2008 to VS2013and a recent message suggests it is a...

View Article
Browsing all 15302 articles
Browse latest View live


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