Windows Programming - May 2010 (Page 2)

problem With classes, String^ and managed code in visual Studio 2008
 
Hi Guys, I am trying to creat a class in visual studio 2008 (vc++). This is the code I have in ba...
[1 reply] : It appears that you can't make global variables of managed types. Put... (by firedraco)
by Null
problem with ListView control
 
Hello, I have a little problem with ListView control. I have two items in ListView control and I wa...
[3 replies] Last: I´m not sure if the following approach is effecient, but couldn´t Yo... (by Incubbus)
by Vexer
SHFileOperation With List Boxes
 
I am writing a simple Win32 Application that copies files from one location to another using SHFileO...
[15 replies] Last: Sigh.... Just compiled this code and it didn't work, oddly enough it w... (by Vexer)
I need a way to copy a 2 dim array and get it on a device context...
 
i want to make a simple drawing library to draw lines or points, but i want it to have nothing to do...
[no replies]
Global Hotkeys
 
I need a good method of doing global hotkeys in c++. Does anybody know of any method or function in ...
[15 replies] Last: I put it their before, just didn't know how to get it to recognize it.... (by Serpent)
by Dval
Winsock only for network programming?
 
Hi guys, Just a quick question. Is Winsock the only library available for C++ coders to use for...
[1 reply] : Is there an alternative to the Windows Operating System's APIs? Always... (by Albatross)
by Frog
Progress Bar, reset + refill
 
Hi, I've made a progress bar and everything seemed to be fine, colour, range, current value etc. ...
[1 reply] : You will need to use the PBM_SETSTEP and PBM_STEPIT messages. (by Vexer)
vc++ expects const for array size!
 
Hello, I wrote a C++ program for some data analysis in my lab. Using gcc in Linux, the program co...
[3 replies] Last: FYI, that statement is illegal C++, the only reason it works in g++ is... (by firedraco)
Template Method throws error for string
 
Hi, Could anybody point me what is wrong wth this code. I get the following compiler error - ambi...
[1 reply] : Interesting one. In short, I don't know. The compiler can't decide... (by kbw)
by Madu
Write binary file - 8bit words
 
Hello, I am having trouble writing a binary file. The procedure I am using is: StreamReader^ ...
[1 reply] : I'm not sure about 4 bits but surely if you used a variable which is 8... (by minime)
by Zyl
Issue with fgetc handling CR + LF
 
Apparantly, fgetc(file) will return an occurance of consecutive CR + LF as LF, discarding the CR. Si...
[4 replies] Last: You don't need to call close, the destructor does that for you. Mea... (by kbw)
by Sw0rDz
Vector of Objects
 
Is it possible with Visual c++ to have an instance variable of an object to be a vector of an object...
[4 replies] Last: Oh I see. You are using CLI/C++, so you cannot use std::vector, etc. ... (by firedraco)
Exceptions with MinGW
 
I am porting code from *nix to windows starting off with mingw. I have mingw32-gcc v4.4.0 which comp...
[2 replies] Last: Found out that I was doing a static link which was forcing g++ to link... (by messenjah)
by Bv202
Debugging code
 
Hey, My Windows program doesn't work like it should: it doesn't do any drawing (it's a simple dra...
[4 replies] Last: But, on the next paint message, a new rectangle is drawn to the backb... (by guestgulkan)
by GMXeon
Windows Form Application - Borderless Click+Drag
 
Ok, so I'll make this short... I have a Windows Form Application coded with Microsoft Visual C++ Exp...
[no replies]
access error (segmentation fault)
 
My Game below compiles correctly, but when i try to run the program, i get a windows error, When i r...
[2 replies] Last: void apply_tiles(bool board ) { //a apply_surface( 0, 0, a... (by Dragoon478)
What languages to learn (1,2)
 
Hi, I`m pretty new to programming and I want to write an application for myself . The program s...
[25 replies] Last: @guestgulkan: That's what makes this project unique, it is easier to u... (by Computergeek01)
I have to do a strange declaration
 
Hello to all, I created this code which shows a popup window when any date is matched in a listview...
[4 replies] Last: OK kbw, Goodbye (by giovannigiorgio)
by avjohn
Unable to query proxy "Automatically Detect Settings"
 
Hi, I am trying to capture proxy setting ("Automatically Detect Settings"). My code works on XP ...
[no replies]
by Bv202
Device Context question
 
Hey, In a tutorial I'm following, the following code is used for drawing a bitmap: HDC hdc = ...
[4 replies] Last: Hey, Tyvm for the link, it's really helpful! :) (by Bv202)
May 2010 Pages: 1234... 6
  Archived months: [apr2010] [jun2010]

This is an archived page. To post a new message, go to the current page.