I haven't lood at the sample, but it's likely that you're trying to call
`()() on the module object itself, rather than on a class called
Public.Sample. I don't recall whether I defined a pike class within that
module or not, but if I did, it would probably be Public.Sample.Sample.
Bill
On Fri, 28 May 2010, Marc Dirix wrote:
On 27-05-10 17:36, Bill Welliver wrote:
You can find a "sample module" in my source repository. It's got
everything you need to create a working module. Just fill in the blanks.
There are also some useful sample modules located in the source repository.
http://hg.welliver.org/pike_modules/
It seems there is something wrong with the sample. If I compile and
install it. I get this output:
object a = Public.Sample();
Cannot call undefined lfun `().
Seems it can't call create.
Any thoughts?
/Marc