www.digitalmars.com         C & C++   DMDScript  

c++.stlsoft - WINSTL reg_key and reg_value: Copy of empty objects fails

reply Gabor.Fischer systecs.com (Gabor Fischer) writes:
Hi!


It seems it is not possible to copy a winstl::reg_key or a  
winstl::reg_value if the object is empty. The following code snippet  
throws an exception:


winstl::reg_value Value;
winstl::reg_value NewValue = Value;


The same with winstl::reg_key:


winstl::reg_key Key;
winstl::reg_key NewKey = Key;




So Long...

Gabor
Mar 06 2007
parent "Matthew Wilson" <matthew hat.stlsoft.dot.org> writes:
Will check into it later today.

Cheers

Matthew

"Gabor Fischer" <Gabor.Fischer systecs.com> wrote in message
news:ACKTp03KQNB systecs.com...
 Hi!


 It seems it is not possible to copy a winstl::reg_key or a
 winstl::reg_value if the object is empty. The following code snippet
 throws an exception:


 winstl::reg_value Value;
 winstl::reg_value NewValue = Value;


 The same with winstl::reg_key:


 winstl::reg_key Key;
 winstl::reg_key NewKey = Key;




 So Long...

 Gabor
Mar 07 2007