LPCDLIST is pointer to struct. GetCDLists code : [code=cplusplus] if (GCDLists !=0){ LPCDLIST lpcd; // Pointer to struct GCDLists(lpcd); // <-- no place for data ..... [/code] [CODE=cplusplus] if (GCDLists !=0){ CDLIST lp; // struct variable GCDLists(&lp); // an address of struct std::cout << lp.cd[0].info.vendor; ..... [/code] Read More