Salut a tous,
Je recontre un probleme en creant des structures imbriquées :(
Voici un exemple type de mes structures:
typedef struct _SUB_SUB_SUB_STRUCTURE {
char Name[255];
int Type;
char Data[1024];
} SUB_SUB_SUB_STRUCTURE;
typedef struct _SUB_SUB_STRUCTURE_B {
char Path[255];
char Name[255];
SUB_SUB_SUB_STRUCTURE Values[50];
} SUB_SUB_STRUCTURE_B
typedef struct _SUB_SUB_STRUCTURE_A {
char Name[255];
char Path[255];
} SUB_SUB_STRUCTURE_A
typedef struct _SUB_STRUCTURE {
SUB_SUB_STRUCTURE_A PropertyA[50];
SUB_SUB_STRUCTURE_B PropertyA[50];
} SUB_STRUCTURE;
typedef struct _STRUCTURE {
char Name[255];
char Path[255];
SUB_STRUCTURE Version[255];
} STRUCTURE;
Le probleme c'est que quand je fais :
STRUCTURE NewStructure;
J'ai droit a un gros plantage de mon appli :(
Si vous pouviez m'eclairer a ce sujet...
Merci d'avance
++
Quand on pose une question on est con 5 minutes,
Quand on ne la pose pas on le reste toute sa vie...