D
dragonslayer008
Hello group,
I'm making a custom control in C++/CLI. The control builds fine. To
test the control, I made a C# Forms application. On the Toolbox, I
right clicked and chose "Choose Items". I then browsed for my control
DLL and added it. The custom control now shows up in the toolbox. I
then drag this control onto the form.
I then get exceptions about null objects. I don't get this. How can
I get exceptions when the program isn't even running? Some of the
objects will be null until I "new" them...
I'm making a custom control in C++/CLI. The control builds fine. To
test the control, I made a C# Forms application. On the Toolbox, I
right clicked and chose "Choose Items". I then browsed for my control
DLL and added it. The custom control now shows up in the toolbox. I
then drag this control onto the form.
I then get exceptions about null objects. I don't get this. How can
I get exceptions when the program isn't even running? Some of the
objects will be null until I "new" them...