Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLEPUBLIC init() does not accept parameters
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
OLEPUBLIC init() does not accept parameters
Miscellaneous
Thread ID:
00333520
Message ID:
00333520
Views:
43
Does anyone know why the INIT() procedure in an OLEPUBLIC class does not recognize parameters? E.g.

obj=CREATEOBJECT('foo',10)

this will show that the parm1 is of type 'L'. However this same class works when not OLEPUBLIC

** class definition compiled as out of process EXE**
DEFINE CLASS foo AS custom OLEPUBLIC
PROC INIT(parm1)
WAIT WINDOW TYPE('parm1')
ENDPROC
ENDDEFINE


costas
Next
Reply
Map
View

Click here to load this message in the networking platform