Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Browsing all 3042 articles
Browse latest View live
↧

utility to check a DLL is 32bit or 64bit

Hello all: I have two third party DLL files that I wanted to check if they are 32bit or 64. I searched the web and some suggested corflags, I found it under "C:\Program Files (x86)\Microsoft...

View Article


Breakpoints aren't hit. How can I fix them?

I remember I asked this question before. I don't remember how exactly they are fixed. Do I delete some files? I tried to recompile to no avail. Thanks Jack

View Article


Keylogger problem

I have the source code below,and it works perfect when i run it with double click.It captures keystrokes and makes screen shots for every 100 keystrokes + it can be controled remotely from another...

View Article

trying to get streamreader to read and my calculations to populate my textbox

Here what i have so far, the error in the stream [CODE] Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim fileName As...

View Article

draw multiple lines and move then on screen

I am writing a pure C based win32 applications. I have drawn line. Now i want to translate that line, move the line whereved user wants to move on screen. Then again I drawn another line, I am drawing...

View Article


32-bit vs 64-bit

Hi, ALL, I have MSVS 2010 Pro installed on my machine. I got it from MS official site thru my college. The Help->About.. menu says: Microsoft Visual Studio 2010 Version 10.0.40219.1 SP1Rel. It does...

View Article

C++ error C2015 "Too many characters in constant"

I'm trying to put an if-else statement in a do-while loop and when I put the correct answer in the if statement I get that error. I'm creating a program to help someone who speaks Spanish lean English....

View Article

Please little help me

Hello, I got some errors from void and others. Is something wrong that? Code: #include <cstdlib> #include <iostream> #include <string> using namespace std; int main() { const int...

View Article


Determine the type in the function template

Hi, I want to detect the type in a function template, like this: template <class myType> myType Function (myType a, myType b) { // Detect the myType If (myType is int) { Â… } Else { Â… } } Is that...

View Article


Use of CListCtrl for a live data view?

I'm working on an app which monitors user selected data sets from various devices, and I'd like to display the data in a CListCtrl. This would be very convenient, but I'm just a little concerned about...

View Article

#warning

I'm compiling a module which issues a #warning statement. It's a warning that I could safely ignore. At least, I should be able to ignore it except that VC8 insists on converting it to error C1021...

View Article

Xinput controller state problem

I am making a mapper program for the 360 controller using XInput I am using SendInput to send keypresses to games Code: if(controller1->GetState().Gamepad.wButtons & XINPUT_GAMEPAD_B) {...

View Article

C++, C#, and Excel

Hi, I just got a job programming a windows application. One of the requirements is reading and writing values from an excel spreadsheet. Looking online, it appears that C++ isn't the best (one of the...

View Article


double vs int64

You'd think this would be a simple thing to find out from the internet but I must admit, I've struggled to find the answer :cry: 1) What is the range of numbers covered by a 64-bit double? 2) Ignoring...

View Article

Simple question about Class and Variables

Hi , I have written a class "FileSet " in program's Document class. This class contains other Four classes as "Machine1" , "Machine2", "Machine 3" and "Machine 4". Now my problem is Machine 1 can not...

View Article


Closing a MFC application from command prompt

Hi, I have created a MFC dialog based application. Now I want to implement such a functionailty that I will be closing my application through command prompt. And while closing of my application the...

View Article

error LNK2001: unresolved external symbol

I am getting this error while compiling my c++ project in Visual Studio2005, Error 3 error LNK2001: unresolved external symbol "class OdRxModule * __cdecl...

View Article


Cannot find the property settings file?

Here the max sdk plugin is looking at X:\projects rather than x:\program files (x86)\autodesk\maxsdk Inside the autodesk folder, there is a projectsettings\propertysheets subfolder where the plugin is...

View Article

MySQL Connector Data Dump

I wrote an application so I can manage the products for my e-commerce site. It uses MySQL 64 bit. Problem is some of my stores have in excess of 3 million products. The files that contain the data are...

View Article

[RESOLVED] CFILE::GetStatus failed??Whats wrong?

Hey guys , I am trying to open a file from local Path by the follwing code CString csRegExtractFileRemote; CFileException ef; CFileStatus cfsStatus; CFile cfSAP; csRegExtractFileRemote =...

View Article
Browsing all 3042 articles
Browse latest View live