- Messages
- 162
- Country
Please,
could someone explain to me what are the real advantages of using a wasm instead of a dll module?
For the moment I don't see them, debugging is limited to code flow, auto and local var values only, but above all the translation from C ++ to wasm is opaque,.
I have tried a piece of c ++ code which is apparently correct and works perfectly when compiled as dll but instead crashes the simulator when compiled as wasm with no possibility of knowing why.
For instance a simple simconnect_open made from a gauge callback makes the sim crash despite the SDK reports is that possible.
It crashes silent even before the C++ debugger can catch the code
I could not make any of my examples work and also the SampleGaugeAircarft example compiled from SDK crashes frequently.
The only gauge i could see working is a simple void gauge :-(
could someone explain to me what are the real advantages of using a wasm instead of a dll module?
For the moment I don't see them, debugging is limited to code flow, auto and local var values only, but above all the translation from C ++ to wasm is opaque,.
I have tried a piece of c ++ code which is apparently correct and works perfectly when compiled as dll but instead crashes the simulator when compiled as wasm with no possibility of knowing why.
For instance a simple simconnect_open made from a gauge callback makes the sim crash despite the SDK reports is that possible.
It crashes silent even before the C++ debugger can catch the code
I could not make any of my examples work and also the SampleGaugeAircarft example compiled from SDK crashes frequently.
The only gauge i could see working is a simple void gauge :-(
Last edited: