contrabandvr Posted March 21, 2009 Report Share Posted March 21, 2009 Hi, whenever i go into TV Style config, load a profile, then try and click any of the preview buttons, i get this error pop up: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.BadImageFormatException: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1) at TVSTYLECONFIG.Form4.Button4_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3074 (QFE.050727-3000) CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll ---------------------------------------- TVSTYLECONFIG Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/rFactor/Plugins/TvStyle/TVSTYLECONFIG.exe ---------------------------------------- Microsoft.VisualBasic Assembly Version: 8.0.0.0 Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Runtime.Remoting Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3074 (QFE.050727-3000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box. Im running Vista 64bit, could this be the problem? Thanks. Link to comment Share on other sites More sharing options...
contrabandvr Posted March 21, 2009 Author Report Share Posted March 21, 2009 searched the msdn forums and came up with this: http://social.msdn.microsoft.com/Forums/en...1-92a7cdb73f60/ looks like its an x64 problem, but is easily fixed. Would it be possible to get an update of it, or the source files as I have VS2005? Link to comment Share on other sites More sharing options...
Bobyfighter Posted March 29, 2009 Report Share Posted March 29, 2009 hi guys i have the same problem i'm running a 64bit software of vista but when i would have a prewiew in the tv display i have the same error like contrabandvr so how could i change this problem??? is there a update for tv display for 64bit?? pls give me a answer Link to comment Share on other sites More sharing options...
Kai Posted May 5, 2009 Report Share Posted May 5, 2009 I've got the same problem! I've read the link that contrabandvr has posted, but i didn't understood how to make it work. If someone can explain me, i would be very grateful! Link to comment Share on other sites More sharing options...
maxim9 Posted May 6, 2009 Report Share Posted May 6, 2009 contact dinix Link to comment Share on other sites More sharing options...
Dinix Posted May 7, 2009 Report Share Posted May 7, 2009 Preview Button doesn't work with 64bit. Preview system is a 3rd part library external to TV-Config. Sorry. Link to comment Share on other sites More sharing options...
prunn Posted May 9, 2009 Report Share Posted May 9, 2009 (edited) Preview Button doesn't work with 64bit.Preview system is a 3rd part library external to TV-Config. Sorry. I know exactly how to fix that... I would just need the source code of v0.91 you just have to set a property into the compilator to compilate specific for x86 otherwise it loads your program with framework x64 Edited May 9, 2009 by prunn Link to comment Share on other sites More sharing options...
Kai Posted May 10, 2009 Report Share Posted May 10, 2009 Yeah, with the source code, this could really be fixed! Link to comment Share on other sites More sharing options...
prunn Posted May 10, 2009 Report Share Posted May 10, 2009 ya but that is so simple, it should have been fixed awhile ago exemple in visual studio 2005 in the project properties I did a search yesterday about that and your program itself will run fine into framework x64, the thing that make it crash is that devIL.net.dll won't run into x64 framework, so you either have the choice to recompile it in x64 or tell the main program to use x86 framework Link to comment Share on other sites More sharing options...
prunn Posted May 13, 2009 Report Share Posted May 13, 2009 if you don't believe me... NOTE : When using Devil.NET 1.2 on VS2005, remind to set your projects to use the x86 CPU. Otherwise the program may fail to run on x64 platforms. in your case Devil.NET 1.0 gets the same treatment to work http://www.mastropaolo.com/devildotnet/ Link to comment Share on other sites More sharing options...
Zing Posted March 26, 2011 Report Share Posted March 26, 2011 if you don't believe me... <!--quoteo(post=0:date=:name=http://www.mastropaolo.com/devildotnet/)--><div class='quotetop'>CITAZIONE (http://www.mastropaolo.com/devildotnet/)</div><div class='quotemain'><!--quotec-->NOTE : When using Devil.NET 1.2 on VS2005, remind to set your projects to use the x86 CPU. Otherwise the program may fail to run on x64 platforms.<!--QuoteEnd--></div><!--QuoteEEnd--> in your case Devil.NET 1.0 gets the same treatment to work <a href="http://www.mastropaolo.com/devildotnet/" target="_blank">http://www.mastropaolo.com/devildotnet/</a> So has anybody fixed this!?!? It isn't so hard, please release the source or do it yourselves, we need the x86 & x64 fix as more and more people are running Windows 7 x64 nowadays! Link to comment Share on other sites More sharing options...
Recommended Posts