I have a GUI called mygui created using GUIDE that contains an ActiveX control. When I save the GUI and run it, the corresponding mygui_activex file gets created in the current directory. I compile the GUI using the following command:
mcc –m mygui.m
When I execute the EXE-file, I receive the following error in an error dialog:
Serialization of COM object failed. ‘LED activex control’ could not be restored to its previous state. Make sure file mygui_activex1 is in the same directory as your GUI.
Best Answer