Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Include Header Files Problem
Message
From
08/06/2001 05:21:58
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Include Header Files Problem
Miscellaneous
Thread ID:
00516780
Message ID:
00516780
Views:
39
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.
Next
Reply
Map
View

Click here to load this message in the networking platform