April 29th, 2010 02:44 AM
Hi, in runtime I can see that X-axis limits of my chart (minimum and maximum) are automatically changed as I insert points. That's nice. So I came to an idea to change that minimum and maximum...
April 16th, 2010 01:54 PM
Ok I make them non-static (i made them static while attempting to solve my problem xD and obviously buried my self even deeper), and now when i removed that I compiled my code without any errors. Now...
April 16th, 2010 01:46 PM
Yeah it is to my eye, but not to my linker xD
Only for you i made this code 2 seconds ago and tried to compile:
using namespace std;
April 16th, 2010 01:35 PM
That's a typo i made while typing code to this site. Code is flawless in my actual program and members don't have generic names like myMember1. Still i have:
Undefined reference to...
April 16th, 2010 01:25 PM
As I read from some online examples structures should work like this:
April 16th, 2010 03:51 AM
I thought that short is 8bit unsigned integer, and it turns out it is 16bit integer. Sorry about that. Will use unsigned char.
April 16th, 2010 03:40 AM
If I call with bufflen = 12 then ret = 12 and in file:
01 00 02 00 03 00 04 00 05 00 06 00.
This is confusing...
April 16th, 2010 03:36 AM
Code in C++:
buffer = 1;
buffer = 2;
buffer = 3;
buffer = 4;
buffer = 5;
buffer = 6;
short *p = &buffer;
April 14th, 2010 03:41 AM
But, it is non-standard device eg. not recognized as keyboard or mouse. Confusing, but true.
April 11th, 2010 10:57 AM
Yes it has specific vid and pid (and i know them). But, device puts data on "keyboard" eg. it does keypresses of data, so I detect them with GetAsyncKeyState (and that works and it isn't problem), so...
April 11th, 2010 08:27 AM
I understand this is jumping from subject to subject (WinAPI -> DirectX), but I am trying to solve above mentioned problem:
Any solution is acceptable :)
So I tried DirectX function to...
April 11th, 2010 07:39 AM
DeviceIoControl also returns error code 5 ACCESS_DENIED. :(
Yeah it is, i was trying that function and then tried WriteFile and decided I need WriteFile and forgot to change the name of...