Ignore:
Timestamp:
Oct 29, 2023, 11:01:57 PM (22 months ago)
Author:
gyoung
Message:

Changes to build players and related cwmm class exe using VAC 3.08

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/classes/mm-progs/audioconverter/audconv.c

    r104 r126  
    350350          {
    351351            UCHAR text[500];
    352             snprintf((PCHAR)text, sizeof(text)-1,"mmioOpen error with file %s\n", chrSourceName);
     352            sprintf((PCHAR)text,/* sizeof(text)-1,*/"mmioOpen error with file %s\n", chrSourceName);
    353353            WinMessageBox(hwnd, hwnd, (PSZ)"",
    354354                          text,
     
    362362          UCHAR text[500];
    363363          mmioClose(hmmio, 0);
    364           snprintf((PCHAR)text, sizeof(text)-1,"mmioGetHeader error!");
     364          sprintf((PCHAR)text, /*sizeof(text)-1,*/"mmioGetHeader error!");
    365365          WinMessageBox(hwnd, hwnd, (PSZ)"",
    366366                        text,
     
    384384            rc=mmioGetLastError(hmmioTarget);
    385385            mciGetErrorString(mmioinfo.ulErrorRet ,chrError, sizeof(chrError)-1);
    386             snprintf((PCHAR)text, sizeof(text)-1,"mmioOpen error with file %s:\n%s\n%lu", chrTargetName, chrError,mmioinfo.ulErrorRet);
     386            sprintf((PCHAR)text, /*sizeof(text)-1,*/"mmioOpen error with file %s:\n%s\n%lu", chrTargetName, chrError,mmioinfo.ulErrorRet);
    387387            mmioClose(hmmio,0);
    388388            WinMessageBox(hwnd, hwnd, (PSZ)"",
     
    400400          mmioClose(hmmio, 0);
    401401          mmioClose(hmmioTarget,0);
    402           snprintf((PCHAR)text, sizeof(text)-1,"Can't get memory buffer!");
     402          sprintf((PCHAR)text, /*sizeof(text)-1,*/"Can't get memory buffer!");
    403403          WinMessageBox(hwnd, hwnd, (PSZ)"",
    404404                        text,
     
    422422        if(rc==MMIO_ERROR) {
    423423          UCHAR text[500];
    424           snprintf((PCHAR)text, sizeof(text)-1,"Error while reading audio data!");
     424          sprintf((PCHAR)text, /*sizeof(text)-1,*/"Error while reading audio data!");
    425425          WinMessageBox(hwnd, hwnd, (PSZ)"",
    426426                        text,
Note: See TracChangeset for help on using the changeset viewer.