请问一下关于SDK/API的二次开发?

q042096 2012-01-10 03:28:53
现在买了一台短波接收机,监测界面在PC机上显示,界面里的有些参数不符合实际中的要求,需要做一个改变,所以得从新做个界面,这款接收机已经给了API接口函数,以及动态链接库.dll API里面是C/C++声明函数,还有Delphi声明函数。附上一个函数的说明:

Open
Opens a radio device by its serial number to allow you to control the device using the other API functions.

C/C++ declaration

int __stdcall Open(char *ID);
Delphi declaration

function Open(ID: PChar): Integer; stdcall;
Parameters

ID

Radio device serial number that you would like to open. If NULL is specified, a demo receiver will be opened. The serial number is a null-terminated string.
Return Value

Returns a handle to the device that has to be used to call all the other API functions (hRadio). If zero is returned, the specified device doesn't exist or couldn't be opened.

Remarks

If you would like to have more than one application use the same device, you will have to close the device when you have finished using it to allow other applications to access the device. For Win32 applications, multiple threads can access the same device at any time.
请问下用什么语言开发比较好,因为还要做个界面出来,用labview可以进行二次开发吗,还是用VC++呢。本人新手 学习过C,没怎学过C++,还是有什么更好的!!
...全文
413 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
q042096 2012-01-14
  • 打赏
  • 举报
回复
最终定下来用 labwindows来做!!了解这个的说说!!
「已注销」 2012-01-11
  • 打赏
  • 举报
回复
用DELPHI很方便吧,比如你写个函数,function Open(ID: PChar): Integer; stdcall;External'***.DLL';

把这些DLL专门放在一个公共的Function单元,然后你在主单元调用,就可以像普通函数那样使用了啊,很方便,当然labview也是可以调用,但我对LABVIEW不怎么熟悉,我经常用DELPHI调用LABVIEW做出来的DLL
李_军 2012-01-11
  • 打赏
  • 举报
回复
使用自己擅长的语言来开发
q042096 2012-01-10
  • 打赏
  • 举报
回复
我想使用labview 可以吧!能不能简要说下开发的过程呢!
whisht 2012-01-10
  • 打赏
  • 举报
回复
使用自己擅长的语言来开发
不管是c++还是delphi调用dll方面是一样的

1,184

社区成员

发帖
与我相关
我的任务
社区描述
Delphi Windows SDK/API
社区管理员
  • Windows SDK/API社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧