Jump to content


Photo

Embed Dll


  • Please log in to reply
70 replies to this topic

#41 Sindarin

Sindarin

    Indie Game Developer

  • New Member
  • 1644 posts
  • Version:GM:HTML5

Posted 14 August 2006 - 07:42 AM

I did not understand what you meant by "because it does not call the embed.dll." AFAIK, the embedding is done by using the SetParent and MoveWindow API, and can be called by any application. GM can set itself to be embedded into something, or embed two third-party application. I embedded two notepads into each other. But the problem is, they dont get drawn until the paint event is called (in cases of many application), so you may have to send that message to them constantly.


For example, in a gm-game I use a external_call to call the functions of embed dll.
But in another game that doesn't call the functions and runs fullscreen it would be hard or impossible to embed.
  • 0

#42 MJGamesInc

MJGamesInc

    GMC Member

  • New Member
  • 365 posts

Posted 17 August 2006 - 06:51 AM

what else can u open besides notepad... Game_Maker.exe any others.. I would like more than notepad .... HELP??
  • 0

#43 RiChArD_fLoOd

RiChArD_fLoOd

    GMC Member

  • New Member
  • 395 posts

Posted 19 August 2006 - 05:40 PM

why dont you try it out and see for yourself if it can be embedded its pretty easy to use
  • 0

#44 ditdingiscool

ditdingiscool

    GMC Member

  • New Member
  • 335 posts

Posted 30 October 2007 - 06:02 PM

doesn't work for me :lol:
all it does is make notepad disapear :D

or am i just being stupid?
  • 0

#45 ditdingiscool

ditdingiscool

    GMC Member

  • New Member
  • 335 posts

Posted 09 December 2007 - 08:20 PM

no, this dll is only for embeding things into gm, not the other way around...


BZ

<{POST_SNAPBACK}>


Yes it can be done! i wa smessing with the example and ended up with the gamemaker Inside notpad :)
  • 0

#46 Games

Games

    GMC Member

  • Banned Users
  • 2968 posts

Posted 01 January 2008 - 04:54 AM

i just can't get it to work, it'd be so helpful too!

nvm. figured it out.

however, how can i control the child window? how can i tell it to save, maximize, close?

i mean, i guess i could make another .exe, but i mean more along the lines of..

run notepad. let the user type whatever they want. save it. close notepad.

you now basically have a text box in gm, with all the features... but how would i go about doing that?

Edited by Dan., 01 January 2008 - 05:04 AM.


#47 kubaszewczyk11

kubaszewczyk11

    GMC Member

  • New Member
  • 100 posts

Posted 23 February 2008 - 08:50 AM

Use files or 39dll or mplay
  • 0

#48 jcoc611

jcoc611

    GMC Member

  • New Member
  • 186 posts

Posted 12 June 2008 - 10:23 PM

Some one know how to block windows with embed DLL, such as Task Manager etc...?

If someone knows please post it. :whistle:
  • 0

#49 jcoc611

jcoc611

    GMC Member

  • New Member
  • 186 posts

Posted 12 June 2008 - 10:28 PM

How can I block windows, such as TaskManager?

Please answer back. :whistle:
  • 0

#50 TheMagicNumber

TheMagicNumber

    GMC Member

  • GMC Member
  • 5247 posts
  • Version:Unknown

Posted 12 June 2008 - 10:38 PM

Don't double post, that is against the rules. Also, blocking Task Manager is against the rules, do not do it.

Also, an embed DLL does not have anything to do with blocking that.

Edited by GMREC1111, 12 June 2008 - 10:52 PM.

  • 0

#51 paulman8888

paulman8888

    GMC Member

  • New Member
  • 140 posts

Posted 17 June 2008 - 03:14 PM

Thankyou. This will go well for my game. I really like your dlls, there simple to use and very efective. Well done. Keep up the good work.
  • 0

#52 ash47

ash47

    O_o

  • GMC Member
  • 1326 posts

Posted 03 July 2008 - 12:17 PM

that is so cool!
  • 0

#53 makerofthegames

makerofthegames

    Never you mind!

  • GMC Member
  • 7326 posts
  • Version:GM:Studio

Posted 03 July 2008 - 08:36 PM

Your description lacks you telling us what it does.


EDIT: WHOA! This is awesome!

Edited by makerofthegames, 03 July 2008 - 08:39 PM.

  • 0

#54 gamefreak315

gamefreak315

    GMC Member

  • New Member
  • 295 posts

Posted 10 July 2008 - 08:48 PM

Wow ist been a VERY long time since i've been on the gmc... the post reply is different. Anyways Wow this is really cool. The first thing I did with it is combine it with another dll and make it so that when I click on a window it gets embedded into the gamemaker window. I kept clicking things sucking it in and I clicked on the desktop and it also got sucked in :D Wow this is huge potential be careful with this. I had to go through a couple of things to get my desktop back and I lost the file for the gmk. LOL. I love it thanks!
Roach you should teach me a little of dll making if you can in Visual Basic, you do so much. lol just a thought.

Edited by gamefreak315, 10 July 2008 - 08:51 PM.

  • 0

#55 pure_evil020

pure_evil020

    GMC Member

  • New Member
  • 1479 posts

Posted 31 July 2008 - 06:15 AM

problem is... It embeds my cmd window halfway off the screen, then I hafto dragg it back into view. is it possable to make it embed to the top left corner of the game screen so you dont hafto drag it back into view?
  • 0

#56 Maarten Baert

Maarten Baert

    GMC Member

  • GMC Member
  • 715 posts
  • Version:GM8.1

Posted 21 August 2008 - 12:30 PM

I have tested it, and apparently it is possible to embed anything into anything! I have now embedded cmd.exe into mspaint.exe into notepad.exe into my game ;) . The problem is is creates lots of graphical problems with the other programs, because they don't redraw automatically.
  • 0

#57 StupidStudios

StupidStudios

    Evil Spambot

  • New Member
  • 269 posts

Posted 25 August 2008 - 01:23 PM

Can you actualy "suck" every window into your game? Would be creepy, a game that can suck up other windows (like the GM window) and then close... brrrhh.
  • 0

#58 TheMagicNumber

TheMagicNumber

    GMC Member

  • GMC Member
  • 5247 posts
  • Version:Unknown

Posted 25 August 2008 - 05:05 PM

The actual embedding is done with a single API call, or can be done with just one...you can't control the windows position or anything. You can embed all windows into the game, it would be incredibly stupid as things like the start button are windows.
  • 0

#59 Recreate

Recreate

    Furry

  • GMC Member
  • 2928 posts
  • Version:GM8

Posted 02 October 2008 - 06:49 PM

Awsome!
Someone could make their own "Sub os"With this!

doesn't work for me :whistle:
all it does is make notepad disapear ;)

or am i just being stupid?

The second option is your answer

Edited by Recreate, 03 October 2008 - 11:10 PM.

  • 0

#60 MrJackSparrow2

MrJackSparrow2

    GMC Member

  • GMC Member
  • 493 posts

Posted 26 January 2009 - 11:41 PM

Broken link. >_> Anybody have it working?
\
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users