Author Topic: Jan Axelson Books (Serial Port Complete, USB Complete, etc...)  (Read 29725 times)

smays

  • Member
  • ***
  • Posts: 2
I was studying notes on what the books cover and apparently the books include programming examples.  From what I read, the examples are for .Net this and .Net that.  Not everybody uses .Net (in fact I hope to fight it to the bitter end), so are there no simple Win32 examples available?  Quite often the 'problems' application developers encounter have less to do with hardware and considerably more with fumbling through...Win32 API's, .Net, etc...  From much effort of my own since 1999, I have collected fragments of code that uses the Win32 API (quite well) to write my own easy-to-use C++ wrapper.  I was studying some code to access USB that also uses the Win32 API.  The thing is, who knows when to use what data when, etc...?

If there is any 'legacy' programming examples that use the Win32 API, is it possible to publish it (one way or the other)?

Thanks,
Steve.

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: Jan Axelson Books (Serial Port Complete, USB Complete, etc...)
« Reply #1 on: June 28, 2010, 09:07:58 am »
.NET doesn't provide classes for accessing generic HID or WinUSB devices, so my .NET HID and WinUSB code uses API functions to access the devices. If not using .NET, you're spared the effort of translating to .NET syntax.

My HID page has a VC++ example application, and my HID and WinUSB pages have links to Microsoft's example code in C. Hope that helps.

Jan

smays

  • Member
  • ***
  • Posts: 2
Re: Jan Axelson Books (Serial Port Complete, USB Complete, etc...)
« Reply #2 on: June 28, 2010, 09:19:07 am »
Thanks for your prompt reply.  Your reply is encouraging, and I will be sure to check out the VC++ example.

Thanks,
Steve.

GlennP

  • Frequent Contributor
  • ****
  • Posts: 141
Re: Jan Axelson Books (Serial Port Complete, USB Complete, etc...)
« Reply #3 on: August 03, 2010, 02:28:50 pm »
Umm Hi,
Having felt the raw pain .Net,I can recommend (for a non net method) "C++ Communications Utilites", by PC Magazines Michael Holmes & Bob Flanders, published by Ziff Davis press ISBN 1-56276-110-2.
It gives a Windows 32 base to serial comms using VC++6 & Borland Builder(!). Quite easy to follow and being Non-Net Windows it should be for you.  Out of Print but Amazon had some.

Glenn
 

GlennP

  • Frequent Contributor
  • ****
  • Posts: 141
Re: Jan Axelson Books (Serial Port Complete, USB Complete, etc...)
« Reply #4 on: August 04, 2010, 08:55:30 am »
Umm Hi,
Having felt the raw pain .Net,I can recommend (for a non net method) "C++ Communications Utilites", by PC Magazines Michael Holmes & Bob Flanders, published by Ziff Davis press ISBN 1-56276-110-2.
It gives a Windows 32 base to serial comms using VC++6 & Borland Builder(!). Quite easy to follow and being Non-Net Windows it should be for you.  Out of Print but Amazon had some.

Glenn
>>>Also the older edition of Serial Port Complete used VB6 & MSComm also Parallel Port Complete uses no Net stuff,