Re: Problem to derive a base class in C++ or in Lua

James Porter <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
[email protected] wrote:
> As I'm a complete beginner with LuaBind, I suppose my mistake is 
> obvious, but I don't see it.
[snip]
> In this code, if b is a lua_testclass, there is no error.

The __init function for derived doesn't take any arguments, so that's 
the first thing I'd fix.

- Jim


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.