|
求救!!wince数据库的问题-ACTIVESYNC
[复制链接]
在生成image的时候会有一个initdb.ini文件,这个文件里面就是默认的wince数据库的一些内容吧,我就是这么理解的
里面有一项
; @CESYSGEN IF DATASYNC_MODULES_REPLLOG
Record :
Field : 0001001f : "repllog.exe"
Field : 0002001f : "AppRunAtRs232Detect"
Field : 00030013 : 9
End
; @CESYSGEN ENDIF
应该就是关于ACTIVESYNC检测的
现在我的问题是在每次开机并warmreset之后,数据库中应该就会多注册一个这样的数据库项。
导致重启几百上千次之后,每次去查询数据库的时候就需要很长的时间去查询。
在调试了Notifsub.cxx文件中的NotifySubsystem::HandleSystemEvent函数后发现,每次有事件要求去查询数据库的时候就会出现
[TEST] EventO=7, Event=13, app=\\.\Notifications\NamedEvents\DCOMSS\RefreshSettings, cmd=AppRunAfterExtendedEvent
[NOTIFY] Don't want \\.\Notifications\NamedEvents\DCOMSS\RefreshSettings
[TEST] EventO=7, Event=1, app=\\.\Notifications\NamedEvents\DSTTimeChange, cmd=AppRunAfterTimeChange
[NOTIFY] Don't want \\.\Notifications\NamedEvents\DSTTimeChange
[TEST] EventO=7, Event=12, app=\\.\Notifications\NamedEvents\DSTTzChange, cmd=AppRunAfterTzChange
[NOTIFY] Don't want \\.\Notifications\NamedEvents\DSTTzChange
[TEST] EventO=7, Event=1, app=\\.\Notifications\NamedEvents\TaskbarTimeChangeEvent, cmd=AppRunAfterTimeChange
[NOTIFY] Don't want \\.\Notifications\NamedEvents\TaskbarTimeChangeEvent
[TEST] EventO=7, Event=8, app=repllog.exe, cmd=AppRunAtRs232Detect
[NOTIFY] Don't want repllog.exe
[TEST] EventO=7, Event=8, app=repllog.exe, cmd=AppRunAtRs232Detect
[NOTIFY] Don't want repllog.exe
[TEST] EventO=7, Event=8, app=repllog.exe, cmd=AppRunAtRs232Detect
[NOTIFY] Don't want repllog.exe
[TEST] EventO=7, Event=8, app=repllog.exe, cmd=AppRunAtRs232Detect
[NOTIFY] Don't want repllog.exe
[TEST] EventO=7, Event=8, app=repllog.exe, cmd=AppRunAtRs232Detect
[NOTIFY] Don't want repllog.exe
[TEST] EventO=7, Event=8, app=repllog.exe, cmd=AppRunAtRs232Detect
[NOTIFY] Don't want repllog.exe
[TEST] EventO=7, Event=8, app=repllog.exe, cmd=AppRunAtRs232Detect
[NOTIFY] Don't want repllog.exe
。。。
这样的打印消息
而由于开机的时候会有很多驱动去查询注册表 导致开机时间会变慢 而且win桌面显示之后机器也要好长时间才能反应过来
希望高手回答一下什么原因会导致数据库中的这一项没开关机一次就会增加一个。
搞了两个星期了,急,望高手求救!!!
|
|