Hi!
I have this simple test program in Visual C++ (VS2005)
#include "stdafx.h"
#include <iostream>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
for(int i = 0; i ...
Not familiar with Visual C++. This code compiles ok but I get a memory exception error when the GetDlgItemText function tries to execute. I am trying to get the text entered by the user and ...
I made a little program. When i try to run it on another computer, it tell me mfc71.dll missing. The computer have mfc71d.dll. I don't want to give mfc71.dll in the installation package. There...
I'm wanting to install a couple of windows systemwide hooks:
a)WH_CBT to yield the next window to receive focus, and the last window to have focus and,
b)WH_KEYBOARD to yield when a user has...
I have a VC 6 app, and I want to be able to parse an excel spreadsheet from my app. The data in the spreadsheet will always have the same format. The format is as follows: a double precision...
I wish to create a simple dialog-based application (using MFC) with a tooltip that can display different text according to where the mouse pointer is located, and also switch off this tooltip ...
I have a stand alone MFC C++ application which is built using VS.NET 2008. The application is built using two static externally provided libraries. One library was built using VS2008 and the...
Dear experts:
I have a question about preserving the backward versioning compatibly in Visual C++ .NET 2003:
I am building a win form control using Visual C++ under Microsoft Visual Studio...
I want to view a loaded 8bit bitmap on the screen.
I want to shrink the bitmap by 50%
Using the StretchBlt (in code below) I specify the bitmap height and width of the destination to b...
Hi,
do anybody know the problem:
I code a C++ App with VC+. This App use a bitmap in the background. But on one computer it looks bigger as on the other.
I read that this is a screen sett...
I am following a tutorial on winprog.org and am having a problem compiling some of the example programs. the error i get is:
fatal error RC1015: cannot open include file 'winres.h'.
I am usi...
Hi, seems quite simple, but got me stumped!
Using The free visual C++ express:
All I want to do is display in a text box a char array... in reality, I do more to the char array than this but...
Hi i would like to ask something. I added a picturebox control to my windows form and add this code to my form load
this->pictureBox1->Image = Image::FromFile("picture.gif");
My animatio...
Hi i would like to ask, for example if i have 2 Forms. Form1 and Form2 and i want to pass for example a value (example 0) to Form B, what function in c++ should i use?
Thanks.
I have launched a subform from my main form and I have it set up to accept data from the data. How do I make the information collected by the child available for the parent to use ?
I am programming a game on a SDI. The display consists of three rectangles, a small rectangle in a larger rectangle within a larger rectangle. These rectangles are connected by 4 lines, 2 vert...
Hi there.
I have a non-MFC VC++ application. When the window isn't selected or even minimized, my key input is still registered.
How can I check if my window is not selected, non active or m...
I've created a library in c++ 2008, which uses SetWindowsHookEx and CallWndProc.
I'm attempting to stop some messages from being processed, and can't seem to get it right.
I've trimmed t...
Hi,
Can anybody show me some code or point me to a code resource that shows how to load an html file on my local machine into firefox (and how to switch tabs in firefox if need be)?
Tha...
I am writing a vc++ .Net dll, and this dll will be used under vb.Net.
The function in vc++ would be look like:
int _stdcall AbcCapData(char * pkt_data) {...}
I wish to fill bytes in pkt...
Who can explain me the following issue:
I have two DLLs. For the first (product) DLL I created a template ref class Foo (see code below). Foo has a member of ref class Bar which is located ...
I have an VC 6.0 app. In design time, I created a menu on the main dialog. The resource ID is IDR_MAINFRAME. Like many windows programs, this menu has three menus. From left to right, the ...
hi
i built an application in visual c++2005 pro for communicating with many serial ports
whe i start my application , windows vista go for a shutdown saying crash dump ...
sometimes, it wor...
Can anyone please provide me with a good System::Net::Sockets TcpClient tutorial for VC.Net 2003 and .NET 1.1?
Hi,
Im trying to write to an edit control window in and MFC project. Im reading values from a file into a string, and im using IDC_OUT.SetWindowText(stringtoprint). This gives me an error"CWn...