Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Request/Help]BroadcastSystemMessage

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
WolfDm3
Grandmaster Cheater
Reputation: 0

Joined: 11 Jun 2007
Posts: 502
Location: Mississippi

PostPosted: Thu Aug 14, 2008 1:16 pm    Post subject: [Request/Help]BroadcastSystemMessage Reply with quote

Alright, I'm pretty pathetic at programming really complicated things, but I was wondering if this code would make a message box pop up on say, a game window. I also am hoping for a small example on how to use this code, you can include errors if you feel I should figure it out myself or something.

Code:

long BroadcastSystemMessage(         
    DWORD dwFlags,
    LPDWORD lpdwRecipients,
    UINT uiMessage,
    WPARAM wParam,
    LPARAM lParam
);


This is found at http://msdn.microsoft.com/en-us/library/ms644932 if you need a reference.
Back to top
View user's profile Send private message AIM Address
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Thu Aug 14, 2008 1:28 pm    Post subject: Reply with quote

No. Try injecting a dll. I think this function is close to PostMessageA.

You cannot make a window popup with PostMessageA. SO I dont thionk you can do it with this.
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Thu Aug 14, 2008 2:21 pm    Post subject: Reply with quote

You want a message box to pop up ? How about MessageBox() ?

http://msdn.microsoft.com/en-us/library/ms645505(VS.85).aspx
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Thu Aug 14, 2008 2:37 pm    Post subject: Reply with quote

Slugsnack wrote:
You want a message box to pop up ? How about MessageBox() ?

http://msdn.microsoft.com/en-us/library/ms645505(VS.85).aspx


lol. that works XDXDXDXD
Back to top
View user's profile Send private message
WolfDm3
Grandmaster Cheater
Reputation: 0

Joined: 11 Jun 2007
Posts: 502
Location: Mississippi

PostPosted: Thu Aug 14, 2008 2:40 pm    Post subject: Reply with quote

Hehe, I knew about Message Boxes and such, it's just when I read it on MSDN it made me think you could make a message box pop up in a specified window.

Well, thanks Wink
Back to top
View user's profile Send private message AIM Address
GMZorita
Grandmaster Cheater Supreme
Reputation: 0

Joined: 21 Mar 2007
Posts: 1361

PostPosted: Thu Aug 14, 2008 2:46 pm    Post subject: Reply with quote

dnsi0 wrote:
No. Try injecting a dll. I think this function is close to PostMessageA.

You cannot make a window popup with PostMessageA. SO I dont thionk you can do it with this.

That was sad...

_________________
Gone
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Thu Aug 14, 2008 3:25 pm    Post subject: Reply with quote

What was sad? O.o
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Thu Aug 14, 2008 6:11 pm    Post subject: Reply with quote

If you inject it, your message box will indeed pop up as if the game itself did it... weather or not it actually comes up over the game itself is questionable.

A better way out be hooking the console or something similar.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites