Author Topic: mGalaxy don´t start in Windows 7 Ultimate  (Read 22951 times)

mtkona

  • Newbie
  • *
  • Posts: 20
    • Email
Re: mGalaxy don´t start in Windows 7 Ultimate
« Reply #37 on: October 25, 2014, 09:08:03 PM »
Set up various emulators today. Not all yet, but I will one by one . This machine Intel NUC will be a gaming machine with the mGalaxy Front End.

You will provide some new setup program ?


mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1165
    • Email
Re: mGalaxy don´t start in Windows 7 Ultimate
« Reply #36 on: October 25, 2014, 10:15:06 AM »
Glad to hear that you get it working..with the regular mGalaxy installer!!  ;)

mtkona

  • Newbie
  • *
  • Posts: 20
    • Email
Re: mGalaxy don´t start in Windows 7 Ultimate
« Reply #35 on: October 25, 2014, 08:11:14 AM »
Sorry for the delay.

Finally !

Now is working, the program is giving no exception.

Is opening and remained stable in all machines !

I also tested some emulators, like Sega Genesis Kega Fusion, Stella for Atari 2600. I´m trying to test MESS for Atari 5200.

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1165
    • Email
Re: mGalaxy don´t start in Windows 7 Ultimate
« Reply #34 on: October 22, 2014, 04:57:48 AM »
I was wondering why you first got a first type of error (file write authorization)...then another type of error (keypress error)!
I now understand what's happening: while trying to help you, I've sent you "special" versions of mGalaxy...but based on the last version (not yet out) I'm working on.
Yet this version is including new key based settings !!

So, we are to start again from the beginning ;-)
Chances are that all you've updated from the beginning (Framework,..) has resolved your problem (I hope so ;-) )...so let's begin by this: would you please un-install mGalaxy, then install it with the installer I join here!?

http://www.mgalaxy.com/other/mGalaxy_Setup.exe

If you get an error, we'll always start from that version you are going to install, you'll have to drop "special" versions that might follow in that folder.
« Last Edit: October 22, 2014, 05:03:11 AM by mgalaxy »

mtkona

  • Newbie
  • *
  • Posts: 20
    • Email
Re: mGalaxy don´t start in Windows 7 Ultimate
« Reply #33 on: October 21, 2014, 05:26:26 PM »
The full error:

The given key was not present in the dictionary.

System.Collections.Generic.Keynotfoundexception "The given key was not present in the dictionary.

at System.Collection.Generic.Dictionary2.get_Item(TKey key)
at mGalaxy.MainWindow.MainWindow_KeyDown(Object sender,
KeyEventArgs keyData) in C:\Users\imd_000\Desktop\TryCatcherrors\TestWPF\MainWindow.xaml.vbline 215

I tried to upload the image with the error, but the server says the "upload folder is full - contact administrator".

Please let me know when the upload folder is empty to I upload the image with the error.

I also installed the MSVC2010 SP1, but always get this error.
« Last Edit: October 21, 2014, 05:28:43 PM by mtkona »

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1165
    • Email
Re: mGalaxy don´t start in Windows 7 Ultimate
« Reply #32 on: October 21, 2014, 01:16:35 PM »
Ok..could you try with that version...there's indeed a few try/catch block inside ;-)
(If you get an error, simply press Ctrl-C to copy the error message in the clipboard)

[attachment deleted by admin]

mtkona

  • Newbie
  • *
  • Posts: 20
    • Email
Re: mGalaxy don´t start in Windows 7 Ultimate
« Reply #31 on: October 21, 2014, 11:23:22 AM »
Hi,

I understand you.

For me is also being hard to understand what is happening. At first I had thought that the program was stopping right after it starts. But is not it.

The program starts, the interface appears and when I press a key it stops responding and finally crashes. I only find this out yesterday.

I not sure if I have the SP1 of MSVC++ 2010  installed. I will check and install it today, at night.

The keydown event of mainwindow has a "try-catch" block ?

I checked the event log and could see that some exception occurs in Keydown event. At this point, I ran the application and waited. The application showed the interface and became active. I waited a moment longer. Still active. Finally I pressed a key. At that moment the application crashed.

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1165
    • Email
Re: mGalaxy don´t start in Windows 7 Ultimate
« Reply #30 on: October 21, 2014, 09:45:02 AM »
Could you try installing this:
http://www.microsoft.com/en-us/download/details.aspx?id=8328
...and see if that works better?


Sorry to ask you all that...and this is surely not ended ;-) ..but that's really difficult to understand what's happening with your PC's (even if I greatly suspect a file in/out error!!)
« Last Edit: October 21, 2014, 10:06:40 AM by mgalaxy »

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1165
    • Email
Re: mGalaxy don´t start in Windows 7 Ultimate
« Reply #29 on: October 20, 2014, 05:01:36 PM »
I absolutely need to know what is exactly happening!
Untill now I thought that mGalaxy won't even start and that you got an error message before seing the mGalaxy interface.
Now, you tellme that it crashes if you press a key (so, you see the interface?)
Please explain me clearly what's happening.

There is no error with a keydown event...this is surely just a "cascading" error coming from a prior error.
All your log error since the beginning are:
Exception Info: System.Windows.Markup.XamlParseException

The real problem is coming from here..and indeed, on the version I've sent you (named "XAML") I've worked on that part and you told me that it was working!!

Please try to tell me, step by step, what's happening on screen when you run mGalaxy.
I have one solution left to try to fix this XAML error, I'll work on it on next days

mtkona

  • Newbie
  • *
  • Posts: 20
    • Email
Re: mGalaxy don´t start in Windows 7 Ultimate
« Reply #28 on: October 20, 2014, 12:11:51 PM »
It start, and finally crash.

I discovered today that when I push any key it crashes.

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1165
    • Email
Re: mGalaxy don´t start in Windows 7 Ultimate
« Reply #27 on: October 20, 2014, 12:03:38 PM »
?? I thought that the program was crashing directly !!
Are you telling me that mGalaxy loads then crash if you press a key?

mtkona

  • Newbie
  • *
  • Posts: 20
    • Email
Re: mGalaxy don´t start in Windows 7 Ultimate
« Reply #26 on: October 20, 2014, 11:32:56 AM »
Try to see if the error is in this event:

mGalaxy.MainWindow.MainWindow_KeyDown

After the program is started, when I press one "key" (in this case I pressed the key "left"), the program crashes.

mtkona

  • Newbie
  • *
  • Posts: 20
    • Email
Re: mGalaxy don´t start in Windows 7 Ultimate
« Reply #25 on: October 20, 2014, 11:12:52 AM »
Hi,

This version of DirectX was already installed on all PCs but installed again.

I took a picture of permissions for each user. On all machines are the same permissions.

I ran with the "run as administrator" option but it always gives the same problem.

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1165
    • Email
Re: mGalaxy don´t start in Windows 7 Ultimate
« Reply #24 on: October 19, 2014, 09:37:41 AM »
Could you please take a screenshot of the Security settings for the mGalaxy folder (inside or outside of program files folder) ?
Right Click on the folder > Properties > Security
Take a screenshot for each users please

Sorry to insist: you're sure that running mGalaxy "as administrator" doesn't work ?
« Last Edit: October 19, 2014, 09:41:11 AM by mgalaxy »

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1165
    • Email
Re: mGalaxy don´t start in Windows 7 Ultimate
« Reply #23 on: October 18, 2014, 09:50:06 AM »
The only application that has been working is a version of mGalaxy with no write access to the mGalaxy folder!! (the "XAML" version) !!
Since the beginning, I'm thinking of a file write permission error...but the error occurs even if you move the application folder out of the "Program Files" windows folder...so I'm a little bit surprised!!

Another thing, just to be sure: could you please download and install this DirectX drivers
http://www.microsoft.com/en-us/download/details.aspx?id=8109

then test again all the 4 versions (the "original" one, the one called "x64", the one calles "XAML", the one called "FileWritePermission". Please keep all those version on your disk untill we can sort out the problem...thanks!!
« Last Edit: October 18, 2014, 09:57:54 AM by mgalaxy »