Irrlicht + ActiveX (Internet Explorer) = ? (project linked)

Post those lines of code you feel like sharing or find what you require for your project here; or simply use them as tutorials.
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post by BlindSide »

bob wrote:You only pay the penalty the first time you load the Active-X, I'm not sure that's any different than downloading an install package.
Oh ok thats fine then, I was thinking this may become troublesome if you had 5 or 6 games on the website and it would be more convenient if they all shared the same DLL file through the use of an install package, Im thinking something similar to "WildTangent" if you have heard of them, offcourse without all the spyware :P

PS: A quick search brought this up http://www.iol.ie/~locka/mozilla/plugin.htm

I think this would be interesting, also it mentions the preferred use of "XPConnect", although this would require a little more work/knowledge.
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
bob
Posts: 57
Joined: Fri Jun 08, 2007 4:17 am
Location: Jacksonville, Fl (USA)
Contact:

Post by bob »

I was thinking this may become troublesome if you had 5 or 6 games on the website and it would be more convenient if they all shared the same DLL file through the use of an install package
Yep, you're right, that would save on bandwidth. It would require an extra step, but would probably be worth it if you had that many games.
PS: A quick search brought this up http://www.iol.ie/~locka/mozilla/plugin.htm
I tried that a long time ago and it did work, but enables Active-X in general in Firefox. The anti-MS crowd won't like it, though I'm not sure how or why Mozilla plug-ins are any more secure.

I believe this is the preferred method for Mozilla...

http://developer.mozilla.org/en/docs/Gecko_SDK
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post by BlindSide »

Oh yeah I forgot to ask. Is this possible at all using MSVC 2005 Express Edition? Or do you have to have VC6.0? (Kuz 6.0 is kinda outdated and doesnt have proper scope for for loops...)

EDIT: Nevermind Ill just have a look on MSDN.

By the way, this is kind of related and might be a nice alternative:
http://irrlicht.sourceforge.net/phpBB2/ ... 0349#60349

EDIT2: I cant seem to find a way :cry:

Btw any idea how to get resources to clients?
Last edited by BlindSide on Tue Aug 07, 2007 2:26 pm, edited 1 time in total.
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Bob Finnie
Posts: 49
Joined: Tue Jan 23, 2007 12:36 pm
Location: Bedford, UK

Post by Bob Finnie »

Hi - I like the ActiveX plugin, good work :D

one problem - I have never done any ActiveX programming with MSVC6, I compiled everything above and thats OK but how do I catch the keyboard events??

for some reason, no keyboard events are getting through to my EventReciever :?:

Thanks Everyone
bob
Posts: 57
Joined: Fri Jun 08, 2007 4:17 am
Location: Jacksonville, Fl (USA)
Contact:

Post by bob »

Well, my 2 cents, if it's worth that,

@BlindSide

I don't have Express, so I can't really help you there. You can create ActiveX controls with MFC, ATL, or technically, it is possible to implement the needed COM components from scratch, though it would be long and painful.

I just zip my resources, and have the control download them separately. I'm sign them for a little extra security. This doesn't work for dependent DLL's though (such as Irrlicht.dll) :(

@Bob Finnie

I don't use the Irrlicht event thing-a-ma-jig, but I believe you'll have to intercept the Windows messages (WM_CHAR, WM_MOUSEMOVE, etc...) yourself and somehow stuff them into the Irrlicht event chain. Surly there's something on the forum somewhere on this.
Bob Finnie
Posts: 49
Joined: Tue Jan 23, 2007 12:36 pm
Location: Bedford, UK

Post by Bob Finnie »

Thanks bob, i'll have a search
Pablo
Posts: 1
Joined: Fri Nov 02, 2007 11:16 am

Post by Pablo »

bob wrote:I've been using Irrlicht in an Active-X and haven't had any trouble. I've tried Home/Pro/2000/Server. And several different service pack combinations.
Hi!

I would like to try Irrlicht inside a game development tool that allows ActiveX controls. Please, could you (or somebody) make public your ActiveX control so I could test it? I even would consider to make a little Paypal donation if somebody is willing to do this.

Thank you everybody!
dlangdev
Posts: 1324
Joined: Tue Aug 07, 2007 7:28 pm
Location: Beaverton OR
Contact:

Post by dlangdev »

Code: Select all


   m_hIrrlichtWindow = CreateWindowExA(WS_CHILDWINDOW,lpszClassName,lpWindowName, WS_CHILD | WS_VISIBLE | BS_OWNERDRAW, 10, 200, 640, 480, m_hWnd, NULL, m_hInstance, NULL);
   param.WindowId = reinterpret_cast<void*>( m_hIrrlichtWindow ); 


see:
http://msdn.microsoft.com/en-us/library ... S.80).aspx

"Debug mode"

copy C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugMFC_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_257740a4\* C:\WINDOWS\SYSTEM32

copy C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_5490cd9f\* C:\WINDOWS\SYSTEM32


"Release mode"

copy C:\windows\winsxs\x86_microsoft.vc80.mfc_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_3bf8fa05\* C:\WINDOWS\SYSTEM32

copy C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700\* C:\WINDOWS\SYSTEM32
Image
dlangdev
Posts: 1324
Joined: Tue Aug 07, 2007 7:28 pm
Location: Beaverton OR
Contact:

Post by dlangdev »

any of you guys figured out the lag in there?

i can't seem to figure out why fps is high yet the rotating cube is not crisp when animating.

it may be coming from this call...

Code: Select all

   ::UpdateWindow();
you probably figured it out by now, huh?

throw me a bone here, some bits of advice will help me going.

maybe i should put it inside a thread?

thanks.

my spec:
1) msvc 2005
2) irrlicht 1.4.1
3) wininet
4) mssoap
5) msxml
Image
Abraxas
Posts: 57
Joined: Mon Nov 07, 2005 3:56 pm

please I MUST have some luck once in my life :-)

Post by Abraxas »

Hello,

after spending a long time with other things (playing Guild Wars) I returned to creativity and irrlicht :-)

The subject of this thread is very important for me.
But I see a lot of code-snippets.

My question is, if there would be someone so kind and put it together so it would be possible to have a browser-plugin. This would be so great.

I would also say to get this work for Mozilla Firefox would be good.

I suggest there are many many people who have been thinking about a browser-plugin as well.

Oli
Image
link3rn3l
Posts: 81
Joined: Wed Nov 15, 2006 5:51 pm

Post by link3rn3l »

Bennu (Best 2d and 3D dev-tool)
http://bennupack.blogspot.com

Pixtudio (Best 2D development tool)
http://pixtudiopack.blogspot.com

Bennu3D(3D Libs for bennu)
http://3dm8ee.blogspot.com/

Colombian Developers - Blog:
http://coldev.blogspot.com/
Post Reply