Click here to Skip to main content
15,031,937 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: MDI multiple view types - Window List Pin
bob169727-Sep-07 14:15
Memberbob169727-Sep-07 14:15 
GeneralRe: MDI multiple view types - Window List Pin
bob169727-Sep-07 14:21
Memberbob169727-Sep-07 14:21 
AnswerRe: MDI multiple view types - Window List Pin
Nelek12-Sep-07 0:08
protectorNelek12-Sep-07 0:08 
QuestionHow to prevent library/software cracking Pin
Hirakawa7-Sep-07 9:53
MemberHirakawa7-Sep-07 9:53 
AnswerRe: How to prevent library/software cracking Pin
David Crow7-Sep-07 10:16
MemberDavid Crow7-Sep-07 10:16 
GeneralRe: How to prevent library/software cracking Pin
Hirakawa7-Sep-07 21:08
MemberHirakawa7-Sep-07 21:08 
QuestionUsing a resource from an ATL COM MFC Component Pin
cmacgowan7-Sep-07 9:45
Membercmacgowan7-Sep-07 9:45 
AnswerRe: Using a resource from an ATL COM MFC Component Pin
cmacgowan7-Sep-07 11:45
Membercmacgowan7-Sep-07 11:45 
Hi ...

I have fixed the problem by adding the __declspec (dllexport) to the CAddin1View0 class definition. I forgot to add this. Then you have to include the Addin1.lib in the project and then the application will require the Addin1.dll to be present ... this defeats the purpose of using the ATL COM Addin ... Where I can unregister the component and the host application does not care that it is missing.

I will continue to search for a method to expose the pointer to the a CRuntimeClass using the COM interface. ???

Any ideas ??
Thanks,
Chris


// the ADDIN1_DLL must be set in the project preprocessor<br />
// definitions.  This can be found in the project setting and the<br />
// c/c++ tab.  If you leave this out you will get some warnings.<br />
<br />
#ifdef ADDIN1_DLL<br />
#define Addin1DLLSpec __declspec (dllexport)<br />
#else<br />
#define Addin1DLLSpec __declspec (dllimport)<br />
#endif<br />
<br />
class Addin1DLLSpec CAddin1View0 : public CFormView<br />

QuestionHow to find Certificate Trust List by "Identifier" Pin
Joseph.Lightfoot7-Sep-07 6:18
MemberJoseph.Lightfoot7-Sep-07 6:18 
AnswerRe: How to find Certificate Trust List by "Identifier" Pin
led mike7-Sep-07 7:34
Memberled mike7-Sep-07 7:34 
GeneralRe: How to find Certificate Trust List by "Identifier" Pin
Joseph.Lightfoot7-Sep-07 9:18
MemberJoseph.Lightfoot7-Sep-07 9:18 
GeneralRe: How to find Certificate Trust List by "Identifier" Pin
led mike7-Sep-07 11:42
Memberled mike7-Sep-07 11:42 
QuestionType conversion! from BYTE[] to Point[] [modified] Pin
Md. Ali Naser Khan7-Sep-07 4:34
MemberMd. Ali Naser Khan7-Sep-07 4:34 
AnswerRe: Type conversion! from BYTE[] to Point[] Pin
led mike7-Sep-07 5:07
Memberled mike7-Sep-07 5:07 
JokeRe: Type conversion! from BYTE[] to Point[] Pin
David Crow7-Sep-07 5:14
MemberDavid Crow7-Sep-07 5:14 
GeneralRe: Type conversion! from BYTE[] to Point[] Pin
jhwurmbach7-Sep-07 6:27
Memberjhwurmbach7-Sep-07 6:27 
GeneralRe: Type conversion! from BYTE[] to Point[] Pin
Md. Ali Naser Khan7-Sep-07 5:14
MemberMd. Ali Naser Khan7-Sep-07 5:14 
GeneralRe: Type conversion! from BYTE[] to Point[] Pin
Mark Salsbery7-Sep-07 5:30
MemberMark Salsbery7-Sep-07 5:30 
GeneralRe: Type conversion! from BYTE[] to Point[] Pin
led mike7-Sep-07 5:41
Memberled mike7-Sep-07 5:41 
AnswerRe: Type conversion! from BYTE[] to Point[] Pin
John R. Shaw7-Sep-07 23:11
MemberJohn R. Shaw7-Sep-07 23:11 
AnswerRe: Type conversion! from BYTE[] to Point[] Pin
Mark Salsbery8-Sep-07 7:12
MemberMark Salsbery8-Sep-07 7:12 
QuestionIHTMLDocument2Ptr not found Pin
Bhavesh Bagadiya7-Sep-07 4:23
MemberBhavesh Bagadiya7-Sep-07 4:23 
QuestionRe: IHTMLDocument2Ptr not found Pin
David Crow7-Sep-07 4:30
MemberDavid Crow7-Sep-07 4:30 
AnswerRe: IHTMLDocument2Ptr not found Pin
Bhavesh Bagadiya7-Sep-07 4:56
MemberBhavesh Bagadiya7-Sep-07 4:56 
QuestionSending a CFormView app in the status bar with the X button (Close Button of the window) Pin
HiEverybody7-Sep-07 3:44
MemberHiEverybody7-Sep-07 3:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.