Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: Can't init TVEngine  (Read 583 times)
DP-John
Customers
Community Member
*****
Posts: 120


« on: September 26, 2008, 07:55:33 PM »

Hey all.

I'm running Vista 64-bit and using Visual Studio 2008.

Whenever I start to init TVEngine, it fails. If I build the project as x86 I get this error...

Code:
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

And if I build it as AnyCPU (Default) or as x64, I get this error...

Code:
is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)

Any suggestions? Cheers!
Logged

SylvainTV
Administrator
Community Member
*****
Posts: 4479


WWW
« Reply #1 on: September 27, 2008, 04:04:46 AM »

First you must use x86, else it won't work Smiley

Does it happen on the TV templates too?
Logged

Regards

Sylvain Dupont
TrueVision3D Developer
sylvain@truevision3d.com

TV3D IRC at http://chat.truevision3d.com or on server irc.truevision3d.com #Truevision3D. Come talk with us !
DP-John
Customers
Community Member
*****
Posts: 120


« Reply #2 on: September 29, 2008, 10:07:19 AM »

It happens on the templates, and all of the TVDemo stuff too.

If the TVDemo stuff was built as AnyCPU (Default) it won't work of course, they would need to be rebuilt as x86 explicitly.
Logged

Zaknafein
Customers
Community Member
*****
Posts: 2670


WWW
« Reply #3 on: September 29, 2008, 11:32:09 AM »

Maybe it's a license thing? Make sure you don't have an outdated license in your Windows profile directory.
Developer licenses are super picky about the removable devices you have plugged in, which is really annoying.
Logged

zaknafein.
>> the instruction limit : my blog & samples repository! <<
Shadowsong
Customers
Community Member
*****
Posts: 137


« Reply #4 on: October 05, 2008, 05:04:19 PM »

DAMN!

I had the same error and I spend like two weeks figuring out what was the problem!!

Ok here it is, the solution:

Whenever you create a developer license, make sure to keep it up to date, like recreate it every 3 month or so. Because, when it gets outdated, your TV applications simply STOP RUNNING, no matter if there are any application licenses included or not!
It throws an exception like
"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
most likely on TVEngine.Init3d.

Ok folks, I really love TV and escpecially the support, but here is one complaint, remember I spend two weeks on this, and it would have been so easy!

WHY can't you give a warning like "Your license file is outdated!" HuhAngry Shocked
Logged
sybixsus
Customers
Community Member
*****
Posts: 1088


WWW
« Reply #5 on: October 05, 2008, 06:07:25 PM »

Does this only apply to developer licenses? I certainly hope it does.
Logged
AriusEso
Customers
Community Member
*****
Posts: 377

Esoteric


« Reply #6 on: October 05, 2008, 06:17:46 PM »

WHY can't you give a warning like "Your license file is outdated!" HuhAngry Shocked

Because a flat-out crash is harder to workaround than a simple message dialog.
Logged

jfberge
Customers
Community Member
*****
Posts: 191


« Reply #7 on: October 08, 2008, 01:19:57 PM »

WHY can't you give a warning like "Your license file is outdated!"

I think the problem is more likely due to changes you may have made to your hardware since the key was generated. The system seems to tie the key to a "signature" of your system's configuration. Change that (add a USB drive, plug in a cell phone) and you change the signature, necessitating a new key (or removing the new hardware).
« Last Edit: October 08, 2008, 01:22:42 PM by jfberge » Logged

It works on my machine
SylvainTV
Administrator
Community Member
*****
Posts: 4479


WWW
« Reply #8 on: October 08, 2008, 02:33:32 PM »

yes it's ONLY for developer licenses (the other license doesn't check for hardware)

The idea is :

If the engine worked before and it's crashing at init without reason : Check your license and regenerate the developer license file.
Logged

Regards

Sylvain Dupont
TrueVision3D Developer
sylvain@truevision3d.com

TV3D IRC at http://chat.truevision3d.com or on server irc.truevision3d.com #Truevision3D. Come talk with us !
bschroed
Customers
Community Member
*****
Posts: 1


« Reply #9 on: October 19, 2008, 06:57:13 PM »

I'm running Vista64 and my application is written in C#. The application runs normally with the watermake without a license file. When I create a current developer license file I get the following debug message and TV doesn't initialize. I've gone through the posts and tried all the various solutions to no avail. Any ideas I should try?

"A first chance exception of type 'System.AccessViolationException' occurred in MTV3D65.dll"
 
Logged
Valcriss
Customers
Community Member
*****
Posts: 100


WWW
« Reply #10 on: October 20, 2008, 01:42:31 AM »

Sounds like a your licencesig application is not at the same level as your MTV3D65.DLL.

Try to download the lastest licencesig and the latest MTV3D65.DLL.

hope it helps.
Logged

Hope you understood my english.

My Samples
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks