Need advice about ATL, COM ActiveX
Posted on 2000-03-15
I'm developing an App in VB. I used also VB to make some user controls (ActiveX) based on Windows classes (Edit, Combo...).
This is what I tried.
1) I Made the controls and compile in a OCX. Results: The client that uses my OCX crashes (although it does not crash when debugging with a test App)
2) I added the controls as 'userControls' in my project. Results: Extra overhead, uses a lot of memory and it's not easy to port to other projects.
I decided to build these controls in VC++. I've been reading MSDN and articles about available technologies and i realize I have several options: using the ATL Wizard, MFC ActiveX Wizard...
What would you recommend? The only thing I must do is create controls, e.g a TextBox, based on the Windows' Edit class, and add some more custom properties?