阅读:1539回复:2
关于.DEF文件导出流接口函数的问题
大家好,我用def文件到处一个流接口驱动的函数,def文件如下:
;Windows ce.net ad driver LIBRARY ADC EXPORTS ADC_Open ADC_Close ADC_Init ADC_Deinit ADC_Read ADC_Write 但在编译完生成ADC.dll后,在OPEN BUILD RELEASE DIRECTORY里面用dumpbin/exports ADC.dll查看,却没有看到导出的函数,summary只有 1000.data 1000.pdata 1000.rdata 1000.reloc 1000.txt 不知道是什么原因,哪位高手能告诉一下吗,谢谢! |
|
沙发#
发布于:2007-09-10 16:23
先做一个最简单的流驱动,每个接口只打印一句话。看能不能正常工作。
|
|
板凳#
发布于:2007-09-11 09:42
这个我还没用过,用了试试,贴个上来
D:\WINCE420\PUBLIC\G713\RelDir\SAMSUNG_SMDK2440_ARMV4IRelease>dumpbin/exports ca mera.dll Microsoft (R) COFF/PE Dumper Version 6.24.3064 Copyright (C) Microsoft Corporation. All rights reserved. Dump of file camera.dll File Type: DLL Section contains the following exports for CAMERA.dll 00000000 characteristics 46E4E415 time date stamp Mon Sep 10 14:28:37 2007 0.00 version 1 ordinal base 10 number of functions 10 number of names ordinal hint RVA name 1 0 00004FE8 CAM_Close 2 1 00004D24 CAM_Deinit 3 2 00005EFC CAM_IOControl 4 3 00004B9C CAM_Init 5 4 00004FE0 CAM_Open 6 5 00005DF4 CAM_PowerDown 7 6 00004FF0 CAM_PowerUp 8 7 00005EE4 CAM_Read 9 8 00005EF4 CAM_Seek 10 9 00005EEC CAM_Write Summary 4000 .data 1000 .pdata 1000 .reloc C000 .text |
|
|