Windows Programming - January 2015 (Page 3)

Keylogger in V.B
 
Hello, I created a keylogger in vb and I have a bug that does not show any letters, cyft, Shift'ów, enter'ów like. Here is the code to write: Private Sub ...
[5 replies] Last: ok but if anyone knows what's wrong then please say :) (by Matevsz)
win32 - using the WM_MENUSELECT message
 
i'm trying use the WM_MENUSELECT message for get mouse leave and mouse enter. for mouse enter i use: if(((HIWORD(wParam) & MF_HILITE) || (HIWORD(wParam) & MF...
[no replies]
by erogol
How can I compile a c++ library into a single file that is calleble from any external project?
 
I have a c++ library (https://github.com/terrychenism/caffe-windows-cudnn) including different bunchs of c++ headers and cpp files. It also includes 3rd party l...
[1 reply] : Create a library project instead of an application project. (by kbw)
Vector iterator not dereferencable!
 
I got the error in the direction of this code: for(auto vo = vList.begin(); vo != vList.end(); vo++) { sdelcoord = ((*vo)); lastString = *sdel...
[1 reply] : vo is the value, not an iterator (by kbw)
loading images to window
 
another problem with loading images to window is there a way to load other images(*.jpg *.png) I can seem found any function that does that Thanks a lot f...
[2 replies] Last: Thanks for your reply,But how can I initial those variables pvJpgImage... (by closed account 28poGNh0)
Error: a function type is not allowed here
 
I am getting the error when defining a variable in a typedef struct. typedef struct _RPDO_DEVICE_DATA { ULONG InstanceNo; WDFQUEUE ParentQue...
[no replies]
Create a private namespace in C++
 
Hi. I want to create a namespace that supports my whole library files and classes. But i don't know how to create a namespace. Can anyone tell me how to d...
[5 replies] Last: library.h: namespace namespace1 { //this is the first line of library... (by kevinkjt2000)
load bitmap problem
 
hiiii everyone I am showing a bmp to my window with this manner case WM_CREATE: hInstance = ((LPCREATESTRUCT) lParam)−>hInstance ; ...
[1 reply] : ... is like the bmp resource is saved in the program. It usually is.... (by Computergeek01)
how to change this html code to c++ code
 
hi how to change this code: <a href="http://www.dgg.com"><img src="http://www.kfge.com.gif" border="0" width="468" height="60"/></a> to c++ code please he...
[3 replies] Last: It would be helpful if you provided a bit more detail here OP. Such as... (by Computergeek01)
by suis
_itoa_s equivalent in c#
 
Hi all, what is the _itoa_s() equivalent in c# ? thanks.
[3 replies] Last: _itoa_s(fif_ret, buffer, 2); will take the integer value of fif_re... (by closed account z05DSL3A)
How to use virtual function in Window procedure?
 
I have become really good at drawing stuff on the screen in D3D lately, but I tried events - and bam - new problem. I am just thankful it isn't a directx proble...
[no replies]
Calling a progrm in an archive
 
To call another program (with some arguments eg input and output file) I'd usually do something like: system("path/program.exe path/input.txt path/output.txt")...
[1 reply] : You'd need to extract it before running it. (by kbw)
using winsock
 
Hi! Just started winsock using the tutorial on MSDN... here's where I am so far: #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #includ...
[3 replies] Last: Thanks for the input guys, you're both right! I tried to link ws2_32.l... (by AeonFlux1212)
Pointer error --> vector
 
#include <iostream> #include <string> #include <vector> using namespace std; int main(){ vector<string> vList; vList.push_back("a"); vList.push...
[1 reply] : That's what happens when you abuse auto , save it for the really comp... (by kbw)
Weird result of strstr().
 
Hello, I am studying C with the book "Head First C". There was a code snippet on the book: #include <stdio.h> #include <string.h> char tracks = {...
[2 replies] Last: Many thanks for the reply. That's works. Thanks. (by maxiaoguang)
SDL C++ lag
 
Well, first, I want to say that this is my first post on this forum. I hope I am not breaking any rule by making this post, however, I am kind of frustrated, a...
[3 replies] Last: After the port, if you're still having issues, post them here. I didn'... (by Avilius)
Reading content of a .dic file - charset:binary
 
I have a .dic file that when I type # file words.dic (on Mac OS X) shows that encoding is application/octet and charset is binary. Do you know if there are a...
[no replies]
by vxk
reducing compile time for multicore
 
is there a way similar to make : make -j3 //instead of make in visual studio where we can reduce compilation time , or vs does this by default...
[2 replies] Last: Thanks! (by vxk)
Pointer error in vector
 
The error is "delete (*it)". #include <iostream> #include <string> #include <vector> using namespace std; int main(){ vector<string> vList; vList.push_ba...
[1 reply] : delete is meant to be used on pointers to delete memory that was all... (by Peter87)
Visual Studio 2013 Community uninstall
 
So I downloaded visual studio 2013 community and thought I'd try it out and I didn't really like it so I went to uninstall. I uninstalled the main program and t...
[1 reply] : Hi, I would normally pass an complain to Microsoft as this is should ... (by closed account 13bSLyTq)
January 2015 Pages: 1234
  Archived months: [dec2014] [feb2015]

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