SimpleUSB.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SimpleUSB.

2,499件の閲覧回数
Devis
Contributor I

Hello,

I am developing a USB device, using the microprocessor JM32.
I already have written the firmware following the tutorial of Samuel Quiroz (USBJM_Training GUI) and created the file .inf .  (now the PC link the JM32-USB interface properly).

Now I'm writing a Windows application to communicate with the JM32, using the tool wxDev-C++ .
I'm trying to load dynamically the library SimpleUSB.dll but I have problems.
It seems that the API "LoadLibrary" return correctly, but the "GetProcAddress" does not find any function within SimpleUSB.

I'm not very expert in programming so I kindly ask if anyone have some C++ code example to understand how to use the SimpleUSB.dll. Or any other material that can help me to read the USB with wxDev-C++.

Yesterday I tried to use Microsoft WinUSB.h (from WDK), but I'm not able to compile the code without errors (there are difference on declarations from the Microsoft Tools and wxDev-C++).

Thanks for any help.

 

Devis

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

951件の閲覧回数
admin
Specialist II

i dont' know your dll but i made a professional USB aplication with ftd2xx.dll by ftdi. In my c++ application i had to include ftd2xx.h in order to compile without errors, maybe you need a .h .....

 

good luck

 

 

0 件の賞賛
返信

951件の閲覧回数
chaoyi
Contributor I

SimpleUSB.dll only work under .NET platframe, especially with C#. Good Luck.

0 件の賞賛
返信