Thierry wrote:I haven't tried this myself, but I see no reason why PocketHAL wouldn't run in a Symbian .exe.
The question I have for you though, is why do you want to do that? If the reason is tons of globals, then move them all in a structure in the TLS (Thread Local Storage).
But I really think you should stay away from .exe, it brings more problems then it solves.
Yes, problem, as you stated, are the global variables. I'm too bad coder to design my apps without globals, and too lazy (and obstinate) to use the TLS approach ;)
Also I don't like the "symbian way" to do things, with all those "end with that letter to do that", etc...
I tried to work the "symbian way" some years ago and I almost got crazy;) so I'm a bit biased when judging symbian ;)
I feel that the exes will be more friendly to me, if not I probably won't be releasing any symbian stuff :(
I'll tell you something about pocketHAL and exe files, as soon as I get back my symbian device ;)