Windows Programming (Page 2)

by tec23
How to detect a UTF-8 file without bom?
I need to open UTF-8 files in a text editor, but don't know how to detect UTF-8 without bom. The WIN...
[1 reply] : bool IsUTF8(const void* pBuffer, long size) { bool IsUTF8 = true;... (by Lyrus)
by tec23
TCHAR array initialization
If I have this TCHAR lpString = TEXT("MainMenu"); Will lpString be null terminated?...
[9 replies] Last: Me and Disch are talking about different things. What's confusing abou... (by knn9)
Work around for using C++ class with extern "C" DLL, class, function overloading, templates
Hello, I've been betting my head against the wall trying to figure out how to be able to use all ...
[8 replies] Last: Thank you kbw for your various answers to my question. -Andrew (by supracharger)
drawing NOT filled Rectangles?
hey guys, i have a suppose-to-be simple task which i can't figure out: how do i draw a simple "tran...
[2 replies] Last: Thanks!! i think by default rectangles should be transparent, and fil... (by igor1985)
Compatibility of Borland C++ Builder 6.0 and Windows 8.1
Hello, I have been using Borland C++ Builder 6.0 Professional with Windows 7 Professional 64-bit on ...
[5 replies] Last: borland c++ is using win32 api, and since windows is backward compatib... (by tath)
by AKD
Hi, I'm freshie :) Btw, I'm interested with this website so that I'm register under the cplusplus...
[1 reply] : (by cire)
What is the maximum size of a Bitmap?
Hey there, I was encountering a bug in my source code where CreateCompatibleBitmap() was returning ...
[2 replies] Last: Interesting... (by SixTsevN)
How to write game Contra on C++ And DirectX
Can you help me write game Contra equal DirectX? Thanks all. P/s: I'm understand about C++ and OOP...
[4 replies] Last: thanks sir. :) (by nxvietit)
CreateCompatibleBitmap() from Un-released DC
Hey there, I just tracked down a bug within my source code, where my use of CreateCompatibleBitmap(...
[3 replies] Last: It belongs to a class. Similar to that of a BackBuffer. (by SixTsevN)
Screen-saver application (Beginner)
Having trouble with windows API: I am attempting to write a program that will do as follows: Basic:...
[3 replies] Last: Yes, but this is a screen-saver on a single monitor or display whilst ... (by Jack Hammered)
// Comments not working
Hello. I'm having a strange problem. When trying to write comments with the double forward slash ...
[2 replies] Last: Thanks for the reply. Do you know how I can change the version of C I'... (by Bogeyman)
by ahcfan
Opening multiple files in explorer with one instance of my application?
If I select multiple files in explorer and hit enter it opens each file in a separate instance of my...
[2 replies] Last: You'll need to fiddle around with synchronization objects and inter-pr... (by duky)
save file to usb
i want to save a file to pen drive using C++ code i don't know how to set directory of the file. ...
[1 reply] : Do you mean using SHBrowseForFolder() ? (by modoran)
Run C++ Console in ?
Hello everybody. Can make .dll with VS C++2012 console and import to vb.net2012? Thankyou ver...
[11 replies] Last: Op! Hi Freddie1. Can you help me run my code C++ in ? I had ... (by taipscode)
by sambos
Logging button clicks etc
Hi, I'm writing two programs at the moment. One is for an administrator and the other is for a us...
[7 replies] Last: You suggested a named pipe or shared memory rather than my own sugges... (by knn9)
by Zaaku
[C++] How to embed files into exe
Hello, I want embed 2 folders(in this folder I have all data client), This files are located in thes...
[2 replies] Last: I don't understand, can you give example? (by Zaaku)
by sambos
Win Forms etc
Hi, I have a program that has multiple forms that has buttons that open new forms / return to previ...
[1 reply] : I don't know much about Win Forms or .NET although years ago I worked ... (by freddie1)
by tec23
RegSetValueEx question
Hi. I have this code BYTE bShow = 1; DWORD size = sizeof(BYTE); RegSetValueEx(hKey, TEXT("ToolBar"...
[4 replies] Last: Now I have same problem like in the beginning. In my original post i m... (by tec23)
by derk
Creating an array on the heap that is not deleted
Hi there! Currently I'm working on a c++/cli windows forms app. What I want to do, is creating a...
[2 replies] Last: Thank you! In c++/cli you can use the new keyword, but I read somewher... (by derk)
by Raikoh
Link issue with DeleteProfile windows shell function
I'm trying to write a program that deletes user profiles after x amount of months pass. Everything w...
[1 reply] : You got the solution from the link you posted. Add userenv.lib if yo... (by modoran)
Pages: 1234... 7
  Archived months: [aug2014]

Cannot post in this page. To post a new message, go to the first page.