you're right, but GetLastError() does not report any error, but I'll try DeviceHandler. thanks
Type: Posts; User: joseCarlos
you're right, but GetLastError() does not report any error, but I'll try DeviceHandler. thanks
I am testing the error and there is no error,
that is my problem
the same function work with no problem if i open my usb logitec mouse
... ...
But i get the HANDLER != INVALID_HANDLE_VALUE
there is no error on CreateFile
I have error on HidDGetAttribute(...) and HidD_GetManufacturerString
HidD_GetProductString
typedef struct videohdr_tag {
LPBYTE lpData;
DWORD dwBufferLength;
DWORD dwBytesUsed;
DWORD dwTimeCaptured;
DWORD_PTR dwUser;
DWORD dwFlags;
DWORD_PTR...
HI!
Im trying to comunicating width my bluetooth usb divice.
After register the GUID, (information on inf file),
At this time, i can receive in my winproc a DBT_DEVICEARRIVAL: message.
In lParam...
hi
how do i can read the error messages from the compiler in my program?
my example
void TMDIFileApp::CmProjCompile(){
HINSTANCE h=::ShellExecute ((HWND)GetMainWindow(), 0, "bcc32.exe",...
i have same problem visit Windows API Tutorial
that's a good Win 32 tutorial
Good day ...
now more specific.
On member Window :: DrawWave ();
If I call the function InvalidateRect (hwnd, NULL, NULL);
When I try to open a file, the window OpenFile is only visible ...
Ok i have same results
i need to put this code in
Window::WndProc(UINT Message,WPARAM wParam,LPARAM lParam){
HDC hdc;
PAINTSTRUCT ps;
...
Remember the first position is 0,not 1
position(3,1) is out of range
7 is in posiiton(2,0)
Well .. but here's some code
GetPoint global functions () and SetPoint (), are to read and insert
a pointer in WNDCLASS structur to the Window object created, as I understand, this is necessary...
grateful for the kindness, but first
I will learn to work better with my platform,
I think I am not doing well with ressource workshop
I do not like the C + + Builder, my platform is Borland BC45....
Há...Há...Há...Há (laugh)
We all got a mysterious part
well, in thru,that´s a NULL variable,i goto change that
thank´s for their willingness
not apparent.
ther is same problem
Windows Help...
Hi
i am new in windows programming
i create one window and when i call MessageBox(.....) or GetOpenFileName(....),my window go to inactive
state but the MessageBox dont appears i need to push...
and also do i not remember,
but you can make a small program
showing the value of keystrokes
and ctrl -c
Not realy Bubba , all graphic modes, in mcga,ega vga are in 0xa000:0000
0xB800 is to text modes only
Now... i have tested some other colors, and i dont see the light.
do not worry this is only...
I feel like an idiot
I think you are right, I chose a very dark color
Thank you for your time
one can laugh at will,
happens to those who have little experience
yes it return 1 ... ax=0x004f
i have a lapptop ASUS, is that important?
if i put cout<<.. or printf(..)
nathing appears
to see samthing i need old the data, and
after in vga modes...
is directly on HW
im just learning to comunicate width VESA card
and i can work width vga modes also width mode 12h
but when i go to svga modes, the screen is black
sorry!!
OS- Dos 5.1
video Card - Intel(r) 82945GM VESA 3.0
that information i can get from my code, and this mode(0x101) is available
on that card
i can see all the information on vbeModeInfo...
yes i am, my fryend
and im shure i am in 0x101 mode width out problems
Good morning Srs.
I have check by a vesa card
then i have fill a srtuct ModeInfo
vbeGetModeInfo(0x101,&ModeInfo)
and vbeSetMode(0x101);
now i set some bytes in video memory lyke ...
that way, you assigned the valu of variable
if(s_code=1200)
is the same as
s_code=1200; if(s_code !=0)cout<<endl;
if ouy ned the test is
you can do lyke this
int val=2635;
char s[50];
cout<<itoa(val,s,10)<<endl;
is that you want?
Good morning Srs.
sorry i put this in wrong place
I have check by a vesa card
then i have fill a stuct
vbeGetModeInfo(0x101,&ModeInfo)
and vbeSetMode(0x101);
now i set some bytes in...