Click here to Skip to main content
15,914,350 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionblond question - fatal error C1010: unexpected end of file while looking for precompiled header directive Pin
Abu Mami27-Mar-06 19:33
Abu Mami27-Mar-06 19:33 
AnswerRe: blond question - fatal error C1010: unexpected end of file while looking for precompiled header directive Pin
Nibu babu thomas27-Mar-06 19:40
Nibu babu thomas27-Mar-06 19:40 
GeneralRe: blond question - fatal error C1010: unexpected end of file while looking for precompiled header directive Pin
Abu Mami27-Mar-06 19:45
Abu Mami27-Mar-06 19:45 
GeneralRe: blond question - fatal error C1010: unexpected end of file while looking for precompiled header directive Pin
Nibu babu thomas27-Mar-06 20:00
Nibu babu thomas27-Mar-06 20:00 
GeneralRe: blond question - fatal error C1010: unexpected end of file while looking for precompiled header directive Pin
Abu Mami27-Mar-06 21:15
Abu Mami27-Mar-06 21:15 
AnswerRe: blond question - fatal error C1010: unexpected end of file while looking for precompiled header directive Pin
Vinaya27-Mar-06 20:39
Vinaya27-Mar-06 20:39 
GeneralRe: blond question - fatal error C1010: unexpected end of file while looking for precompiled header directive Pin
Abu Mami27-Mar-06 21:16
Abu Mami27-Mar-06 21:16 
QuestionHow to register DLL(ATL) under VS2005? Pin
Syouki_kou27-Mar-06 18:57
Syouki_kou27-Mar-06 18:57 
Confused | :confused: Under VS2005, create a ATL project and add a simple ATL object into it.
Compile it using the x64 Configuration, all are ok! But if i add IContextMenu interface to it: first add--
public IShellExtInit,
public IContextMenu
and then add--
COM_INTERFACE_ENTRY(IShellExtInit)
COM_INTERFACE_ENTRY_IID(IID_IContextMenu, IContextMenu)
then the functions
STDMETHOD(Initialize)(LPCITEMIDLIST, LPDATAOBJECT, HKEY);
STDMETHOD(GetCommandString)(UINT_PTR, UINT, UINT*, LPSTR, UINT);
STDMETHOD(InvokeCommand)(LPCMINVOKECOMMANDINFO);
STDMETHOD(QueryContextMenu)(HMENU, UINT, UINT, UINT, UINT); and in cpp file write their definitions.
All can be compiled, but the Explorer didn't load the DLL at all. And i tried using regsvr32.exe to register it, it is successful. But explorer is still didn't load the DLL, why??
I wrote nothing but "::MessageBox(NULL,NULL,NULL,MB_OK); return E_INVALIDARG:" in all function, but whenever i right click the mouse, no message box showed.


Enemy down! Go go go!
AnswerRe: How to register DLL(ATL) under VS2005? Pin
Syouki_kou27-Mar-06 20:43
Syouki_kou27-Mar-06 20:43 
GeneralRe: How to register DLL(ATL) under VS2005? Pin
Syouki_kou21-Jun-06 16:16
Syouki_kou21-Jun-06 16:16 
QuestionAccessing Activex control methods from static functions?? Pin
vanip27-Mar-06 18:45
vanip27-Mar-06 18:45 
AnswerRe: Accessing Activex control methods from static functions?? Pin
Nibu babu thomas27-Mar-06 19:05
Nibu babu thomas27-Mar-06 19:05 
GeneralRe: Accessing Activex control methods from static functions?? Pin
vanip27-Mar-06 20:36
vanip27-Mar-06 20:36 
AnswerRe: Accessing Activex control methods from static functions?? Pin
Vinaya27-Mar-06 19:05
Vinaya27-Mar-06 19:05 
AnswerRe: Accessing Activex control methods from static functions?? Pin
Roger Stoltz27-Mar-06 21:11
Roger Stoltz27-Mar-06 21:11 
GeneralRe: Accessing Activex control methods from static functions?? Pin
vanip27-Mar-06 20:34
vanip27-Mar-06 20:34 
GeneralRe: Accessing Activex control methods from static functions?? Pin
vanip27-Mar-06 22:10
vanip27-Mar-06 22:10 
GeneralRe: Accessing Activex control methods from static functions?? Pin
Vinaya27-Mar-06 20:56
Vinaya27-Mar-06 20:56 
AnswerRe: Accessing Activex control methods from static functions?? Pin
Roger Stoltz27-Mar-06 22:41
Roger Stoltz27-Mar-06 22:41 
GeneralRe: Accessing Activex control methods from static functions?? Pin
vanip27-Mar-06 22:06
vanip27-Mar-06 22:06 
GeneralRe: Accessing Activex control methods from static functions?? Pin
Vinaya27-Mar-06 23:02
Vinaya27-Mar-06 23:02 
Question__declspec(allocate)'d sections in library being stripped (I wish to keep them) Pin
Michael Abbott27-Mar-06 18:33
Michael Abbott27-Mar-06 18:33 
QuestionListCtrl Tabs Pin
vinod.sankuthodi27-Mar-06 18:28
vinod.sankuthodi27-Mar-06 18:28 
AnswerRe: ListCtrl Tabs Pin
Nibu babu thomas27-Mar-06 19:24
Nibu babu thomas27-Mar-06 19:24 
AnswerRe: ListCtrl Tabs Pin
Hamid_RT27-Mar-06 19:29
Hamid_RT27-Mar-06 19:29 

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.