Search found 4 matches

by surfdabbler
Thu Oct 22, 2009 6:50 pm
Forum: Developer's Forum for Windows
Topic: Problems integrating ATL into MFC
Replies: 5
Views: 11041

OK, got it working. As a seperate issue, I found I had to move it back up onto the MainFrame class anyway. When it was on the View class, it would only work in the first view that was opened, and wouldn't support switching between multiple views in the MDI application. I had to move all the connexio...
by surfdabbler
Thu Oct 22, 2009 7:06 am
Forum: Developer's Forum for Windows
Topic: Problems integrating ATL into MFC
Replies: 5
Views: 11041

OK, I have one function in my view class, to which I am passing a large 2d array of structures. It never caused a problem before, but apparently it's causing problems with the event_receiver definition. private: void MyFunction(CClass1 *lptr, CClass2 *lptr, CClass3 larray[150][150], bool); (It doesn...
by surfdabbler
Thu Oct 22, 2009 6:46 am
Forum: Developer's Forum for Windows
Topic: Problems integrating ATL into MFC
Replies: 5
Views: 11041

OK, I had all the stuff there. Stdafx.h has... #define _ATL_ATTRIBUTES 1 #include <atlbase> #include <atlcom> #import "progid:TDxInput.Device" embedded_idl no_namespace With the event_receiver immediately preceding the class definition, the first .cpp file that includes sdiglview.h gives t...
by surfdabbler
Wed Oct 21, 2009 8:48 pm
Forum: Developer's Forum for Windows
Topic: Problems integrating ATL into MFC
Replies: 5
Views: 11041

Problems integrating ATL into MFC

I'm working on integrating the explorer into my application. I can integrate into a new app, created by the wizard, and it compiles, but the same changes won't compile into my application. I'm getting the following errors... 1>c:\myprogs\surfplan2\shared source\structure\sdiglview.cpp(13050) : error...