Jump to content


Photo

Embed Dll


  • Please log in to reply
70 replies to this topic

#1 tangibleLime

tangibleLime

    Lunatic

  • Global Moderators
  • 2520 posts
  • Version:GM:HTML5

Posted 02 December 2005 - 01:30 AM

Embed DLL

Information
With this DLL, you can embed one into into another. You can also un-embed it. It also comes with a few hwnd functions to help you get the hwnd of the windows to embed and unembed.

Functions
Embed
Unembed
HWND from Class
HWND from Title
HWND from Point (x and y)
Desktop HWND (for un-embedding)

Special Notes
None

Download
Click Here to Download
  • 0

#2 pythonpoole

pythonpoole

    Scorpion Software

  • New Member
  • 1894 posts

Posted 02 December 2005 - 03:05 AM

Excellent :D

I've seen a similar Embed DLL but this one has a lot more features :wacko:

Good Work! :blink:
  • 0

#3 hughman

hughman

    GMC Member

  • New Member
  • 566 posts

Posted 02 December 2005 - 03:07 AM

hmm... interesting
great idea for a dll...

edit: very nice!
don't have much use for it but will save it in case I ever do
I guess it's a nice idea but don't really know why to embed it
why would this be used?

Edited by hughman, 02 December 2005 - 03:37 AM.

  • 0

#4 Mousier Goatee

Mousier Goatee

    Mobile Cheese Factory

  • New Member
  • 48 posts

Posted 02 December 2005 - 04:53 AM

Once again, great work.
This is one of those DLL's that won't be on the most popular usage list
but it's just nice to have them out there in case you need them.

-Mousier Goatee :blink:
  • 0

#5 pythonpoole

pythonpoole

    Scorpion Software

  • New Member
  • 1894 posts

Posted 02 December 2005 - 08:34 AM

won't be on the most popular usage list

don't really know why to embed it why would this be used?

I think you two need to think about the usefullness more.

This can be used to create fake child windows. Take just about any program, for example, Game Maker Each script window, and resource properties window is a child of the main Game Maker Window.

Using this DLL you can open up a different GM made EXE within another one and have them communicate with eachother using textfiles or mplay functions.

Just about every program has child windows embedded into the program. From MS Word, to Firefox, to a billion more.


This is an essential DLL for software programming and also probably useful for SubOS development.

Ben
  • 0

#6 tangibleLime

tangibleLime

    Lunatic

  • Global Moderators
  • 2520 posts
  • Version:GM:HTML5

Posted 02 December 2005 - 07:36 PM

Thanks for the comments, and thanks (pythonpoole) for the useage explination.
  • 0

#7 JJProductions

JJProductions

    Agamma Corpus

  • New Member
  • 2211 posts

Posted 02 December 2005 - 10:42 PM

Theres a differnt DLL which also has these functions and more...

Link removed - this is not your topic.

But good job anyways :GM122:

Edited by Smarty, 23 June 2006 - 07:50 AM.

  • 0

#8 tangibleLime

tangibleLime

    Lunatic

  • Global Moderators
  • 2520 posts
  • Version:GM:HTML5

Posted 04 December 2005 - 03:04 AM

Thanks
  • 0

#9 InfernalStrife

InfernalStrife

    www.devportal.tk

  • New Member
  • 77 posts

Posted 24 December 2005 - 05:43 PM

I attempted to use this a long time ago in my development of a Windows shell in GM. The project has been a success (http://devportal.fir...net/nushell.rar) however I was unable to use this in the final cut for the releases. The problem I had was I want to embed every window that is run from within the shell into the shell. I.E., I'd need to be able to get a window's HWND from the filename or the file handle in GM. Has this been udpated to a point where this is possible?

(Wonderful work though, you are by far my favorite DLL maker ^-^. Your DLLs provide the abstract functionality that I need to program applications and such in GM [Most people just do games, I do both ^-^])
  • 0

#10 Shinnoki

Shinnoki

    GMC Member

  • New Member
  • 582 posts

Posted 25 December 2005 - 12:54 AM

how exactly does the example work? all it did was that it opened notepad using execute_shell and then nothing. They were two separate windows so how do i embed one to the other?
  • 0

#11 GearGOD

GearGOD

    Deus Verus

  • GMC Member
  • 2153 posts

Posted 25 December 2005 - 12:59 AM

Nice work. One of the most useful things I've seen for a while now. And like all useful things, most people think it's useless.
  • 0

#12 SleeK GeeK

SleeK GeeK

    The Biggest And The Best

  • New Member
  • 769 posts

Posted 25 December 2005 - 08:25 AM

Nice work. One of the most useful things I've seen for a while now. And like all useful things, most people think it's useless.

<{POST_SNAPBACK}>

Its not useless, and at the same time its not very useful, is it? The only use i can see is while creating a SubOS and other such things. Game Maker, was designed to make games and most game creators dont need embeding windows and other such things. Same applies to many of the dlls even i created.

Back on the topic, the dll is pretty cool.

Regards,
SleeK GeeK.
  • 0

#13 GearGOD

GearGOD

    Deus Verus

  • GMC Member
  • 2153 posts

Posted 25 December 2005 - 10:50 AM

The only use i can see is while creating a SubOS and other such things.

The use I saw straight away was to create a level/asset editor and not have to bother writing a huge gui for it. Here's what I did:
Posted Image
  • 0

#14 ..::Origin::..

..::Origin::..

    GMC Member

  • New Member
  • 435 posts

Posted 25 December 2005 - 11:19 AM

The only use i can see is while creating a SubOS and other such things.

The use I saw straight away was to create a level/asset editor and not have to bother writing a huge gui for it. Here's what I did:
Posted Image

<{POST_SNAPBACK}>


off-topic-Does that compile it into .exe??
  • 0

#15 Shinnoki

Shinnoki

    GMC Member

  • New Member
  • 582 posts

Posted 25 December 2005 - 03:40 PM

seriously, am i missing something, this is all that happens when i run the example ( i have 6.1 REG )

Posted Image
  • 0

#16 tangibleLime

tangibleLime

    Lunatic

  • Global Moderators
  • 2520 posts
  • Version:GM:HTML5

Posted 25 December 2005 - 03:42 PM

Sir sir, you're computer is loading Notepad too slowly! The diagnosis: extend the waiting time for the program to embed!
  • 0

#17 Shinnoki

Shinnoki

    GMC Member

  • New Member
  • 582 posts

Posted 25 December 2005 - 04:16 PM

extended the sleeping time to 6000, didn't help. Notepad was opened long time before the GM window. Still no embedding, they opened as separate windows.

Edited by Shinnoki, 25 December 2005 - 04:17 PM.

  • 0

#18 tangibleLime

tangibleLime

    Lunatic

  • Global Moderators
  • 2520 posts
  • Version:GM:HTML5

Posted 25 December 2005 - 04:31 PM

Aye, you are not english. Change the string in the example to the caption of your version of notepad!
  • 0

#19 Shinnoki

Shinnoki

    GMC Member

  • New Member
  • 582 posts

Posted 25 December 2005 - 04:36 PM

Ohhh, so that was the problem. Hm, seems to be working now.
U should add a note about it to ur first post.
Thnx.

Edited by Shinnoki, 25 December 2005 - 04:36 PM.

  • 0

#20 Jay Da Master

Jay Da Master

    Block: Coming Soon...

  • New Member
  • 242 posts

Posted 21 June 2006 - 08:12 AM

Excuse me for being overly ignorant, but what is the 'Class' of a window? A n00bish question, I know. I just need to get the handle of a window that the user has opened.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users