阅读:2219回复:10
如何显示ramdisk的文件夹
我通过PB建立工程并编译了ramdisk,同时写入了注册表,并且驱动模块也已经加载成功了,但是为什么还是看不到文件夹?
|
|
|
沙发#
发布于:2008-07-31 17:20
注册表貼出來看看
|
|
板凳#
发布于:2008-08-01 11:17
我也遇到了这个问题
环境变量我加了一个:SYSGEN_RAMDISK = 1 我的注册表: ; @CESYSGEN IF CE_MODULES_RAMDISK IF SYSGEN_RAMDISK [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RAMDisk] "Size"=dword:0000100 "Prefix"="DSK" "Dll"="ramdisk.dll" "Order"=dword:0 "Ioctl"=dword:4 "IClass"="{4AD6B45F-D3A0-4c12-999F-34CE0B572D74}" "Profile"="RamDisk" "FriendlyName"="RamDisk" ;"Flags"=dword:1000 [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\RAMDisk] "FileSystem"="fatfsd.dll" "PartitionDriver"="mspart.dll" "AutoMount"=dword:1 "AutoPart"=dword:1 "AutoFormat"=dword:1 "MountFlags"=dword:0 "Name"="RamDisk" "Folder"="RamDisk" ENDIF ; @CESYSGEN ENDIF CE_MODULES_RAMDISK |
|
地板#
发布于:2008-08-01 11:28
方便提供RAMDISK的源码吗?
我来试试 应该不难 |
|
地下室#
发布于:2008-08-01 11:59
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RAMDisk]
"Size"=dword:0000100 size太小 |
|
5楼#
发布于:2008-08-01 12:01
源码就在ddk里面阿,装了环境就有了,太小的话显示不出来?
|
|
6楼#
发布于:2008-08-01 14:12
Nhyzj可以打包起来放在这里吗?
我的竟然没有 |
|
7楼#
发布于:2008-08-01 23:20
源代码
E:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\BLOCK\RAMDISK |
|
8楼#
发布于:2008-08-02 11:42
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RamDisk]
;"Address"=dword:CC000000 "Size"=dword:00100000 "Prefix"="DSK" "Dll"="ramdisk.dll" "Order"=dword:0 "IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}" "Profile"="RamDisk" "FriendlyName"="RamDisk" "Flags"=dword:1000 [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\RamDisk] "FileSystem"="fatfsd.dll" "PartitionDriver"="mspart.dll" "AutoMount"=dword:1 "AutoPart"=dword:1 "AutoFormat"=dword:1 "Name"="RamDisk" "Folder"="RamDisk" [HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\RamDisk] "DriverPath"="Drivers\\BuiltIn\\RamDisk" "LoadFlags"=dword:1 "Bootphase"=dword:0 "Order"=dword:0 [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\RamDisk\FATFS] "MountAsBootable"=dword:1 "MountAsRoot"=dword:0 "MountHidden"=dword:1 搞定~~~ |
|
9楼#
发布于:2008-08-02 19:35
|
|
10楼#
发布于:2008-08-05 09:54
引用第9楼harktrip于2008-08-02 19:35发表的 : 楼主问题解决了,没道谢没帮忙,就这样一声不响溜了? 唉,真是寒天饮冰水,点滴在心头啊~~~ |
|