No announcement yet. USB Radio HELP!

  • Filter
  • Time
  • Show
Clear All
new posts

  • USB Radio HELP!

    Hi guys.

    I'm new to the forum

    Currently working on a custom carputer system. The software is being written in and it's all going well except for the following issue. I have a silab usb FM radio dongle and I'm trying to write the code to use the USBradio.dll from but I don't know how to get the code to work in as the examples I've seen are all VB6. The code to load the DLL works fine but that's it. I've seen people on here saying that they've managed to get it working ok with but no one has posted any clues on what parameters the functions in the DLL need.

    Does anyone have a example written in they would care to share or point me in the right direction?


  • #2
    The source code is all available. If you checkout and browse around you can see what all of the methods are and what the parameters are.


    • #3
      Into the USBRadio.h file are the dll export.
      VB.NET example for the line: USBRADIO_API bool __stdcall HWInit();

      <DllImport("USBradio.dll", CallingConvention:=CallingConvention.Cdecl)> _
      Private Shared Function HWInit() As Boolean
      End Function

      You can also create a Module!
      Module MyModule
      Declare Function HWInit Lib "USBradio.dll" () As Boolean
      End Module
      Last edited by pierrotm777; 11-06-2013, 06:40 AM.


      • #4
        Ah yeah!!

        Got it now. I'm currently building the module at the moment.

        Cheers guys for the help!