gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Problem- Paib, using PAGC FrontEnd.exe

#152632 - houseonfire - Tue Mar 18, 2008 6:35 pm

C:\devkitPro\PAlib\Tools\PAGfx\PAGC Frontend.exe

I cannot ask a question on there.

I open the file, import the background, then I click the Save and Convert button.
I then get this error message:
====================================

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ComponentModel.Win32Exception: The system cannot find the file specified
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start(String fileName)
at PAGC_Frontend.Form1.toolStripButton5_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(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.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
PAGC Frontend
Assembly Version: 0.7.0.0
Win32 Version: 0.7.0.0
CodeBase: file:///C:/devkitPro/PAlib/Tools/PAGfx/PAGC%20Frontend.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.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.

======================================

I have edited machine.config to
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

I have installed .net Framework 3.5 (latest edition)
Yet still no luck.
I have googled
http://www.google.com/search?q=To+enable+just-in-time+(JIT)+debugging%2C+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.&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a

And tried every single solution posted on every one of those links, and still no luck.
If you or someone else can help me out, that would be great.
Thanks!

#152634 - elhobbs - Tue Mar 18, 2008 6:58 pm

this is not a .net configuration problem. this error message indicates that the exe that you are running is trying to launch another exe (PAGfx.exe I think) and it can find the exe file to launch it.

possible issues:
PAGfx.exe is not installed
or
PAGC Frontend.exe is in a different directory then PAGfx.exe

possible solution:
modify your os path to include the directory where the palib tools are installed

#152637 - houseonfire - Tue Mar 18, 2008 7:21 pm

You actually made me realise something i was doing wrong.
And it works now
Thanks!