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

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.