Trying to get trap/leave to work properly but the whole WINS stuff seems over complicated with a lot of assembly in the middle and it's not working on my compiler. When the throw happens the debugger complains about uncaught exception when I'm definitly inside a catch implemented by our TRAP.
I think I'm going to come up with a much simplified trap/leave implementation for SYMC. On my prototype all that stuff was working fine in like 20 lines of C++.
EXPORTS
_ZN3HAL3GetEN7HALData10TAttributeERi @ 1 NONAME ; HAL::Get(HALData::TAttribute, int&)
_ZN3HAL3SetEN7HALData10TAttributeEi @ 2 NONAME ; HAL::Set(HALData::TAttribute, int)
_ZN3HAL6GetAllERiRPNS_6SEntryE @ 3 NONAME ; HAL::GetAll(int&, HAL::SEntry*&)
_ZN3HAL3GetEiN7HALData10TAttributeERi @ 4 NONAME ; HAL::Get(int, HALData::TAttribute, int&)
_ZN3HAL3SetEiN7HALData10TAttributeEi @ 5 NONAME ; HAL::Set(int, HALData::TAttribute, int)
_ZN11HalInternal12InitialValueE @ 6 NONAME DATA 428