>I just added Network=CREATEOBJECT('Network') in the startup of the sub EXE. When the sub EXE receives a transactions, it processes it as usual and returns the control back to the main EXE. However, something remains in memory which avoid me to BUILD my sub EXE. If I remove the Network=CREATEOBJECT('Network'), everything works fine.
>I tried RELEASE Network and even putting .NULL. into Network before releasing it and this didn't change anything.
I have found a way to avoid that and be able to BUILD my sub EXE.
In the project manager, I have put the classes external and the problem is gone. However, I don't like this workaround as I need to keep a copy of the classes in the EXE directory. If someone has other suggestions that I can't try to be able to BUILD my sub EXE while keeping the classes in the project, I will be happy to try them.