What have you done with PIC USB?


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    T.Jackson's Avatar
    T.Jackson Guest

    Exclamation Tall order

    Quote Originally Posted by vacpress View Post
    bruce!

    yeah.. that is great... now if only i was smart enough to convert the vb6 files to .net...

    soon i will start a new thread about that.. i figured out most of the errors.. there is just 1 or 2 left... they may be hard ones though...


    I definiately will contribute something soon.. I made a 'gestural controller' project using tilt switches, a hacked mouse, a BS2, RS232 and VB6.

    i want to get this to be a USB pic and .net and then i will share it. ive slowly been working that direction.. an article\tutorial about the BS2 portion is almost done... should be up in a few days

    Robert
    .net might not be able to handle those API calls. Does .net have support for calls from the gdi32 library, like Bitblt? I heard it doesn’t! I submitted an NES emulator to Planet Source code a while back, written in VB5, got some feedback from someone who attempted to port it to .net Apparently, it didn't turn out too well, resulting in nothing but compile errors. Can't run emulator in IDE - too slow.

    Regards,
    Trent Jackson

  2. #2
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695

    Default

    Hi Trent,

    Search "Unmanaged Code".

    * * *

    .NET Development (General) Technical Articles

    An Overview of Managed/Unmanaged Code Interoperability:
    http://msdn2.microsoft.com/en-us/library/ms973872.aspx

    Best regards,

    Luciano

  3. #3
    Join Date
    Jan 2007
    Posts
    70

    Default

    Trent,

    I havent worked on it in a few week (building a CNC machine right now), but, i do remember getting very close to a working easyHID example in .net.

    The api stuff seemed fine, the problem was a slight change in the syntax of some portion of the code i do not understand!

    someday i may be begging for more help here, with more specifics! in the meantime, just try and convert the USBDemo code to .net.. It ALMOST works!

    -R

    Quote Originally Posted by T.Jackson View Post
    .net might not be able to handle those API calls. Does .net have support for calls from the gdi32 library, like Bitblt? I heard it doesn’t! I submitted an NES emulator to Planet Source code a while back, written in VB5, got some feedback from someone who attempted to port it to .net Apparently, it didn't turn out too well, resulting in nothing but compile errors. Can't run emulator in IDE - too slow.

    Regards,
    Trent Jackson

  4. #4
    T.Jackson's Avatar
    T.Jackson Guest

    Lightbulb

    Quote Originally Posted by vacpress View Post
    Trent,

    I havent worked on it in a few week (building a CNC machine right now), but, i do remember getting very close to a working easyHID example in .net.

    The api stuff seemed fine, the problem was a slight change in the syntax of some portion of the code i do not understand!

    someday i may be begging for more help here, with more specifics! in the meantime, just try and convert the USBDemo code to .net.. It ALMOST works!

    -R
    Hi,

    I don't pretend to know a great deal about .net, not even for a millisecond. I don't have it and have never used it...

    My suggestion: Post the project on Planet Source Code in both the VB and .net Worlds. Good chance you'll get feedback from someone who might be able to help.

    http://www.planet-source-code.com

    Best Regards,
    Trent Jackson

Similar Threads

  1. USB CDC Communications for Dummies!
    By Squibcakes in forum USB
    Replies: 104
    Last Post: - 15th January 2014, 13:43
  2. Reading a slave USB with a pic
    By pcaccia in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 25th October 2008, 12:00
  3. Replies: 15
    Last Post: - 30th October 2007, 19:25
  4. USB communication with pic
    By Shamir in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 14th August 2006, 23:43
  5. USB PIC without USB Connection
    By Tissy in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 26th December 2005, 17:39

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts