Silverfrost Forums

Welcome to our forums

Launching code from Plato

16 May 2014 12:18 #14095

I have just moved to Windows 7 and upraded to Version 7.0 of the compiler.

I have compiled and linked my codesuccessfully. If I run it by clicking the .exe it runs successfully. If I 'Start run' from witjin Plato it does not run (I am retuned immediately to a consoe wodow). If I attempt to launch the debugger I get an innediate error. This is 'Unknown (in ntdll.dll)'

16 May 2014 1:00 #14096

I think this is because the path to the compiler is not included in the system %PATH% variable. The installer is supposed to do this for you but it may not work properly on windows 7.0 (It didn't happen for me in 8.1).

Note that when this happens the program will only run from a command window or by double-clicking on the exe file.

You can add the appropriate entry to you %PATH% and it then should work from Plato as well. Post back if you need advice on how to do this in win 7.

For 64 bit win 7, the path to be added is:

C:\Program Files (x86)\Silverfrost\FTN95

16 May 2014 1:09 #14097

That seems to fit what I am seeing. What is it that I need to add to %PATH% and wher do I find this??

16 May 2014 1:20 #14098

On windows 7 do this:

  • Right-click Computer on the Desktop or Start Menu.
  • Click Advanced System Settings.
  • Click the Advanced tab.
  • Click Environment Variables ...
  • Look for Path variable under either user variables or system variables.
  • Double click the variable to edit it (or select it and click Edit ...)

** Be careful with the next steps **

  • Click in the variable value window.
  • Press the End key on your keyboard to go to the end of the line.
  • Type in the following at the end of the line (include the ; at the start).

;C:\Program Files (x86)\Silverfrost\FTN95

  • Click OK (3 times).
  • Reboot (or log off and back on).
16 May 2014 3:15 #14099

The path had already been created correctly.

The error I am seeing is: Call Stack/Staus Exception code 0xC0000138 Unknown

16 May 2014 3:39 #14100

That is very strange.

Have you tried re-installing Silverfrost?

Also try to run with your anti-virus turned off temporarily (turn it back on after though). There are some problems with AVAST if you have it.

17 May 2014 5:49 #14101

The other thing to do is to make sure that you have the latest patches for Windows 7 from Microsoft.

http://windows.microsoft.com/en-GB/windows/help/windows-update

20 May 2014 8:49 #14105

I think that this issue us now sorted. I built the project in exactly the same way as before, but in a completely new drectory. I am not sure why this should have made a diffreence, but I have now built several similar projects successfully. Thank you very much for your responses in this matter.

Please login to reply.