Click here to Skip to main content
16,005,094 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Error C2248: cannot access protected struct declared in class Pin
Zac Howland9-Oct-06 4:42
Zac Howland9-Oct-06 4:42 
AnswerRe: Error C2248: cannot access protected struct declared in class Pin
Galatei9-Oct-06 3:55
Galatei9-Oct-06 3:55 
GeneralRe: Error C2248: cannot access protected struct declared in class Pin
Checker20039-Oct-06 4:24
Checker20039-Oct-06 4:24 
GeneralRe: Error C2248: cannot access protected struct declared in class Pin
Galatei9-Oct-06 4:32
Galatei9-Oct-06 4:32 
QuestionWhy is there an error when program CBT hook processes with DAO Pin
redkey_pavel9-Oct-06 3:31
redkey_pavel9-Oct-06 3:31 
AnswerRe: Why is there an error when program CBT hook processes with DAO Pin
Galatei9-Oct-06 4:01
Galatei9-Oct-06 4:01 
GeneralRe: Why is there an error when program CBT hook processes with DAO Pin
redkey_pavel9-Oct-06 17:37
redkey_pavel9-Oct-06 17:37 
GeneralRe2: Why is there an error when program CBT hook processes with DAO Pin
redkey_pavel9-Oct-06 17:39
redkey_pavel9-Oct-06 17:39 
There is no error when code is simply

LRESULT CALLBACK CBTProc(

int code, // hook code
WPARAM wParam, // removal flag
LPARAM lParam // address of structure with message
)
{
if (code < 0) return CallNextHookEx(CBTSysHook, code, wParam, lParam);

if(code == HCBT_ACTIVATE)
{
HWND hWnd = (HWND) wParam;
TCHAR cWind[512], cClass[512];
GetWindowText( hWnd, cWind, 512);
GetClassName( hWnd, cClass, 512);
}
return 0;
}
An error occurs when I add DAO support, exactly when program is run
and I open Light Alloy, press 'play' and further press X - to close,
it happens error sound, my program goes on to work
, and nothing else is different with normal closing
GeneralRe3: Why is there an error when program CBT hook processes with DAO Pin
redkey_pavel9-Oct-06 17:41
redkey_pavel9-Oct-06 17:41 
GeneralRe5: Why is there an error when program CBT hook processes with DAO Pin
redkey_pavel9-Oct-06 17:42
redkey_pavel9-Oct-06 17:42 
GeneralRe: Re5: Why is there an error when program CBT hook processes with DAO Pin
Hamid_RT9-Oct-06 18:41
Hamid_RT9-Oct-06 18:41 
GeneralRe: Further question Pin
redkey_pavel9-Oct-06 23:43
redkey_pavel9-Oct-06 23:43 
GeneralRe: Why is there an error when program CBT hook processes with DAO Pin
redkey_pavel9-Oct-06 17:55
redkey_pavel9-Oct-06 17:55 
QuestionWindow Borders Pin
Waldermort9-Oct-06 3:06
Waldermort9-Oct-06 3:06 
AnswerRe: Window Borders Pin
Galatei9-Oct-06 4:11
Galatei9-Oct-06 4:11 
QuestionHow to transparence the client area in SDI/MDI? Pin
fp20019-Oct-06 3:05
fp20019-Oct-06 3:05 
AnswerRe: How to transparence the client area in SDI/MDI? Pin
fp20019-Oct-06 4:31
fp20019-Oct-06 4:31 
AnswerRe: How to transparence the client area in SDI/MDI? Pin
Mark Salsbery9-Oct-06 7:33
Mark Salsbery9-Oct-06 7:33 
Questioncoloring splitter bar,box etc Pin
radhika289-Oct-06 2:12
radhika289-Oct-06 2:12 
QuestionMultithreading and multiple cores Pin
User 5826199-Oct-06 2:09
User 5826199-Oct-06 2:09 
AnswerRe: Multithreading and multiple cores Pin
Galatei9-Oct-06 2:25
Galatei9-Oct-06 2:25 
GeneralRe: Multithreading and multiple cores Pin
User 5826199-Oct-06 2:49
User 5826199-Oct-06 2:49 
QuestionModal DialogBox Pin
baerten9-Oct-06 2:03
baerten9-Oct-06 2:03 
AnswerRe: Modal DialogBox Pin
_AnsHUMAN_ 9-Oct-06 2:09
_AnsHUMAN_ 9-Oct-06 2:09 
GeneralRe: Modal DialogBox Pin
baerten9-Oct-06 2:27
baerten9-Oct-06 2:27 

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.