Click here to Skip to main content
15,915,864 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: 24-bit CImageLists for a CListCtrl Pin
Michael Dunn19-Jan-02 6:16
sitebuilderMichael Dunn19-Jan-02 6:16 
GeneralRe: 24-bit CImageLists for a CListCtrl Pin
Simon Walton19-Jan-02 7:41
Simon Walton19-Jan-02 7:41 
GeneralStart->Run Pin
18-Jan-02 22:57
suss18-Jan-02 22:57 
GeneralRe: Start->Run Pin
Philip Patrick19-Jan-02 0:02
professionalPhilip Patrick19-Jan-02 0:02 
GeneralRe: Start->Run Pin
19-Jan-02 0:51
suss19-Jan-02 0:51 
GeneralRe: Start->Run Pin
User 665819-Jan-02 2:26
User 665819-Jan-02 2:26 
GeneralRe: Start->Run Pin
Tim Smith19-Jan-02 3:58
Tim Smith19-Jan-02 3:58 
General[callback] atribute in ATL! Pin
Mazdak18-Jan-02 20:31
Mazdak18-Jan-02 20:31 
I have "simple object",when I created it I accepted all default attribute.
Now I want to add Method with "callback" attribute,but after compile it return error:

method definition--->[id(4), helpstring("method KeyboardProc"), callback] HRESULT KeyboardProc(int nCode,WPARAM wParam,LPARAM lParam);
error---->error MIDL2304 : attribute invalid on a proc in an [object] interface : : [callback] [ Procedure ...


I also test this and get this error:

method definition--->[callback(4), helpstring("method KeyboardProc")] HRESULT KeyboardProc(int nCode,WPARAM wParam,LPARAM lParam);
error---->error MIDL2025 : syntax error : expecting ] or , near "("

***I also want the return vale to be "LRESULT" but I can not change "HRESULT" when I want to add Method.*****

GeneralRe: [callback] atribute in ATL! Pin
Michael P Butler19-Jan-02 2:22
Michael P Butler19-Jan-02 2:22 
GeneralRe: [callback] atribute in ATL! Pin
Tim Smith19-Jan-02 3:56
Tim Smith19-Jan-02 3:56 
GeneralRe: [callback] atribute in ATL! Pin
Mazdak19-Jan-02 18:36
Mazdak19-Jan-02 18:36 
GeneralAutoCompletion Popup Listbox control Pin
18-Jan-02 17:12
suss18-Jan-02 17:12 
GeneralRe: AutoCompletion Popup Listbox control Pin
Philip Patrick19-Jan-02 0:05
professionalPhilip Patrick19-Jan-02 0:05 
GeneralRe: AutoCompletion Popup Listbox control Pin
19-Jan-02 7:54
suss19-Jan-02 7:54 
GeneralRe: AutoCompletion Popup Listbox control Pin
Diarrhio20-Jan-02 14:40
Diarrhio20-Jan-02 14:40 
GeneralRe: AutoCompletion Popup Listbox control Pin
gh20-Jan-02 17:42
gh20-Jan-02 17:42 
GeneralTypedef problems Pin
Stephen Caldwell18-Jan-02 16:20
Stephen Caldwell18-Jan-02 16:20 
GeneralRe: Typedef problems Pin
Michael Dunn18-Jan-02 16:36
sitebuilderMichael Dunn18-Jan-02 16:36 
GeneralRe: Typedef problems Pin
Stephen Caldwell18-Jan-02 16:44
Stephen Caldwell18-Jan-02 16:44 
GeneralRe: Typedef problems Pin
Michael Dunn18-Jan-02 16:43
sitebuilderMichael Dunn18-Jan-02 16:43 
GeneralRe: Typedef problems Pin
Nish Nishant18-Jan-02 16:54
sitebuilderNish Nishant18-Jan-02 16:54 
QuestionHow do I write my own stream? Pin
Xavier John18-Jan-02 16:10
Xavier John18-Jan-02 16:10 
AnswerRe: How do I write my own stream? Pin
Christian Graus18-Jan-02 22:51
protectorChristian Graus18-Jan-02 22:51 
GeneralWould anyone give some ideas about DirectShow,thanks !! Pin
MrGao18-Jan-02 16:03
MrGao18-Jan-02 16:03 
GeneralEmbedding Word Automation in My App..But.. _Document.SaveAs... Pin
SoonWon18-Jan-02 15:15
SoonWon18-Jan-02 15:15 

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.