A
A J Le Couteur Bisson
Could someone please confirm that static class constructors are only called
at the first
use of a non-static constructor on the class, or am I doing something wrong?
If this is
indeed the case then I would consider this a serious error in the language
implementation,
not to mention a pain in the backside![Frown :( :(](/styles/default/custom/smilies/frown.gif)
Also, is it to much to ask that the method Type.GetTypeFromCLSID be
documented
clearly as unimplemented? The help gives the following:
Parameters
clsid
The CLSID of the type to get.
Return Value
System.__ComObject regardless of whether the
CLSID is valid.
and then goes on to provide an example of this pointless function in use. I
wouldn't mind
but I have used this function and, of course, it doesn't work.
Andy
at the first
use of a non-static constructor on the class, or am I doing something wrong?
If this is
indeed the case then I would consider this a serious error in the language
implementation,
not to mention a pain in the backside
![Frown :( :(](/styles/default/custom/smilies/frown.gif)
Also, is it to much to ask that the method Type.GetTypeFromCLSID be
documented
clearly as unimplemented? The help gives the following:
Parameters
clsid
The CLSID of the type to get.
Return Value
System.__ComObject regardless of whether the
CLSID is valid.
and then goes on to provide an example of this pointless function in use. I
wouldn't mind
but I have used this function and, of course, it doesn't work.
Andy