Expedition Navigation Software
Offline
I have some previous applications that stopped working as it was based on DLL calls GetExpVars. I can see in the ExpDLL.h that the two new GetExpVar2 and SetExpVar2 are available. Does anyone knows how they work?
There is an include of "sys_val.h" in the ExpDLL.h but can not find that file. That might give some clarity...
Also, does this upgrade of the DLL means one have to loop through several GetExpVar to pick up several channels per run?
Offline
You can also just use GetExpVar() for most data.
ExVar is just a struct. most vars are doubles, but time vars will use the t member. Currently defined as:
enum e_ValType
{
e_Bool,
e_Double,
e_Int32,
e_Int64, // time
e_String,
};
struct ExVal
{
int8_t type; // e_ValType
union
{
bool b;
double d;
int32_t i32;
int64_t t; // winrt::clock, 100 nanosecond intervals since Jan 1 1601
char s[8];
};
};