VB.net USB Radio HELP!
I'm new to the forum :wave:
Currently working on a custom carputer system. The software is being written in VB.net 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 https://code.google.com/p/silabsradiodll/ but I don't know how to get the code to work in VB.net 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 vb.net but no one has posted any clues on what parameters the functions in the DLL need.
Does anyone have a example written in vb.net they would care to share or point me in the right direction?
The source code is all available. If you checkout https://code.google.com/p/silabsradi...dll/ReadMe.txt and browse around you can see what all of the methods are and what the parameters are.
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
You can also create a Module!
Declare Function HWInit Lib "USBradio.dll" () As Boolean
Got it now. I'm currently building the module at the moment.
Cheers guys for the help!