Problem with main program

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
luisvasquezcl
Posts: 1192
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Has thanked: 16 times
Been thanked: 18 times
Contact:

Problem with main program

Post by luisvasquezcl »

Hi,
I'm try execute a program but this don't do it.
The program.
#include <minigui.ch>
procedure inicio

load window form0
form0.center
activate window form0

return

The form0 is main defined and the compiler report say ok.
Version : HMG 2.5.3
OS : Windows XP service pack 2
Regards,
Luis Vasquez.

PD Excuse me for my english but I speak spanish.

User avatar
Roberto Lopez
HMG Founder
Posts: 3987
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 35 times
Been thanked: 173 times

Post by Roberto Lopez »

Luis,

Please change 'Procedure Inicio' by 'Procedure Main'.

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
luisvasquezcl
Posts: 1192
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Has thanked: 16 times
Been thanked: 18 times
Contact:

Post by luisvasquezcl »

Muchas gracias Roberto,
era una tontera ... :lol: ahora si funciono ok.
Saludos.

Post Reply