Page 1 of 3

Critical Error: Can't bind to native class

Posted: Sat Mar 14, 2009 11:32 pm
by Jonas
If you get a Critical Error saying "Can't bind to native class TNMNative.tnmNativeHookObject" followed by a bunch of nonsense, you'll want to download and install the Visual C++ redistributable from Microsoft's download site here:

http://www.microsoft.com/downloads/deta ... 02b2af5fc2

This is in the manual too, but I thought I might as well mirror it here. Most people don't seem to get this issue but a good 20-25% of players apparently do. Installing this redist package is guaranteed to fix it :)

UPDATE: Make sure the package installs correctly, it can be tricky. If you can't get it working right away, try downloading it again.

Re: Critical Error: Can't bind to native class

Posted: Sun Mar 15, 2009 3:53 am
by deuxhero
first thing google lists my *^3... completly differnt page...

Re: Critical Error: Can't bind to native class

Posted: Sun Mar 15, 2009 6:15 am
by Bokaj
Hi,

I get this error, but I don't have a 64 bit version of Windows. I have XP with Service Pack 2. Anyway, I've tried downloading the Visual C++ redistributable as suggested. I think this is installing although it doesn't give any indication that the installation has been successful. And I still get the same error. I have the GOTY edition of Deus Ex which I understand is patched up to the latest version. Or do I maybe there is a more recent patch?

Re: Critical Error: Can't bind to native class

Posted: Sun Mar 15, 2009 6:28 am
by Kee715
Some versions (Mine (unfortunately) included) did not have the latest patch, Google "Deus Ex v1112fm" patch and download it from somewhere.

Re: Critical Error: Can't bind to native class

Posted: Sun Mar 15, 2009 9:05 am
by Bokaj
Well, it seems it was the Visual C++ redistributable not installing properly. I tried installing it again and got TNM working. Looks great so far.

Re: Critical Error: Can't bind to native class

Posted: Sun Mar 15, 2009 1:03 pm
by HungryBoar
Same problem as Bokaj... I tried to install the vcredist_x86.exe thing, but I still get the same result. I also tried the lastest patch for Deus Ex. Any other suggestions? And any way to claim on that guarantee?

Re: Critical Error: Can't bind to native class

Posted: Sun Mar 15, 2009 1:08 pm
by HungryBoar
Never mind, it didn't install (the microsoft download) properly. I had to download it again for it to work...

Re: Critical Error: Can't bind to native class

Posted: Sun Mar 15, 2009 2:37 pm
by Jonas
Glad you guys got it working. I'm gonna sticky this.

Re: Critical Error: Can't bind to native class

Posted: Mon Mar 16, 2009 8:11 pm
by Jcelios
Thanks this fixed it for me also.

Re: Critical Error: Can't bind to native class

Posted: Wed Mar 18, 2009 9:32 am
by itsalladream
Thanks, about to try it now.

Re: Critical Error: Can't bind to native class

Posted: Wed Mar 18, 2009 9:44 am
by Christian
The game works for me now, thanks! :)

Re: Critical Error: Can't bind to native class

Posted: Sat Mar 21, 2009 11:40 pm
by Jetsetlemming
Does this also make Deus Ex not be able to run maximized? :-k

Re: Critical Error: Can't bind to native class

Posted: Sat Mar 21, 2009 11:43 pm
by Jonas
...no.

The renderer might do that I guess. Make sure you use your .ini to set your resolution, and check for the line StartupFullscreen=True. If it says StartupFullscreen=False instead, change it and see if that helps.

Re: Critical Error: Can't bind to native class

Posted: Sat Mar 21, 2009 11:47 pm
by Jetsetlemming
I can manually force the window resolution by altering the ini settings, but it won't run fullscreen, and the ingame graphics still look like software rendering. :? I dunno what's wrong. He's had DX installed successfully on this computer multiple times in the past, I had almost the same exact hardware before my video card died and I had no problems with DX, I know the drivers are installed right, everything else's running fine.... :(

Re: Critical Error: Can't bind to native class

Posted: Sat Mar 21, 2009 11:50 pm
by Jonas
Can you find this in TNM.ini?

GameRenderDevice=OpenGLDrv.OpenGLRenderDevice

If so, try changing it to GameRenderDevice=D3DDrv.D3DrenderDevice and see if that helps.