marten wrote:Assuming, that I want to call an external library function with callbacks to Smalltalk in a headless image - these calls must be done in the UI process - but how is this done in a headless image, where CwAppContext is not available !?
wembley wrote:Marten -
I guess I'm a little confused about what you are trying to do. Are you using the EsEntryPoint function to do the callbacks or EsPostAsyncMessage or ???
mainProcessFlag := true.
[self theCodeThatDoesTheWork] fork.
delay := Delay forSeconds: 300.
[mainProcessFlag] whileTrue: [
Users browsing this forum: No registered users and 1 guest