Windows Programming - February 2017

Read and display data from a VT_UNKNOWN variant
 
I wanted to retrieve infromation about every process the moment it opens. Instead of just writing a "dumb" loop that just iterates over all the open processes a...
[5 replies] Last: See: https://msdn.microsoft.com/en-us/library/windows/hardware/ff55995... (by helios)
by Kats41
Need help with accessing USB drives
 
Hey, I'm an experienced C++ programmer, but have never had to work with devices such as USB's. For my job, I've been tasked with writing a program to detect ...
[4 replies] Last: MSDN - Registering for Device Notification https://msdn.microsoft.com/... (by closed account E0p9LyTq)
File Explorer
 
I am planning to write a program like file explorer as a project I want to do but I do not know where to start. I'm thinking I need to familiarize myself with s...
[1 reply] : It looks quite easy in Qt https://www.youtube.com/watch?v=92biLZST6Vg ... (by Thomas1965)
Creating a template in Visual Studio Community 2015
 
Hi, I'm having problems creating a template for the following code in VS #define _CRT_SECURE_NO_WARNINGS #define GLEW_STATIC #include < GL/glew.h > #...
[2 replies] Last: Maybe this is a bit off-topic, though I don't see why would make a tem... (by Golden Lizard)
by Borneq
AddressSanitizer
 
How install Clang for Windows? Clang is built in Visual Studio. Can I use AddressSanitizer with Visual Studio? How install and use AddressSanitizer?
[no replies]
by ecka1
fille
 
I am trying to crete a file of telephone subscribers, where you enter name ,lastname and the phone number of the subscriber (via testatura) and then print the ...
[no replies]
use a callback in a class
 
I am a very old coder, write c before, that's syntax error, that I do not know how to do: compiler tolled me 'dInv' was not declared in this scope| pleas...
[1 reply] : The modern and probably better way to do it in modern C++ #include <i... (by Thomas1965)
Simple way to send string to a gmail?
 
is there a simple way to send a string to my gmail? ive read a few sources of people doing this but i still dont have a good understanding of how to do this in ...
[7 replies] Last: ok so everything is working as intended, however when i gave it to my ... (by gokitty)
by Crunk
Hooking Windows and Changing Chars
 
Howdy, I have a little side project, but I'm not sure where too start. Assuming I've disabled UAC and all that fun stuff on my Windows 7 machine, I want to hook...
[no replies]
by Murozo
C++ New Windows 98 Logo Watch
 
https://www.youtube.com/watch?v=Rtf2bwcpxS4 Windows 98 Logo
[no replies]
error C2573: 'GameWnd' : cannot delete pointers to objects of this type
 
Hi, I am a very beginner for C++, and I'm learning a tutorial for beginners. In Chapter 15, the tutor jumps to MFC about how to create a Game -Maze. I followed ...
[6 replies] Last: Thank you so much for taking your precious time to help me, Thomas. ... (by iclearwater)
by faddl
exact timing ? (residual bus simulation)
 
hi! first of all, thanks for your help in the past - you helped me a lot (as a read-only-guy) :) im trying do some exact timing. A clock of 1ms, but as exa...
[12 replies] Last: first of all: thanks for your help! i just fixed it directly in my pro... (by faddl)
Capturing Input Exclusively
 
I am creating a program that captures input from a user, sends it over a network and to the host. I have the networking done and can properly receive messages w...
[2 replies] Last: keylogger? directinput seems likely on windows. There is no way ... (by jonnin)
Reading bitmaps
 
Hello, I'm trying to read bitmaps to use them as textures in OpenGL, but for some reason, the file isn't read correctly into the stream. Here's my code: #de...
[2 replies] Last: http://stackoverflow.com/questions/20595340/loading-a-tga-bmp-file-in-... (by closed account E0p9LyTq)
by heepoo
creating SAPI tts engine
 
hello, i want to create a SAPI tts engine and as you know, it requires com to be used now, i have a question: can i use IUnknown in my class instead of deriv...
[2 replies] Last: The problem lies in MinGW headers, recommended to use Visual Studio in... (by modoran)
by Gyiove
Downloading html while triggering special configuration ( sending cookies perhaps? )
 
Hello everyone! Downloading html is not quite a challange. We can just use URLDownloadToFile function from https://msdn.microsoft.com/en-us/library/ms77512...
[4 replies] Last: You could use libcurl, wininet (this is what internet explorer uses) o... (by modoran)
by Mino
Change shortcut's target
 
Hello, is there any way to change shortcuts' target? Thanks in advance!
[5 replies] Last: It is quite easy to manipulate shortcuts using IShellLink COM interfac... (by modoran)
by stav
settings up opengl with windows
 
I have this HDC that I got from my window and want to hook up to opengl, but its not working and I'm not exactly sure why. this is my code: HDC hdc = GetDC(w...
[no replies]
by stav
drawing to a window using GDI not working?
 
i'm trying to draw a rectangle on top of a window using the GDI. i have the following code: #include <Windows.h> #include <iostream> int main() { LPCSTR...
[2 replies] Last: You can try to paint outside the client area with the GetWindowDC func... (by Thomas1965)
I can't include instance of global form variable in user control. Makes errors.
 
In Program.h is ProgramItems ref class which has static Window ^window (form). I want to include it in Search.h (user control), so from it I can add controls to...
[12 replies] Last: It works, thank you :)! Very much! (by Putarda)
February 2017 Pages: 12
  Archived months: [jan2017] [mar2017]

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