Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Include Header Files Problem
Message
De
08/06/2001 05:21:58
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Include Header Files Problem
Divers
Thread ID:
00516780
Message ID:
00516780
Vues:
40
Hi all,

I tried to define some class in a header file and use them in another program, however, I've some problem..

FormDefine.h
define class oForm as form
  autocenter=.T.
  caption="Testing"

  procedure queryunload
    clear event
  endproc
enddefine
and in CallForm.prg
#include FormDefine.h

TestForm=createobject("oForm")
TestForm.show
read events
Then I have error message: "Class definition oForm is not found."

What did I do wrong? I'd really hate to have 2-3k lines in my program.. <g>
Thank a lot!
error(503): file structure failure, signature file corrupted.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform