Click here to Skip to main content
15,894,241 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to extract a single bitmap from .avi file? Pin
andreas.schaerer21-Jan-04 3:30
andreas.schaerer21-Jan-04 3:30 
GeneralRe: how to extract a single bitmap from .avi file? Pin
Ted Ferenc21-Jan-04 3:48
Ted Ferenc21-Jan-04 3:48 
GeneralRe: how to extract a single bitmap from .avi file? Pin
andreas.schaerer21-Jan-04 9:48
andreas.schaerer21-Jan-04 9:48 
GeneralRe: how to extract a single bitmap from .avi file? Pin
Ted Ferenc21-Jan-04 21:38
Ted Ferenc21-Jan-04 21:38 
GeneralRe: how to extract a single bitmap from .avi file? Pin
andreas.schaerer1-Feb-04 8:02
andreas.schaerer1-Feb-04 8:02 
GeneralRe: how to extract a single bitmap from .avi file? Pin
Ted Ferenc1-Feb-04 8:53
Ted Ferenc1-Feb-04 8:53 
GeneralUSB Port sample Pin
DT_SE21-Jan-04 3:06
DT_SE21-Jan-04 3:06 
GeneralRe: USB Port sample Pin
Antti Keskinen21-Jan-04 6:24
Antti Keskinen21-Jan-04 6:24 
This link (PDF)[^] will give you a headstart by granting some insight on how the USB works.

USB is not a serial port. Having said that, you can't just 'write' into it. You must have a device, which you then open, and to which you then send/receive data. The device driver is the key essential here: it will worry about interfacing your USB device through the bus into your computer's I/O space.

If you don't have a suitable device driver, you need to create one yourself. Writing a USB driver for a device is very tedious. I would suggest you get the Microsoft Driver Development Kit CD from somewhere and first read it's documentation.

Here is another link to a site I've found useful: http://www.beyondlogic.org/usb/usbdevdrvs.htm. It contains some examples and more specifically, the technical details of how a USB port works. Understanding them is a key essential in writing USB device drivers.

Currently, I am not aware if there is a freely distributed raw-access USB port driver available, that is, a device driver that you can open and close like a COM port. I doubt it, though, because of the way USB works: you can plug in any device and it should work properly. Allowing one device driver complete access over the USB would truly devastate it's purpose.

If possible, consider using a serial or pareller port in interfacing your device. If you really must use USB, see the above-mentioned documentations for a start.

-Antti Keskinen

----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
GeneralSave a Word document from an ActiveX container Pin
Member 311221-Jan-04 2:21
Member 311221-Jan-04 2:21 
GeneralCallback in MFC Pin
SiddharthAtw21-Jan-04 1:35
SiddharthAtw21-Jan-04 1:35 
GeneralRe: Callback in MFC Pin
Antti Keskinen21-Jan-04 1:44
Antti Keskinen21-Jan-04 1:44 
GeneralRe: Callback in MFC Pin
David Crow21-Jan-04 4:55
David Crow21-Jan-04 4:55 
QuestionHow to update a posted article? Pin
Dudi Avramov21-Jan-04 1:25
Dudi Avramov21-Jan-04 1:25 
AnswerRe: How to update a posted article? Pin
Roger Allen21-Jan-04 1:29
Roger Allen21-Jan-04 1:29 
GeneralRe: How to update a posted article? Pin
Hans Ruck21-Jan-04 4:16
Hans Ruck21-Jan-04 4:16 
QuestionHow to report MFC bug to Microsoft? Pin
Yogurt21-Jan-04 0:35
Yogurt21-Jan-04 0:35 
AnswerRe: How to report MFC bug to Microsoft? Pin
Antti Keskinen21-Jan-04 1:53
Antti Keskinen21-Jan-04 1:53 
GeneralRe: How to report MFC bug to Microsoft? Pin
Yogurt21-Jan-04 8:53
Yogurt21-Jan-04 8:53 
AnswerRe: How to report MFC bug to Microsoft? Pin
Michael P Butler21-Jan-04 1:54
Michael P Butler21-Jan-04 1:54 
GeneralRe: How to report MFC bug to Microsoft? Pin
Yogurt21-Jan-04 9:07
Yogurt21-Jan-04 9:07 
GeneralRe: How to report MFC bug to Microsoft? Pin
Jörgen Sigvardsson21-Jan-04 10:05
Jörgen Sigvardsson21-Jan-04 10:05 
GeneralImage Streaming over network Pin
witzner20-Jan-04 23:16
witzner20-Jan-04 23:16 
GeneralKernel32.dll and dllmain Pin
hph20-Jan-04 22:38
hph20-Jan-04 22:38 
GeneralRe: Kernel32.dll and dllmain Pin
Antti Keskinen21-Jan-04 2:16
Antti Keskinen21-Jan-04 2:16 
GeneralRe: Kernel32.dll and dllmain Pin
hph21-Jan-04 2:56
hph21-Jan-04 2:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.