On Oct 11, 2019, at 4:07 PM, Chip Scheide <4d_o...@pghrepository.org> wrote:

> actually its is not compiled component - it is the INTERPRETED version 
> of the component!
> compile it and it works?!?!?!?!

Thanks for the clarification, I thought this was a compiler issue. 

Since it is an interpreted only issue, I’ve got more ideas.

In the host database:

At the first line of the "On Startup" Database Method put in a TRACE.  Do you 
hit this before the stack overflow?
At the first line of the “On Host Database Event” Database Method put in a 
TRACE.  Do you hit this before the stack overflow?

In the component database:

At the first line of the "On Startup" Database Method put in a TRACE.  Do you 
hit this before the stack overflow?
At the first line of the “On Host Database Event” Database Method put in a 
TRACE.  Do you hit this before the stack overflow?

There are the only 2 entry points that can run when you start a 4D database. It 
calls “On Startup” in the host and it can call “On Host Database Event” in the 
component. That is if you have the “Execute ‘On Host Database Event’ method in 
components” Database Settings -> Security setting turned on in the host. 

You might also try turning that off if you have it on and see if that makes a 
difference.

If you never get to the TRACE command before you get the stack overflow error, 
then it’s a real puzzler. 

Could the host be really, really old and upgraded through very old versions of 
4D? Wasn’t there a compatibility setting from a long time ago when the “On 
Startup” database method was first introduced that would actually automatically 
call a method named “Startup” or “Debut”? Could that be involved in this 
strange problem? 

Tim

*****************************************
Tim Nevels
Innovative Solutions
785-749-3444
timnev...@mac.com
*****************************************

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to