Can harbourDeclare structures in Xbase++ & C syntax?
// Xbase++ style structure declaration
STRUCTURE SystemTime
MEMBER Year AS WORD
MEMBER Month AS WORD
MEMBER DayOfWeek AS WORD
MEMBER Day AS WORD
MEMBER Hour AS WORD
MEMBER Minute AS WORD
MEMBER Second AS WORD
MEMBER Milliseconds AS WORD
ENDSTRUCT
// C/C++ style structure declaration
// - taken from WINBASE.H via cut & paste
// - line continuation character ";" added where needed
typedef struct _TIME_ZONE_INFORMATION { ;
LONG Bias; // ^ this ";" is added for Xbase++
WCHAR StandardName[ 32 ]; //
SYSTEMTIME StandardDate; // embedded STRUCTURE
LONG StandardBias; // ******************
WCHAR DaylightName[ 32 ]; //
SYSTEMTIME DaylightDate; // embedded STRUCTURE
LONG DaylightBias; // ******************
} TIME_ZONE_INFORMATION, *PTIME_ZONE_INFORMATION, *LPTIME_ZONE_INFORMATION;
The XbStruct library is a complete extension to the Xbase++
programming language. It gives an Xbase++ programmer the ability to
use structures and pointers on the Xbase++ language level.
http://www.knowlexbase.com/en/software/products/xbstruct/index.html
--
Massimo Belgrano
Analisi e sviluppo software per Lan e Web - Consulenza informatica - Formazione
Delta Informatica S.r.l. http://www.deltain.it/ +39 0321 455962
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour