My understanding is that the Windows Forms team spent all of their energy testing that Windows Forms controls work in supported ways for supported Windows Forms and COM Control hosts, and in no other ways in other hosts. " I cannot stress enough just how unsupported this technique is. I just noticed the conclution of the article I refered to in a previous post: Methods returning primitives work in ActiveX test container, but I've so far been unable to make them work from MFC. My fear is that if we continue trying to get ActiveX working, I might run into bigger problems when working with events when I solve the current problem. NET ActiveX in MFC, so we will see what we will do. "Member was not found" or "The parameter was incorrect" for the return type. I was able to generate classes for the ActiveX but I am getting some problems with calling some of the methods. The new form we might replace with a /clr winform is quite huge and complex, so we have to figure out what to do. We are looking into creating a new class and use /clr for that class only. We tried recompiling with /clr, but that gave alot of linker errors I haven't been able to sort out so far.
0 Comments
Leave a Reply. |