Tremorblue
Programmer
I am using the on guard component from turbo power.
A function called CreateMachineID is defined as...
extern PACKAGE int __fastcall CreateMachineID(TEsMachineInfoSet MachineInfo);
Now a TEsMachineInfoSet is defined as
typedef Set<OnGuard__1, midUser, midDrives> TEsMachineInfoSet;
Where OnGuard__1 is defined as
#pragma option push -b-
enum OnGuard__1 { midUser, midSystem, midNetwork, midDrives };
#pragma option pop
What I want to do is call CreateMachineID(midUser+midSystem);
I get an Error cannot convert OnGuard__1 to TEsMachineInfoSet. Type mismatch...
Any ideas much appreciated !
A function called CreateMachineID is defined as...
extern PACKAGE int __fastcall CreateMachineID(TEsMachineInfoSet MachineInfo);
Now a TEsMachineInfoSet is defined as
typedef Set<OnGuard__1, midUser, midDrives> TEsMachineInfoSet;
Where OnGuard__1 is defined as
#pragma option push -b-
enum OnGuard__1 { midUser, midSystem, midNetwork, midDrives };
#pragma option pop
What I want to do is call CreateMachineID(midUser+midSystem);
I get an Error cannot convert OnGuard__1 to TEsMachineInfoSet. Type mismatch...
Any ideas much appreciated !