阅读:2144回复:32
snowStart。AllenZh。。等大佬请进。。。
那个问题已经基本上搞定了。。。。
应该是在32位环境编译的, 刚才已经编译通过。 就是链接的时候又几十处错误。。。。 生成了obj文件。没有sys文件。。 这东西这么难弄啊! 怎么我装了softise不能用啊? 一启动就只是命令窗口一闪就没了(以前我没有用过这个东东。) 应该可以用她来排除编译链接的错误吧? 不好意思啊。。。 不知道怎么的。。 这次最多只能放50分。。 以后再多给。。 谢谢了!! :) |
|
|
沙发#
发布于:2005-01-21 10:28
而且提示的那些错误都是编译生成的。obj文件中的错误。。。
小弟以前没有搞过这些东西。 这些错误应该怎么排除啊? 通过修改源码? 估计不行吧。。。。 |
|
|
板凳#
发布于:2005-01-21 10:31
就是链接的时候又几十处错误。。。。
生成了obj文件。没有sys文件。。 1、 什么错误贴出来嘛,有错误肯定不能生成*.sys文件了 查看*.err或*.log文件查看错误 2、 你使用的是SoftIce的手动启动,就是那样子 使用是用Symbol Loader加载符号, ctrl+D切换softice的调试窗口 3. Softice是调试工具, 不能用来排除编译链接的错误,这种错误只能自己找了 努力吧!!! |
|
|
地板#
发布于:2005-01-21 10:39
就是链接的时候又几十处错误。。。。 对! 我选择的就是手动驱动的。。。 哎呀! 看来还得自己努力了。。。 一下是链接时候的错误:: link() : error LNK2001: unresolved external symbol _DriverEntry@8 power.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall PoStartNextPowerIrp(struct _IRP *)" (__imp_?PoStartNextPowerIrp@@YGXPAU_IRP@@@Z) pnp.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall IoReleaseRemoveLockEx(struct _IO_REMOVE_LOCK *,void *,unsigned long)" (__imp_?IoReleaseRemoveLockEx@@YGXPAU_IO_REMOVE_LOCK@@PAXK@Z) power.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall IoReleaseRemoveLockEx(struct _IO_REMOVE_LOCK *,void *,unsigned long)" (__imp_?IoReleaseRemoveLockEx@@YGXPAU_IO_REMOVE_LOCK@@PAXK@Z) startio.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall IoReleaseRemoveLockEx(struct _IO_REMOVE_LOCK *,void *,unsigned long)" (__imp_?IoReleaseRemoveLockEx@@YGXPAU_IO_REMOVE_LOCK@@PAXK@Z) readwrite.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall IoReleaseRemoveLockEx(struct _IO_REMOVE_LOCK *,void *,unsigned long)" (__imp_?IoReleaseRemoveLockEx@@YGXPAU_IO_REMOVE_LOCK@@PAXK@Z) dpcforisr.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall IoReleaseRemoveLockEx(struct _IO_REMOVE_LOCK *,void *,unsigned long)" (__imp_?IoReleaseRemoveLockEx@@YGXPAU_IO_REMOVE_LOCK@@PAXK@Z) power.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) long __stdcall IoAcquireRemoveLockEx(struct _IO_REMOVE_LOCK *,void *,char const *,unsigned long,unsigned long)" (__imp_?IoAcquireRemoveLockEx@@YGJPAU_IO_REMOVE_LOCK@@PAXPBDKK@Z) startio.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) long __stdcall IoAcquireRemoveLockEx(struct _IO_REMOVE_LOCK *,void *,char const *,unsigned long,unsigned long)" (__imp_?IoAcquireRemoveLockEx@@YGJPAU_IO_REMOVE_LOCK@@PAXPBDKK@Z) pnp.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) long __stdcall IoAcquireRemoveLockEx(struct _IO_REMOVE_LOCK *,void *,char const *,unsigned long,unsigned long)" (__imp_?IoAcquireRemoveLockEx@@YGJPAU_IO_REMOVE_LOCK@@PAXPBDKK@Z) power.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) long __stdcall PoCallDriver(struct _DEVICE_OBJECT *,struct _IRP *)" (__imp_?PoCallDriver@@YGJPAU_DEVICE_OBJECT@@PAU_IRP@@@Z) power.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall RtlAssert(void *,void *,unsigned long,char *)" (__imp_?RtlAssert@@YGXPAX0KPAD@Z) pnp.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall RtlAssert(void *,void *,unsigned long,char *)" (__imp_?RtlAssert@@YGXPAX0KPAD@Z) power.obj() : error LNK2001: unresolved external symbol "long __stdcall OnCompleteDeviceSetPower(struct _DEVICE_OBJECT *,struct _IRP *,void *)" (?OnCompleteDeviceSetPower@@YGJPAU_DEVICE_OBJECT@@PAU_IRP@@PAX@Z) power.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) long __stdcall PoRequestPowerIrp(struct _DEVICE_OBJECT *,unsigned char,union _POWER_STATE,void (__stdcall*)(struct _DEVICE_OBJECT *,unsigned char,union _POWER_STATE,void *,struct _IO_STATUS_BLOCK *),void *,struct _IRP * *)" (__imp_?PoRequestPowerIrp@@YGJPAU_DEVICE_OBJECT@@ET_POWER_STATE@@P6GX0E1PAXPAU_IO_STATUS_BLOCK@@@Z2PAPAU_IRP@@@Z) power.obj() : error LNK2001: unresolved external symbol "void __stdcall SystemCompletionRoution(struct _DEVICE_OBJECT *,unsigned char,union _POWER_STATE,void *,struct _IO_STATUS_BLOCK *)" (?SystemCompletionRoution@@YGXPAU_DEVICE_OBJECT@@ET_POWER_STATE@@PAXPAU_IO_STATUS_BLOCK@@@Z) power.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) union _POWER_STATE __stdcall PoSetPowerState(struct _DEVICE_OBJECT *,enum _POWER_STATE_TYPE,union _POWER_STATE)" (__imp_?PoSetPowerState@@YG?AT_POWER_STATE@@PAU_DEVICE_OBJECT@@W4_POWER_STATE_TYPE@@T1@@Z) starttransfer.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall WRITE_REGISTER_ULONG(unsigned long *,unsigned long)" (__imp_?WRITE_REGISTER_ULONG@@YGXPAKK@Z) pnp.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall WRITE_REGISTER_ULONG(unsigned long *,unsigned long)" (__imp_?WRITE_REGISTER_ULONG@@YGXPAKK@Z) unload.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall IoDeleteDevice(struct _DEVICE_OBJECT *)" (__imp_?IoDeleteDevice@@YGXPAU_DEVICE_OBJECT@@@Z) pnp.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall IoDeleteDevice(struct _DEVICE_OBJECT *)" (__imp_?IoDeleteDevice@@YGXPAU_DEVICE_OBJECT@@@Z) adddevice.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall IoDeleteDevice(struct _DEVICE_OBJECT *)" (__imp_?IoDeleteDevice@@YGXPAU_DEVICE_OBJECT@@@Z) unload.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall IoDetachDevice(struct _DEVICE_OBJECT *)" (__imp_?IoDetachDevice@@YGXPAU_DEVICE_OBJECT@@@Z) pnp.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall IoDetachDevice(struct _DEVICE_OBJECT *)" (__imp_?IoDetachDevice@@YGXPAU_DEVICE_OBJECT@@@Z) adddevice.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall IoDetachDevice(struct _DEVICE_OBJECT *)" (__imp_?IoDetachDevice@@YGXPAU_DEVICE_OBJECT@@@Z) unload.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall IoReleaseRemoveLockAndWaitEx(struct _IO_REMOVE_LOCK *,void *,unsigned long)" (__imp_?IoReleaseRemoveLockAndWaitEx@@YGXPAU_IO_REMOVE_LOCK@@PAXK@Z) pnp.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall IoReleaseRemoveLockAndWaitEx(struct _IO_REMOVE_LOCK *,void *,unsigned long)" (__imp_?IoReleaseRemoveLockAndWaitEx@@YGXPAU_IO_REMOVE_LOCK@@PAXK@Z) unload.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall MmUnmapIoSpace(void *,unsigned long)" (__imp_?MmUnmapIoSpace@@YGXPAXK@Z) pnp.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall MmUnmapIoSpace(void *,unsigned long)" (__imp_?MmUnmapIoSpace@@YGXPAXK@Z) unload.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall IoDisconnectInterrupt(struct _KINTERRUPT *)" (__imp_?IoDisconnectInterrupt@@YGXPAU_KINTERRUPT@@@Z) pnp.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall IoDisconnectInterrupt(struct _KINTERRUPT *)" (__imp_?IoDisconnectInterrupt@@YGXPAU_KINTERRUPT@@@Z) startio.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall IoStartNextPacket(struct _DEVICE_OBJECT *,unsigned char)" (__imp_?IoStartNextPacket@@YGXPAU_DEVICE_OBJECT@@E@Z) dpcforisr.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall IoStartNextPacket(struct _DEVICE_OBJECT *,unsigned char)" (__imp_?IoStartNextPacket@@YGXPAU_DEVICE_OBJECT@@E@Z) startio.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall IoReleaseCancelSpinLock(unsigned char)" (__imp_?IoReleaseCancelSpinLock@@YGXE@Z) readwrite.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall IoReleaseCancelSpinLock(unsigned char)" (__imp_?IoReleaseCancelSpinLock@@YGXE@Z) pnp.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall IoReleaseCancelSpinLock(unsigned char)" (__imp_?IoReleaseCancelSpinLock@@YGXE@Z) startio.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) long __fastcall InterlockedExchange(long *,long)" (__imp_?InterlockedExchange@@YIJPAJJ@Z) readwrite.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) long __fastcall InterlockedExchange(long *,long)" (__imp_?InterlockedExchange@@YIJPAJJ@Z) startio.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall IoAcquireCancelSpinLock(unsigned char *)" (__imp_?IoAcquireCancelSpinLock@@YGXPAE@Z) readwrite.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall IoAcquireCancelSpinLock(unsigned char *)" (__imp_?IoAcquireCancelSpinLock@@YGXPAE@Z) startio.obj() : error LNK2001: unresolved external symbol "unsigned long __cdecl DbgPrint(char *,...)" (?DbgPrint@@YAKPADZZ) pnp.obj() : error LNK2001: unresolved external symbol "unsigned long __cdecl DbgPrint(char *,...)" (?DbgPrint@@YAKPADZZ) readwrite.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall IoStartPacket(struct _DEVICE_OBJECT *,struct _IRP *,unsigned long *,void (__stdcall*)(struct _DEVICE_OBJECT *,struct _IRP *))" (__imp_?IoStartPacket@@YGXPAU_DEVICE_OBJECT@@PAU_IRP@@PAKP6GX01@Z@Z) pnp.obj() : error LNK2001: unresolved external symbol "long __stdcall RequestControl(struct _DEVICE_OBJECT *,struct _IRP *)" (?RequestControl@@YGJPAU_DEVICE_OBJECT@@PAU_IRP@@@Z) pnp.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) long __fastcall IofCallDriver(struct _DEVICE_OBJECT *,struct _IRP *)" (__imp_?IofCallDriver@@YIJPAU_DEVICE_OBJECT@@PAU_IRP@@@Z) pnp.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall ExFreePool(void *)" (__imp_?ExFreePool@@YGXPAX@Z) pnp.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) long __stdcall IoSetDeviceInterfaceState(struct _UNICODE_STRING *,unsigned char)" (__imp_?IoSetDeviceInterfaceState@@YGJPAU_UNICODE_STRING@@E@Z) adddevice.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) long __stdcall IoSetDeviceInterfaceState(struct _UNICODE_STRING *,unsigned char)" (__imp_?IoSetDeviceInterfaceState@@YGJPAU_UNICODE_STRING@@E@Z) pnp.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) long __stdcall KeWaitForSingleObject(void *,enum _KWAIT_REASON,char,unsigned char,union _LARGE_INTEGER *)" (__imp_?KeWaitForSingleObject@@YGJPAXW4_KWAIT_REASON@@DEPAT_LARGE_INTEGER@@@Z) pnp.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall KeInitializeEvent(struct _KEVENT *,enum _EVENT_TYPE,unsigned char)" (__imp_?KeInitializeEvent@@YGXPAU_KEVENT@@W4_EVENT_TYPE@@E@Z) adddevice.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall KeInitializeEvent(struct _KEVENT *,enum _EVENT_TYPE,unsigned char)" (__imp_?KeInitializeEvent@@YGXPAU_KEVENT@@W4_EVENT_TYPE@@E@Z) pnp.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) long __stdcall KeSetEvent(struct _KEVENT *,long,unsigned char)" (__imp_?KeSetEvent@@YGJPAU_KEVENT@@JE@Z) pnp.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) struct _DMA_ADAPTER * __stdcall IoGetDmaAdapter(struct _DEVICE_OBJECT *,struct _DEVICE_DESCRIPTION *,unsigned long *)" (__imp_?IoGetDmaAdapter@@YGPAU_DMA_ADAPTER@@PAU_DEVICE_OBJECT@@PAU_DEVICE_DESCRIPTION@@PAK@Z) pnp.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) long __stdcall IoGetDeviceProperty(struct _DEVICE_OBJECT *,enum DEVICE_REGISTRY_PROPERTY,unsigned long,void *,unsigned long *)" (__imp_?IoGetDeviceProperty@@YGJPAU_DEVICE_OBJECT@@W4DEVICE_REGISTRY_PROPERTY@@KPAXPAK@Z) pnp.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) long __stdcall IoConnectInterrupt(struct _KINTERRUPT * *,unsigned char (__stdcall*)(struct _KINTERRUPT *,void *),void *,unsigned long *,unsigned long,unsigned char,unsigned char,enum _KINTERRUPT_MODE,unsigned char,unsigned long,unsigned char)" (__imp_?IoConnectInterrupt@@YGJPAPAU_KINTERRUPT@@P6GEPAU1@PAX@Z2PAKKEEW4_KINTERRUPT_MODE@@EKE@Z) pnp.obj() : error LNK2001: unresolved external symbol "unsigned char __stdcall IsRoutine(struct _KINTERRUPT *,void *)" (?IsRoutine@@YGEPAU_KINTERRUPT@@PAX@Z) pnp.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void * __stdcall MmMapIoSpace(union _LARGE_INTEGER,unsigned long,enum _MEMORY_CACHING_TYPE)" (__imp_?MmMapIoSpace@@YGPAXT_LARGE_INTEGER@@KW4_MEMORY_CACHING_TYPE@@@Z) pnp.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned char __stdcall KeRemoveEntryDeviceQueue(struct _KDEVICE_QUEUE *,struct _KDEVICE_QUEUE_ENTRY *)" (__imp_?KeRemoveEntryDeviceQueue@@YGEPAU_KDEVICE_QUEUE@@PAU_KDEVICE_QUEUE_ENTRY@@@Z) pnp.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) long __fastcall InterlockedIncrement(long *)" (__imp_?InterlockedIncrement@@YIJPAJ@Z) pnp.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) long __fastcall InterlockedDecrement(long *)" (__imp_?InterlockedDecrement@@YIJPAJ@Z) pnp.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __fastcall IofCompleteRequest(struct _IRP *,char)" (__imp_?IofCompleteRequest@@YIXPAU_IRP@@D@Z) adddevice.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall IoInitializeRemoveLockEx(struct _IO_REMOVE_LOCK *,unsigned long,unsigned long,unsigned long,unsigned long)" (__imp_?IoInitializeRemoveLockEx@@YGXPAU_IO_REMOVE_LOCK@@KKKK@Z) adddevice.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall KeInitializeDpc(struct _KDPC *,void (__stdcall*)(struct _KDPC *,void *,void *,void *),void *)" (__imp_?KeInitializeDpc@@YGXPAU_KDPC@@P6GX0PAX11@Z1@Z) adddevice.obj() : error LNK2001: unresolved external symbol "void __stdcall DpcForIsr(struct _KDPC *,struct _DEVICE_OBJECT *,struct _IRP *,void *)" (?DpcForIsr@@YGXPAU_KDPC@@PAU_DEVICE_OBJECT@@PAU_IRP@@PAX@Z) adddevice.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) struct _DEVICE_OBJECT * __stdcall IoAttachDeviceToDeviceStack(struct _DEVICE_OBJECT *,struct _DEVICE_OBJECT *)" (__imp_?IoAttachDeviceToDeviceStack@@YGPAU_DEVICE_OBJECT@@PAU1@0@Z) adddevice.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned long * __stdcall PoRegisterDeviceForIdleDetection(struct _DEVICE_OBJECT *,unsigned long,unsigned long,enum _DEVICE_POWER_STATE)" (__imp_?PoRegisterDeviceForIdleDetection@@YGPAKPAU_DEVICE_OBJECT@@KKW4_DEVICE_POWER_STATE@@@Z) adddevice.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) long __stdcall IoRegisterDeviceInterface(struct _DEVICE_OBJECT *,struct _GUID const *,struct _UNICODE_STRING *,struct _UNICODE_STRING *)" (__imp_?IoRegisterDeviceInterface@@YGJPAU_DEVICE_OBJECT@@PBU_GUID@@PAU_UNICODE_STRING@@2@Z) adddevice.obj() : error LNK2001: unresolved external symbol _GUID_DGJ adddevice.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) void __stdcall KeInitializeSpinLock(unsigned long *)" (__imp_?KeInitializeSpinLock@@YGXPAK@Z) adddevice.obj() : error LNK2001: unresolved external symbol "__declspec(dllimport) long __stdcall IoCreateDevice(struct _DRIVER_OBJECT *,unsigned long,struct _UNICODE_STRING *,unsigned long,unsigned long,unsigned char,struct _DEVICE_OBJECT * *)" (__imp_?IoCreateDevice@@YGJPAU_DRIVER_OBJECT@@KPAU_UNICODE_STRING@@KKEPAPAU_DEVICE_OBJECT@@@Z) objchk\i386\xiaodai.sys() : error LNK1120: 47 unresolved externals 一大堆啊!!! 但是都很类似。。。。应该不是很难排除的。。 像这种不是简单的语法错误排除的时候有没有什么规则方法啊? 我觉得一修改源码一般肯定会出语法错误的, 那样不是越改越遭了。。。。 :( |
|
|
地下室#
发布于:2005-01-21 11:02
能把source文件也贴出来吗
|
|
|
5楼#
发布于:2005-01-21 11:11
能把source文件也贴出来吗 好的。。。 下面就是了 TARGETNAME=xiaodai #注意没有扩展名 TARGETPATH=obj TARGETTYPE=DRIVER DRIVERTYPE=WDM INCLUDES=F:\driver\inc TARGETLIBS=$(DDK_LIB_PATH)\stream.lib \ $(DDK_LIB_PATH)\ksguid.lib \ $(DDK_LIB_PATH)\atishare.lib \ $(DDK_LIB_PATH)\dxapi.lib \ $(DDK_LIB_PATH)\ntoskrnl.lib \ $(DDK_LIB_PATH)\hal.lib \ $(DDK_LIB_PATH)\advapi32.lib \ $(DDK_LIB_PATH)\comctl32.lib \ $(DDK_LIB_PATH)\gdi32.lib \ $(DDK_LIB_PATH)\imm32.lib \ $(DDK_LIB_PATH)\kernel32.lib \ $(DDK_LIB_PATH)\user32.lib \ $(DDK_LIB_PATH)\wdm.lib \ #$(DDK_LIB_PATH)\int64.lib !IFNDEF MSC_WARNING_LEVEL MSC_WARNING_LEVEL=/W3 !ENDIF SOURCES= power.cpp \ starttransfer.cpp \ Isr.cpp \ unload.cpp \ startio.cpp \ adaptercontral.cpp \ readwrite.cpp \ DpcForIsr.cpp \ pnp.cpp \ adddevice.cpp 就是这些了。。。 |
|
|
6楼#
发布于:2005-01-21 11:19
这是你自己写的吗?
建议使用*.c文件名 试一试吧 *.cpp是按C++规范, 编译时可能会出现一些连接错误,找起来也比较麻烦 |
|
|
7楼#
发布于:2005-01-21 11:33
这是你自己写的吗? 是我自己写的,。。。 好的。 我试试看 |
|
|
8楼#
发布于:2005-01-21 11:38
估计环境设置不对
|
|
9楼#
发布于:2005-01-21 11:42
[quote]这是你自己写的吗? 是我自己写的,。。。 好的。 我试试看 [/quote] 嘻嘻....你吹吧.....在大佬面前要诚实.....记住 |
|
|
10楼#
发布于:2005-01-21 11:44
估计环境设置不对 大侠该如何设置啊? 一进入checked环境应该就设置多数环境了吧。 其余的在sources文件中完成(主要是设置库文件吧) 依照大侠该是哪里的错误啊? 谢谢指教。。 :) |
|
|
11楼#
发布于:2005-01-21 11:46
[quote][quote]这是你自己写的吗? 是我自己写的,。。。 好的。 我试试看 [/quote] 嘻嘻....你吹吧.....在大佬面前要诚实.....记住 [/quote] 大哥取笑小弟了。。。 呵呵 这个文件最基本了。。 有框架 的。 填上自己的东西就好了。。。 :D |
|
|
12楼#
发布于:2005-01-21 11:51
这是你自己写的吗? 改不的啊。 改完了以后 一编译。。。。。 600多的语法错误(编译) 。。。。。 太恐怖了。。。 :o :o |
|
|
13楼#
发布于:2005-01-21 12:40
你把工程压缩传上来吧,
或发到我邮箱, 我帮你编译一下 |
|
|
14楼#
发布于:2005-01-21 13:40
你的设置可能有问题 哪个souce文件语法没有问题,但你怎么包括了kernel和user不同的lib呢?你是驱动,连接user32这样的编译通过执行也可能有问题(如果你直接调用user32的api是不可以的) |
|
|
15楼#
发布于:2005-01-21 13:41
你把工程压缩传上来吧, 对上传上来或发到mail、msn中看看就知道了 |
|
|
16楼#
发布于:2005-01-21 15:10
源码已经发到两位大侠的邮箱。。。。
帮小弟调试一下吧。。 非常感谢!! :) :) |
|
|
17楼#
发布于:2005-01-21 15:31
对了。。
我那sources文件中 的包含头文件路径用的是绝对路径(f盘跟目录) 大侠调试的时候,改一下好了。。 |
|
|
18楼#
发布于:2005-01-21 15:34
源码已经发到两位大侠的邮箱。。。。 没有看见附件 |
|
|
19楼#
发布于:2005-01-21 15:40
源码已经发到两位大侠的邮箱。。。。 我的邮箱gong_xg@sina.com 我看能否在我的机器上编译? |
|
上一页
下一页