Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Ayumi, 7th_zorro), 1,059 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
Re: access the web from within a game? #8235
12/05/02 06:27
12/05/02 06:27
Joined: Mar 2002
Posts: 1,123
California
Cellulaer Offline
Expert
Cellulaer  Offline
Expert

Joined: Mar 2002
Posts: 1,123
California
@Dr. Jellyfingers: Yes it should possible to draw Internet Explorer on a panel or entity in 3DGS. It might be kind of scary though if the 3DGS forum was running around shooting at you in a FPS.


Buy, Sell, & Archive Realtime 3D Content @ RedRock7.com *BETA* A5.5+ Plugin DLLs: GSADO, GSHTTP, GSImgLst, FreeMod, GSFlash, GSPython http://cellulear.slashbang.com/
Re: access the web from within a game? #8236
12/05/02 06:43
12/05/02 06:43

A
Anonymous
Unregistered
Anonymous
Unregistered
A



quote:
Yes it should possible to draw Internet Explorer on a panel or entity in 3DGS.
Kannst Du mir das näher erklären, das tönt jetzt aber ganz interessant!

Re: access the web from within a game? #8237
12/05/02 08:43
12/05/02 08:43
Joined: Mar 2002
Posts: 1,123
California
Cellulaer Offline
Expert
Cellulaer  Offline
Expert

Joined: Mar 2002
Posts: 1,123
California
@DocJoe: Well in Delphi you would just drop the TWebBrowser ActiveX control on your form. Then you create the form via a 3DGS plugin DLL and paint the form to your DirectX texture (panel or entity). I'm not sure if the user would be able to send clicks to the current web page (I would have to test it) but keyboard navigation is definately possible.

You can see an example of this here. This is someone elses site and uses GLScene (OpenGL) but the same thing is possible with 3DGS.


Buy, Sell, & Archive Realtime 3D Content @ RedRock7.com *BETA* A5.5+ Plugin DLLs: GSADO, GSHTTP, GSImgLst, FreeMod, GSFlash, GSPython http://cellulear.slashbang.com/
Re: access the web from within a game? #8238
12/05/02 15:34
12/05/02 15:34

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Thanks Noah, very interesting!

Re: access the web from within a game? #8239
12/11/02 08:11
12/11/02 08:11

A
Anonymous
Unregistered
Anonymous
Unregistered
A



but is there a DLL out there that will simply let me launch internet explorer at a specific webpage. I don't need to run the web "in game." I just want an easy way for people to click and get to the registration site.

Pete

Re: access the web from within a game? #8240
12/11/02 09:37
12/11/02 09:37
Joined: Oct 2002
Posts: 471
USA - Tennessee
JayG Offline
Senior Member
JayG  Offline
Senior Member

Joined: Oct 2002
Posts: 471
USA - Tennessee
Just launching a web page in its own window is easy.

If C-Script has an execute function that can execute win32 commands, I can't look it up as I am away from my dev machine, then you could have it execute the following line and the browser should launch.

ShellExecute(NULL, _T("open"), "http://www.abc.com", NULL, NULL, SW_SHOW);

If it can not do that then let me know and I can put a dll together to do this for you.

Re: access the web from within a game? #8241
12/11/02 15:35
12/11/02 15:35

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Maybe first look for the default browser. For instance by Noah's registry DLL.

Re: access the web from within a game? #8242
12/11/02 15:41
12/11/02 15:41

A
Anonymous
Unregistered
Anonymous
Unregistered
A



ah- there is an a command, "exec" that will let me launch the outside command. That sounds like a good idea checking the registry for default browser, so I will have to look into how that is done. Has anyone done it before?

Thanks for the help, guys.
Pete

Re: access the web from within a game? #8243
12/11/02 22:59
12/11/02 22:59

A
Anonymous
Unregistered
Anonymous
Unregistered
A



I made my own DLL and I searched the default browser in HKEY_CLASSES_ROOT - htmlfile\\DefaultIcon. Then use exec(path_of_default_browser_exe, "www.my_homepage.com") or execute (with the whole exe file path and homepage adress in one string).

On my PC it runs without problems, but I think it's not the absolute correct path you have to search! So if there's anybody who can give the correct way, will get a big kiss (not from me, but from anybody of your wish, hehehehe)!

Re: access the web from within a game? #8244
12/11/02 23:02
12/11/02 23:02

A
Anonymous
Unregistered
Anonymous
Unregistered
A



PS: For the kiss I have to look what I can do... (depending on your wish!!!).

Page 2 of 3 1 2 3

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1