![]() |
Msn 2009 & Personal message change
I converted this code from C# and i guess it doesn't work so people please test it i need it for my media player.
It doesn't work in WLM 2009??!!
Delphi-Quellcode:
type TCopyDataStruct = packed record
dwData: DWORD; //up to 32 bits of data to be passed to the receiving application cbData: DWORD; //the size, in bytes, of the data pointed to by the lpData member lpData: Pointer; //Points to data to be passed to the receiving application. This member can be nil. end; procedure tform3.SendData(); const WM_COPYDATA = 74; var stringToSend : WideString; copyDataStruct : TCopyDataStruct; receiverHandle : THandle; res : integer; begin stringToSend := 'fg'; copyDataStruct.dwData := 1351; //use it to identify the message contents copyDataStruct.cbData := (1 + Length(stringToSend))*2; copyDataStruct.lpData := PChar(stringToSend); receiverHandle := FindWindowex(0,0,pchar('MsnMsgrUIManager'),nil); if receiverHandle = 0 then begin ShowMessage('CopyData Receiver NOT found!'); Exit end else SendMessage(receiverHandle,WM_COPYDATA, 0, Integer(@copyDataStruct)); |
Re: Msn 2009 & Personal message change
Ah this is making me sick and i am afraid with this its killing the forum what i mean is that its been 22 Views and no reply
Everytime i make a topic...Is really english the problem? |
Re: Msn 2009 & Personal message change
No English isn't the problem. I've got the same problem :stupid:
Maybe that helps you: ![]() |
Re: Msn 2009 & Personal message change
Hi Razor,
no, it's not the english language that is the problem. It is the way you are asking and youre expectations. 1.) You are not allowed to push a thread until 24 hours are over. The original post was from yesterday, 20 minutes after 7 pm. So before 20 minutes after 7 pm today it's not allowed to push. 2.) Zitat:
You guess it doesn't work? How about proofing it? And It doesn't work is not a good description of the problem. What is it, that's not working? Can't you connect to MSN? Are you getting exceptions? Do you receive none / invalid / correct return values? We need more information to help you. With the information value of your post (which is near to zero!) nobody can help you. And then you seriously wonder, why nobody is answering? |
Re: Msn 2009 & Personal message change
Its supposed to send a message to msnmsgr.exe you find the window thus get its handle and then send it.Thats it WM_COPYDATA ever of heard of it?
Also i am used to this kind of replys.No one made a Core 2 quad core temperature reader until i did.So this how stuff goes around here. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 09:23 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz