> Le 4 mai 2017 à 12:33, David Adams via 4D_Tech <4d_tech@lists.4d.com> a écrit 
> :
> 
> I'm still working away on my components and I have another remedial
> question. I'd really like to be able to trace through a component while in
> the host. Sometimes this works, sometimes I get complaints that the
> component must be compiled. 

From this page:
<http://doc.4d.com/4Dv16/4D/16.1/Component-installation-and-compatibility.300-3373446.en.html>
"In general, an interpreted method can call a compiled method, but not the 
reverse,"
From your scheme I understand that 'MessageHub' (1) component embeds calls to 
'DaKine' and 'OBJ_Component' (2 & 3). So my guess would be you're trying to use 
1 compiled while 2 and/or 3 are/is not. 


I often use aliases to switch during development between interpreted/compiled. 
Let's say my component is like this:
  ../myComponentFolder/
    myComponent.4db (Interpreted)
    buildFolder/
      myComponent.4dbase (Compiled)
I create an alias from Compiled and put it in the host component folder. Then 
when needed, I use "Finder/get info/select other original" to make it "point 
on" Interpreted or Compiled. 

I'd like to know if there's some trick to avoid host restart each time, BTW…

-- 
Arnaud de Montard 



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

Reply via email to