Windows Programming (Page 2)

by cyneox
GetComputerName Not Returning
 
Hey guys, I am using GetProcAddress to simulate the Virtual Location of a function inside the dll "g...
[3 replies] Last: @ OP: Notice the inclusion of the 'A' at the end of the function name ... (by Computergeek01)
Drag and click events, winapi
 
I have a window which I only use to display an image on screen (something like a splash screen) and ...
[2 replies] Last: Yea, I probably got too used to general subforum that i forgot that th... (by zoran404)
by Erhy
GetMessage with lpMsg NULL, but it works - why?
 
Found a very simple code example which is working, but why? int APIENTRY WinMain( HINSTANCE hIn...
[4 replies] Last: Thank You so much ! I will try to add the hook code in a windows app ... (by Erhy)
launch parameters
 
im trying to make a program launcher but I want the programs to launch with startup parameters. can ...
[1 reply] : You can call http://msdn.microsoft.com/en-us/library/windows/desktop/m... (by codewalker)
Databases
 
as many people know Battleye is known for having an insecure anti-hack. so I am in the middle of try...
[3 replies] Last: This is how to use MySQL on windows (binary and source code available ... (by modoran)
by tec23
How to make static variables not get automatically initialized with 0?
 
I know that if you declare something like this static int number; number will be automatical...
[1 reply] : You have to assign it a value, you cannot change the default from zero... (by kbw)
SFML
 
Alright so i am working on a code for a game and i don't get what i am doing wrong , i am trying to ...
[1 reply] : The error tells me you gave your World class a constructor, but never ... (by Disch)
SYSTEM_POWER_STATUS, BatteryFlag returns 9 when charging.
 
http://msdn.microsoft.com/en-us/library/windows/desktop/aa373232(v=vs.85).aspx if(msg->message == ...
[5 replies] Last: SYSTEM_POWER_STATUS pwr; GetSystemPowerStatus(&pwr); if (pwr.Battery... (by modoran)
Win32 - get the real name of a file
 
Hi, I'm looking for a way to get the real name of a file. I have the following file "C:\MY_fil...
[5 replies] Last: Was in a hurry I apologize for my short answer. Thanks kbw for the sol... (by bernard0833)
C++ And Universal Apps
 
Since this is a Windows forum I thought I might not be TOO off topic. Looking toward the future,...
[no replies]
BitBlt() Bug with Backbuffer
 
Hey there, I have a window with a backbuffer and it's doing something strange and I don't understan...
[3 replies] Last: It's probably just for convenience. But this is not normal behavior, ... (by knn9)
by sambos
replace \ with \\ in string
 
Hi, I have a file's location stored in a System::String. E.g. String^ str = "C:\Test Folder\Test....
[9 replies] Last: Hi Zhuge and kwb, I believe I have solved my problem. I am using ifs... (by sambos)
by jdmic
COM
 
Hi, I'm trying to do something like this... LPVOID pClassObj; if (condition 1) { ...
[3 replies] Last: Ok, you can do it, but the code won't look like that. Clearly, you're... (by kbw)
CryptUnprotectData append LMEM to plain string
 
hi, i'm using CryptUnprotectData to decrypt a value in a sqlite3's column crypted with CryptProtect...
[6 replies] Last: like so: tmp.assign(reinterpret_cast<char*>(out.pbData), out.cbData)... (by coder777)
by ruimac
Access a username/password protected url through C++
 
I'm an individual developer (not a professional developer. I'm a graphic designer who likes to code ...
[3 replies] Last: I have nothing against Curl, it is probably the better solution. but a... (by Computergeek01)
How To Tell When A NIC Has Received An Address
 
Hi Everyone, What I need is a function\method\process\hook to tell when a specific network inter...
[2 replies] Last: That looks like it might do it. Baring and unforeseen race conditions ... (by Computergeek01)
by tec23
Filling structs question
 
Hi all. This is how I initialize the WNDCLASSEX struct and every other struct WNDCLASSEX wc; wc.cb...
[3 replies] Last: I wouldn't worry too much. In the case of WNDCLASSEX you got WNDCLASSE... (by plexus)
by tec23
Can't open file with CreateFile function
 
Hi. I'm using windows xp, and I tried to open the pfirewall.log file in C:\WINDOWS directory, but it...
[2 replies] Last: Thanks Disch now I was able to open the file (by tec23)
new to GTK
 
Anyone know if it is possible to get GTK running on VS2013? I am new and wanted to learn it H...
[no replies]
GetAsyncKeyState uses all CPU
 
Hello! I'm a beginner in C++ programming and I want to program a simulator for a little car on a ...
[4 replies] Last: The code I posted is inside of a while-loop that runs all the time. ... (by Disch)
Pages: 12345
  Archived months: [sep2014]

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