Click here to Skip to main content
15,885,032 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: HEAP CORRUPTION DETECTED! Pin
susanne125-May-09 0:13
susanne125-May-09 0:13 
GeneralRe: HEAP CORRUPTION DETECTED! Pin
Garth J Lancaster25-May-09 0:18
professionalGarth J Lancaster25-May-09 0:18 
GeneralRe: HEAP CORRUPTION DETECTED! Pin
CPallini25-May-09 0:25
mveCPallini25-May-09 0:25 
QuestionRe: HEAP CORRUPTION DETECTED! Pin
CPallini25-May-09 0:27
mveCPallini25-May-09 0:27 
AnswerRe: HEAP CORRUPTION DETECTED! Pin
susanne125-May-09 0:32
susanne125-May-09 0:32 
GeneralRe: HEAP CORRUPTION DETECTED! Pin
Stuart Dootson25-May-09 1:49
professionalStuart Dootson25-May-09 1:49 
JokeRe: HEAP CORRUPTION DETECTED! Pin
Rajesh R Subramanian25-May-09 1:57
professionalRajesh R Subramanian25-May-09 1:57 
QuestionNeed Help With Callback Functions [noob] Pin
LCARS x3224-May-09 22:22
LCARS x3224-May-09 22:22 
Hello everyone.

I'm very new to C++. I typically stay in .NET, but I can't do this in VB.

I'm writing an Explorer replacement shell and am working on capturing the system tray icon messages. I've been able to successfully create a window and can see the icon information via WM_COPYDATA messages in WndProc. I initially tried to forward those messages on to my VB.NET app using SendMessage. That didn't work so well. Everything I got was garbage.

That has me thinking of creating a C++ Win32 DLL to create window and watch the messages. Then, using a callback function, alert the host application (my VB app) of the new data.

One problem: I don't have the foggiest idea how to write callback functions! I'm new new new to C++. I'm having enough trouble wrapping my head around having more than one type of String!

Please if someone can help, I'd really appreciate it! I need to be able to send the host application a NOTIFYICONDATA struct.

Thanks,
Ray Phillips

LCARS x32 - A Star Trek Shell
QuestionProblem in CeCreateProcess ? Pin
Le@rner24-May-09 22:16
Le@rner24-May-09 22:16 
AnswerRe: Problem in CeCreateProcess ? Pin
Randor 25-May-09 8:22
professional Randor 25-May-09 8:22 
GeneralRe: Problem in CeCreateProcess ? Pin
Le@rner25-May-09 18:59
Le@rner25-May-09 18:59 
GeneralRe: Problem in CeCreateProcess ? Pin
Randor 25-May-09 19:30
professional Randor 25-May-09 19:30 
GeneralRe: Problem in CeCreateProcess ? Pin
Le@rner25-May-09 19:33
Le@rner25-May-09 19:33 
GeneralRe: Problem in CeCreateProcess ? Pin
Randor 25-May-09 20:30
professional Randor 25-May-09 20:30 
GeneralRe: Problem in CeCreateProcess ? Pin
Le@rner25-May-09 23:15
Le@rner25-May-09 23:15 
GeneralRe: Problem in CeCreateProcess ? Pin
Le@rner26-May-09 18:40
Le@rner26-May-09 18:40 
GeneralRe: Problem in CeCreateProcess ? Pin
Randor 26-May-09 21:58
professional Randor 26-May-09 21:58 
GeneralRe: Problem in CeCreateProcess ? Pin
Le@rner26-May-09 22:21
Le@rner26-May-09 22:21 
QuestionGetting motherboard serial number Pin
Green Fuze24-May-09 21:40
Green Fuze24-May-09 21:40 
AnswerRe: Getting motherboard serial number Pin
Randor 25-May-09 8:12
professional Randor 25-May-09 8:12 
QuestionHow to set tab index. Pin
birajendu24-May-09 21:39
birajendu24-May-09 21:39 
AnswerRe: How to set tab index. Pin
sashoalm24-May-09 22:01
sashoalm24-May-09 22:01 
GeneralRe: How to set tab index. Pin
birajendu25-May-09 2:16
birajendu25-May-09 2:16 
AnswerRe: How to set tab index. Pin
Hamid_RT24-May-09 22:52
Hamid_RT24-May-09 22:52 
GeneralRe: How to set tab index. Pin
birajendu25-May-09 0:12
birajendu25-May-09 0:12 

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.