Original Post
Hi, I experienced a strange bug in my engine, and my conclusion is that it could come from a VC6++ compiler bug... (sp6, in release mode optimization on Maximize speed). The bug happens when I try to register more than 68 object methods in one function. When I add a 69th, the compiler seems to "stop" to pass the method adress to the RegisterObjectMethod() from about 30 registered methods (seen by steping in produced optimized code). To be more accurate, compiler don't make the asMemCopy() anymore, that is, it don't call the asMethod::Convert() as if method had a zero size length!!... - If I split my registering function in two smaller functions, it works fine - If I turn optimization on 'Minimize speed', it works fine too Did someone already experienced this ? Lbas