Using libusb Win32 on MSV C++ 6

View: New views
3 Messages — Rating Filter:   Alert me  

Using libusb Win32 on MSV C++ 6

by Phil Fredrickson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am new to the USB arena and need some guidance.
I finally figured out how to get my Linux C code to work correctly for
feature reports and interrupt reports; synchronous method.

I now must move over to an an older complier, MSV C++ 6.0 -- used with
XP (targeting XP) to implement what I learned.  Which brings up some
questions; that I will need step by step to get this thing going

1) Must I have the DDK downloaded and working before installing LIBUSB?

Phil



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Libusb-devel mailing list
Libusb-devel@...
https://lists.sourceforge.net/lists/listinfo/libusb-devel

Re: Using libusb Win32 on MSV C++ 6

by Michael Plante :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Phil,


>> I now must move over to an an older complier, MSV C++ 6.0
>> -- used with XP (targeting XP)

I use this setup when I'm in Windows.  Note that there's also a libusb-win32
mailing list which may be more appropriate, unless you also have questions
about the driver you're porting.


>> Must I have the DDK downloaded and working before installing LIBUSB?

I don't think so, but there's an advantage to it:  if you need to modify the
driver (I did if I wanted bus power right when I plugged the device
in...code to do this was commented out), then you need it.  Otherwise, there
are binary drivers.  However I should point out the only real issue is if
you don't have HDD space (~800MB installed); I've never had an issue with
DDK 3790.1830 not "working".  The only other thing is that right now you
have to be using 0.1 to work with Win32.  There are some efforts to port
1.0, but I haven't seen any updates recently.


Michael



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Libusb-devel mailing list
Libusb-devel@...
https://lists.sourceforge.net/lists/listinfo/libusb-devel

Parent Message unknown Re: Using libusb Win32 on MSV C++ 6

by Tim Roberts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You wrote:
>
>I now must move over to an an older complier, MSV C++ 6.0 -- used with
>XP (targeting XP) to implement what I learned.  ...

That is certainly no exaggeration.  Do you have any idea how old that compiler really is?  Visual Studio 6.0 was released in 1997.  Some people writing programs today were not BORN yet when that was released.  The Linux kernel was still at version 2.0.  The C++ standard had not yet been adopted at the time of its development, so there are many cases where the compiler does not meet the standard.

Remember, software does not age like wine -- it ages like milk.  Really, it would be better if you downloaded the free Express Edition of Visual Studio 2008, or even 2005.
--
Tim Roberts, timr@...
Providenza & Boekelheide, Inc.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Libusb-devel mailing list
Libusb-devel@...
https://lists.sourceforge.net/lists/listinfo/libusb-devel