The following is an example of need to deal with and try to use the code,
Void GetData (double * PDBL)
{
The VARIANT v1.
M_range=m_sheet. Get_UsedRange ();
V1=m_range. Get_Value2 ();
M_range. ReleaseDispatch ();
SafeArrayAccessData (v1. Parray (void * *) & amp; PBSTR);
SafeArrayUnaccessData (v1. Parray);
}
CodePudding user response:
This is only a few lines, where to call a lot,,,, with libxl library, 10 a few lines of code can be read outCodePudding user response:
http://blog.csdn.net/sunnyloves/article/details/9996669CodePudding user response:
Can consider to save as in Excel. CSV