MC++ control in a C# form :-(
-
I have an MC++ written control. I have added it to the C# toolbox. When I try to insert it into the form [by drag/drop] I get a message box with this *very* informative message :- Exception from HRESULT: 0x80131019 Blast!!! Nish :-(
Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.
-
I have an MC++ written control. I have added it to the C# toolbox. When I try to insert it into the form [by drag/drop] I get a message box with this *very* informative message :- Exception from HRESULT: 0x80131019 Blast!!! Nish :-(
Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.
I just wrote a message to you about that. What a coincidence? I did not know that you would land into this problem so soon. Ok this is interseting you can have a look at my article Developing windows forms control with MFC. Basically you have to click on the reference and set copy local to false. Rama Krishna Self professed King of Managed C++
-
I have an MC++ written control. I have added it to the C# toolbox. When I try to insert it into the form [by drag/drop] I get a message box with this *very* informative message :- Exception from HRESULT: 0x80131019 Blast!!! Nish :-(
Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.
What's worse is that I caneasily add the control via code. It's just that the form designer refuses to understand the control :-( Is there any known issue where the C# form designer cannot understand a control made with MC++ ??? Nish
Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.
-
I just wrote a message to you about that. What a coincidence? I did not know that you would land into this problem so soon. Ok this is interseting you can have a look at my article Developing windows forms control with MFC. Basically you have to click on the reference and set copy local to false. Rama Krishna Self professed King of Managed C++
Rama Krishna wrote: Basically you have to click on the reference and set copy local to false. Cool! Also had to copy the DLL to the output directory :-) Rama Krishna wrote: Rama Krishna Self professed King of Managed C++ Maybe not kind yet, but you are the crowned prince :-) Nish
Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.