Click here to Skip to main content
15,917,176 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRegRestoreKey huge delay on 2003 Pin
farby16-Aug-04 11:57
farby16-Aug-04 11:57 
Hello,
it seems something has drastically changed on Windows 2003, if we write to the registry.

I was using the code example from JOHN11 (How to Save and Restore Registry Keys) which is working without any problems on Windows 2000.
If I use the same tool on 2003, export the registry to a file works fine, but importing takes very long. (using option "/R" from JOHN11's tool) The function "RegRestoreKey" hangs some how. I was using the same registry key (which was generating about an 8 MB file). No problems on 2000 (about 30 seconds). On windows 2003 the function returned after about 15 minutes.
I was also chaning the possible parameters without success (REG_NO_LAZY_FLUSH)


Do you have any clue if there is a new "registry" feature on 2003 which delays the "RegRestoreKey" ?

Can we tune this somewhere?

Thanks a bunch for your hints!

Best regards

Farby


GeneralProject Suggestions Pin
Archer28216-Aug-04 11:55
Archer28216-Aug-04 11:55 
GeneralRe: Project Suggestions Pin
Christian Graus16-Aug-04 12:16
protectorChristian Graus16-Aug-04 12:16 
GeneralRe: Project Suggestions Pin
David Crow17-Aug-04 3:38
David Crow17-Aug-04 3:38 
GeneralUsing a templated CView class with the MDI or SDI framework Pin
BAmity16-Aug-04 11:50
BAmity16-Aug-04 11:50 
GeneralLocking a combobox and handling CFormView closing Pin
BlackDice16-Aug-04 11:34
BlackDice16-Aug-04 11:34 
GeneralRe: Locking a combobox and handling CFormView closing Pin
David Crow17-Aug-04 3:55
David Crow17-Aug-04 3:55 
GeneralRe: Locking a combobox and handling CFormView closing Pin
BlackDice17-Aug-04 5:11
BlackDice17-Aug-04 5:11 
GeneralRe: Locking a combobox and handling CFormView closing Pin
David Crow17-Aug-04 5:51
David Crow17-Aug-04 5:51 
GeneralVisual C++ start problem...delay Pin
GuimaSun16-Aug-04 9:17
GuimaSun16-Aug-04 9:17 
GeneralRe: Visual C++ start problem...delay Pin
David Crow16-Aug-04 10:24
David Crow16-Aug-04 10:24 
GeneralRe: Visual C++ start problem...delay Pin
nnvidya16-Aug-04 23:03
nnvidya16-Aug-04 23:03 
GeneralRe: Visual C++ start problem...delay Pin
David Crow17-Aug-04 3:20
David Crow17-Aug-04 3:20 
GeneralRe: Visual C++ start problem...delay Pin
GuimaSun17-Aug-04 3:55
GuimaSun17-Aug-04 3:55 
GeneralRe: Visual C++ start problem...delay Pin
David Crow17-Aug-04 4:00
David Crow17-Aug-04 4:00 
GeneralDifference between "->" and "." Pin
crushinghellhammer16-Aug-04 9:08
crushinghellhammer16-Aug-04 9:08 
GeneralRe: Difference between "->" and "." Pin
crushinghellhammer16-Aug-04 9:15
crushinghellhammer16-Aug-04 9:15 
GeneralRe: Difference between "->" and "." Pin
Wes Aday16-Aug-04 9:17
professionalWes Aday16-Aug-04 9:17 
GeneralRe: Difference between "->" and "." Pin
weblee16-Aug-04 9:52
weblee16-Aug-04 9:52 
Generalno print preview for CFormView in .Net 2003 Pin
BlackDice16-Aug-04 8:59
BlackDice16-Aug-04 8:59 
QuestionA chatsite for questions? Pin
Anonymous16-Aug-04 8:46
Anonymous16-Aug-04 8:46 
AnswerRe: A chatsite for questions? Pin
David Crow16-Aug-04 9:01
David Crow16-Aug-04 9:01 
QuestionFree Windows equivalent of syslog? Pin
hyling16-Aug-04 8:03
hyling16-Aug-04 8:03 
AnswerRe: Free Windows equivalent of syslog? Pin
bikram singh16-Aug-04 9:19
bikram singh16-Aug-04 9:19 
GeneralRe: Free Windows equivalent of syslog? Pin
hyling16-Aug-04 10:40
hyling16-Aug-04 10:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.