SimpleUSB.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SimpleUSB.

2,495 次查看
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 回复数

947 次查看
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 项奖励
回复

947 次查看
chaoyi
Contributor I

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

0 项奖励
回复