Program not compiling - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Program not compiling

Hi, thanks in advance for your replies. I have written a game app in Delphi 6 with unDelphiX as graphics lib. When I had WinVista on my machine everything compiled just fine but since I moved to Win 7 my app won't compile. What I mean is when you hit F9 to compile the project nothing happens, I've changed administrator and all the other settings I could think of but no joy. Funny thing is that most of my other programs are comiling just fine, even one that also uses UnDelphiX.

When I do stepover (F8), the cursor jumps from Initialize, Title, CreateForm but it skips Application.Run (See below) ...don't know if that means anything. It also uses the same units as the program that runs fine.

Your help is appreciated.

program Game;

uses
Forms,
GameU in 'GameU.pas' {FormGame};

{$R *.res}

begin
Application.Initialize;
Application.Title := 'Math Genius';
Application.CreateForm(TFormGame, FormGame);
Application.Run; ---------> skips???
end.
Sign In or Register to comment.