阅读:1719回复:4
在PB下怎样建立一个新的驱动程序?
在PB下怎样建立一个新的驱动程序?程序建立好后是保存在什么地方?编译后DLL文件又保存在什么地方?
我打开PB自带的例子但无法编译,请问应该打开哪个文件才能编译? |
|
|
沙发#
发布于:2003-04-30 07:41
Yes, you can. Go to \"File | New Project..\", choose to generate a dll file( empty), then you edit your sources file and include the sources into your project. The older one should be deleted. Then right click on \"User Features | your project\" choose setting to the sources file from the example driver, then build it.
You can search the .dll filethe platform builder has generated. If you need to test your driver, you might edit the registry in parameter...| ...reg [编辑 - 5/3/03 by ndisworker] |
|
板凳#
发布于:2003-04-30 10:07
注意要加上makefile,source和.def文件,告诉platformbuilder怎么编译。你说的不能编译例子驱动,应该就是source不对,仔细查看source,注意里面的include节,多看几个例子你就知道问题出在什么地方了。编译例子驱动要先把该驱动通过platform->bsp wizard加到平台,其间要指定source路径,不知你做了没有。我放下这些好久了,具体的也记不太清楚了,抱歉。
[编辑 - 4/30/03 by silan] |
|
|
地板#
发布于:2003-05-16 09:22
sources,makefile等文件是自己写的,还是在编译过程中系统生成的?
|
|
|
地下室#
发布于:2003-05-16 09:29
用户被禁言,该主题自动屏蔽! |
|