24 |
* History: |
* History: |
25 |
* |
* |
26 |
* ... ??? |
* ... ??? |
27 |
|
* 11.03.2002 Version 0.02; Min Chen <chenm001@163.com> |
28 |
|
* now get Core Version use xvid_init() |
29 |
* 05.03.2002 Version 0.01; Min Chen <chenm001@163.com> |
* 05.03.2002 Version 0.01; Min Chen <chenm001@163.com> |
30 |
* Add Core version display to about box |
* Add Core version display to about box |
31 |
* |
* |
651 |
|
|
652 |
SetDlgItemText(hDlg, IDC_BUILD, __TIME__ ", " __DATE__); |
SetDlgItemText(hDlg, IDC_BUILD, __TIME__ ", " __DATE__); |
653 |
|
|
654 |
// |
// Add by Chen at 2002-03-05 to display core version at about box |
655 |
|
// Change by Chen at 2002-03-11 now use xvid_init() to get core version |
656 |
{ |
{ |
657 |
char chTemp[64]; |
char chTemp[64]; |
658 |
sprintf(chTemp,"Core Version %d.%d",(API_VERSION>>16),(API_VERSION&0xFFFFU)); |
// 2002-03-11 Change start |
659 |
|
XVID_INIT_PARAM xinit; |
660 |
|
xvid_init(NULL,0,&xinit,NULL); |
661 |
|
sprintf(chTemp,"Core Version %d.%d",(xinit.api_version>>16),(xinit.api_version&0xFFFFU)); |
662 |
|
// 2002-03-11 Change End |
663 |
|
//sprintf(chTemp,"Core Version %d.%d",(API_VERSION>>16),(API_VERSION&0xFFFFU)); |
664 |
SetDlgItemText(hDlg, IDC_CORE_VERSION, chTemp); |
SetDlgItemText(hDlg, IDC_CORE_VERSION, chTemp); |
665 |
} |
} |
666 |
|
|