Attributes not created when ConstructorInfo.Invoke used to create object 
Author Message
 Attributes not created when ConstructorInfo.Invoke used to create object

I have a class with a few attributes, including a TypeConverter and Editor.
They work fine when the object is created through new, but when created
from a dynamically loaded assembly, through ConstructorInfo.Invoke()
they don't....

Basically, in a PropertyGrid the type converter only works with the explicit
case.....

There must either be a bug in the CLR/reflection code or something is very
subtle in the way Invoke creates an object.

James Battle



Thu, 23 Sep 2004 05:17:12 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Creating objects using object contexts

2. Using Object Wizard to create ASP-hostable ATL objects

3. Creating custom attribute in assembly and accessing attribute from different project

4. ATL7 Attributed COM Invoke does not work with inherited interfaces

5. Creating VC++ built COM application in VB - resulting in - ActiveX can't create object

6. CLARIFY: Create reference to MS Project Object (not Office)

7. Could Not Create CDO.Message Object

8. creating array of objects with NOT default parameters

9. Creating Shortct, Create Link does not work

10. Not deleting objects created with new

11. COM object wrapper not creating a function

12. Creating edit boxes using create function gives wincore 628 error

 

 
Powered by phpBB® Forum Software