Hi
my compiler complains with the struct code. I have to rewrite to get it work. smile Not sure if typecasting is required in C-lite but I think yes.
Code:
[/code]

typedef struct  // struct definition
{
  int example;
}mystruct;

[code]