Click here to Skip to main content
16,006,348 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: how to determine if assembly is installed Pin
indra2023-Jul-07 20:31
indra2023-Jul-07 20:31 
QuestionUsing Static Libraries in Managed C++ Pin
THULLA18-Jul-07 17:56
THULLA18-Jul-07 17:56 
AnswerRe: Using Static Libraries in Managed C++ Pin
led mike19-Jul-07 5:14
led mike19-Jul-07 5:14 
AnswerRe: Using Static Libraries in Managed C++ Pin
Gordon Brandly27-Jul-07 12:23
Gordon Brandly27-Jul-07 12:23 
QuestionPostMessage - WTF?! Pin
john john mackey18-Jul-07 9:26
john john mackey18-Jul-07 9:26 
AnswerRe: PostMessage - WTF?! Pin
Mark Salsbery18-Jul-07 9:34
Mark Salsbery18-Jul-07 9:34 
GeneralRe: PostMessage - WTF?! Pin
john john mackey18-Jul-07 10:53
john john mackey18-Jul-07 10:53 
AnswerRe: PostMessage - WTF?! Pin
john john mackey18-Jul-07 11:18
john john mackey18-Jul-07 11:18 
1st - sorry for replying to my own post...

2nd - Why do I have to do something like this?? Going into PostMessage() #2, my wParam and lParam values are the same as before.

if (m_pSelectionDlg->GetSafeHwnd()) {
	// #1
	m_pSelectionDlg->PostMessage(WM_ADDENTITY,wParam, lParam);

	//NEW!!
	static CWnd *pWnd;
	UINT myWParam;
	LONG myLParam;

	myWParam = wParam;
	myLParam = lParam;
	if ( (pWnd = FindWindow("MyAppClass",0)) != NULL)
		// #2
		pWnd->PostMessage(WM_ADDENTITY,myWParam,myLParam);
}

I added the "copy of" wParam and lParam as a test, and voila, the second call to PostMessage() worked and received the correct wParam/lParam values.

This seems too hokey...
WTF | :WTF:
GeneralRe: PostMessage - WTF?! Pin
Mark Salsbery18-Jul-07 14:39
Mark Salsbery18-Jul-07 14:39 
GeneralRe: PostMessage - WTF?! Pin
john john mackey21-Jul-07 16:35
john john mackey21-Jul-07 16:35 
GeneralRe: PostMessage - WTF?! Pin
Mark Salsbery21-Jul-07 19:23
Mark Salsbery21-Jul-07 19:23 
AnswerRe: PostMessage - WTF?! Pin
Luc Pattyn20-Jul-07 16:28
sitebuilderLuc Pattyn20-Jul-07 16:28 
GeneralRe: PostMessage - WTF?! Pin
john john mackey21-Jul-07 16:37
john john mackey21-Jul-07 16:37 
QuestionDynamically loading a mixed-mode dll from a network path Pin
mav.northwind18-Jul-07 3:45
mav.northwind18-Jul-07 3:45 
AnswerRe: Dynamically loading a mixed-mode dll from a network path Pin
led mike18-Jul-07 6:52
led mike18-Jul-07 6:52 
GeneralRe: Dynamically loading a mixed-mode dll from a network path Pin
mav.northwind18-Jul-07 7:47
mav.northwind18-Jul-07 7:47 
QuestionFunctions equivalent in C++ Pin
C#Coudou17-Jul-07 16:23
C#Coudou17-Jul-07 16:23 
AnswerRe: Functions equivalent in C++ Pin
Mark Salsbery17-Jul-07 17:38
Mark Salsbery17-Jul-07 17:38 
AnswerRe: Functions equivalent in C++ Pin
Mark Salsbery18-Jul-07 9:30
Mark Salsbery18-Jul-07 9:30 
AnswerRe: Functions equivalent in C++ Pin
Dave Doknjas18-Jul-07 14:06
Dave Doknjas18-Jul-07 14:06 
GeneralRe: Functions equivalent in C++ Pin
C#Coudou22-Jul-07 19:16
C#Coudou22-Jul-07 19:16 
QuestionPath/String modification Pin
BuckBrown17-Jul-07 13:20
BuckBrown17-Jul-07 13:20 
AnswerRe: Path/String modification Pin
Luc Pattyn17-Jul-07 13:40
sitebuilderLuc Pattyn17-Jul-07 13:40 
GeneralRe: Path/String modification Pin
BuckBrown18-Jul-07 9:07
BuckBrown18-Jul-07 9:07 
GeneralRe: Path/String modification Pin
Luc Pattyn18-Jul-07 9:13
sitebuilderLuc Pattyn18-Jul-07 9:13 

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.