Page 2 of 2

Posted: Mon Jul 30, 2007 3:03 pm
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.

Posted: Mon Jul 30, 2007 3:27 pm
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

Posted: Tue Aug 07, 2007 9:02 am
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?

Posted: Tue Aug 07, 2007 2:15 pm
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

Posted: Wed Aug 08, 2007 7:47 pm
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.

Posted: Thu Aug 09, 2007 9:39 am
by Bob Finnie
Thanks bob, i'll have a search

Posted: Fri Nov 02, 2007 11:22 am
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!

Posted: Tue Mar 18, 2008 3:57 am
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

Posted: Thu Aug 07, 2008 9:13 pm
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

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

Posted: Wed Feb 16, 2011 9:15 pm
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

Posted: Sat Feb 19, 2011 11:32 pm
by link3rn3l