Changeset 88


Ignore:
Timestamp:
Oct 1, 2023, 3:30:38 AM (23 months ago)
Author:
erdmann
Message:

fix all of the remaining errors emerging from the "gcc" compile process in "mm-progs"

Location:
branches/v2.9_Lars/classes/mm-progs
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • branches/v2.9_Lars/classes/mm-progs/MMPlayer/customprocs.c

    r2 r88  
    2121 * If you need another license for your project/product (commercial,
    2222 * noncommercial, whatever) contact me at
    23  * 
     23 *
    2424 * http://www.os2world.com/cdwriting
    2525 * http://www.geocities.com/SiliconValley/Sector/5785/
     
    4343#include <stdio.h>
    4444#include <stdlib.h>
     45#include <string.h>
    4546
    4647
     
    7071      {
    7172        PDRAGINFO pdi=PVOIDFROMMP(mp1);
    72        
     73
    7374        return handleDrag0ver( pdi, WinQueryWindow(hwnd, QW_PARENT));
    7475      }
     
    7677      {
    7778        PDRAGINFO pdi=PVOIDFROMMP(mp1);
    78        
     79
    7980        return handleDrop( pdi, WinQueryWindow(hwnd, QW_PARENT));
    8081      }
     
    104105        if(swp.fl & SWP_MINIMIZE)
    105106          break;
    106  
     107
    107108        hps=WinBeginPaint(hwnd, NULLHANDLE, NULLHANDLE);
    108109        WinQueryWindowRect(hwnd, &rcl);
    109110        WinDrawBitmap(hps, allBMPs[MAIN_BMP_IDX].hbm,
    110                       NULLHANDLE, 
     111                      NULLHANDLE,
    111112                      (PPOINTL)&rcl,
    112113                      0, 0,
    113                       DBM_IMAGEATTRS);   
     114                      DBM_IMAGEATTRS);
    114115        WinEndPaint(hps);
    115116        return MRFALSE;
     
    183184
    184185  WinDrawBitmap(ubPtr->hps, ci.hbmSource,
    185                 &ci.rclSource, 
     186                &ci.rclSource,
    186187                (PPOINTL)&rcl,
    187188                0, 0,
     
    211212  if(ulShowFeedback==2)
    212213    return 1;
    213  
     214
    214215  switch(usControl)
    215216    {
     
    237238  hps=WinGetPS(hwnd);
    238239  WinDrawBitmap(hps, ci.hbmSource,
    239                 &ci.rclSource, 
     240                &ci.rclSource,
    240241                (PPOINTL)&rcl,
    241242                0, 0,
     
    255256
    256257  switch (msg)
    257     {     
     258    {
    258259#if 0
    259260      /* Drag and drop of audio files */
     
    330331        USHORT usWidth=WinQueryWindowUShort(hwnd, SLIDERARMWIDTH);
    331332
    332         if(x<=lPos+usWidth+SLOFFSET && x>=lPos+SLOFFSET && 
     333        if(x<=lPos+usWidth+SLOFFSET && x>=lPos+SLOFFSET &&
    333334           y<=WinQueryWindowUShort(hwnd, SLIDERY)+WinQueryWindowUShort(hwnd, SLIDERCY)
    334335           && y>=WinQueryWindowUShort(hwnd, SLIDERY)) {
     
    346347        if(SHORT1FROMMP(mp2)) {
    347348          hps=WinGetPS(hwnd);
    348           WinQueryWindowRect(hwnd, &rcl);       
     349          WinQueryWindowRect(hwnd, &rcl);
    349350          GpiSetLineType(hps, LINETYPE_DOT);
    350351          ptl.x=rcl.xLeft;
     
    369370      if(WinQueryFocus(HWND_DESKTOP)==hwnd) {
    370371        if(SHORT2FROMMP(mp2)==VK_TAB && (SHORT1FROMMP(mp1) & KC_VIRTUALKEY))
    371           if(SHORT1FROMMP(mp1) & (KC_KEYUP|KC_PREVDOWN)) 
     372          if(SHORT1FROMMP(mp1) & (KC_KEYUP|KC_PREVDOWN))
    372373            return (MRESULT)TRUE;
    373374
     
    486487        USHORT usWidth=WinQueryWindowUShort(hwnd, SLIDERARMWIDTH);
    487488
    488         if(x<=lPos+usWidth+SLOFFSET && x>=lPos+SLOFFSET && 
     489        if(x<=lPos+usWidth+SLOFFSET && x>=lPos+SLOFFSET &&
    489490           y<=WinQueryWindowUShort(hwnd, SLIDERY)+WinQueryWindowUShort(hwnd, SLIDERCY)
    490491           && y>=WinQueryWindowUShort(hwnd, SLIDERY)){
     
    522523        USHORT usWidth=WinQueryWindowUShort(hwnd, SLIDERARMWIDTH);
    523524
    524        
     525
    525526        lTemp=lPos;
    526      
     527
    527528        rcl.xLeft=WinQueryWindowULong(hwnd, SLIDERX);
    528529        rcl.yBottom=WinQueryWindowULong(hwnd, SLIDERY);
     
    624625          LONG  lPos=WinQueryWindowULong(hwnd, SLIDERARMPOS);
    625626          USHORT usWidth=WinQueryWindowUShort(hwnd, SLIDERARMWIDTH);
    626           if(x<=lPos+usWidth+SLOFFSET && x>=lPos+SLOFFSET && 
     627          if(x<=lPos+usWidth+SLOFFSET && x>=lPos+SLOFFSET &&
    627628             y<=WinQueryWindowUShort(hwnd, SLIDERY)+WinQueryWindowUShort(hwnd, SLIDERCY)
    628629             && y>=WinQueryWindowUShort(hwnd, SLIDERY)) {
     
    689690        hps=WinBeginPaint(hwnd, NULLHANDLE, NULLHANDLE);
    690691        rcl3=rcl=rcl2;
    691         /* Arm pos */       
     692        /* Arm pos */
    692693        rcl2.xLeft+=lPos;
    693         /* Arm size */       
     694        /* Arm size */
    694695        rcl2.xRight=rcl2.xLeft+usWidth;
    695        
     696
    696697        /* Shaft */
    697698        /* Left part */
     
    742743        if(!rc)
    743744          {
    744             WinFillRect(hps,&rcl2, CLR_PALEGRAY);       
     745            WinFillRect(hps,&rcl2, CLR_PALEGRAY);
    745746            WinDrawBorder(hps, &rcl2, 2, 2, 0, 0 ,0x0400);
    746747          }
     
    779780      return (MRESULT)FALSE;
    780781    }
    781  
     782
    782783  switch(poi->idItem)
    783784    {
     
    786787        //DosBeep(5000, 50);
    787788      WinDrawBitmap(poi->hps, ciArm.hbmSource,
    788                     &ciArm.rclSource, 
     789                    &ciArm.rclSource,
    789790                    (PPOINTL)&poi->rclItem,
    790791                    0, 0,
     
    796797        WinDrawBitmap(poi->hps,
    797798                      ci.hbmSource,
    798                       &ci.rclSource, 
     799                      &ci.rclSource,
    799800                      (PPOINTL)&poi->rclItem,
    800801                      0, 0,
     
    815816        if(!WinDrawBitmap(poi->hps, ci.hbmSource,
    816817                          &rcl,
    817                           //&ci.rclSource, 
     818                          //&ci.rclSource,
    818819                          (PPOINTL)&poi->rclItem,
    819820                          0, 0,
     
    863864        char text[100];
    864865        CONTROLINFO ci;
    865        
     866
    866867        ci=ciControls[CTRLIDX_PLAYTIME];//ciVolSliderArm;
    867        
     868
    868869        hps=WinBeginPaint(hwnd, NULLHANDLE, NULL);
    869870        if(WinQueryWindowText(hwnd, sizeof(text), text))
     
    871872            POINTL ptl= {0};
    872873            WinDrawBitmap(hps, ci.hbmSource,
    873                           &ci.rclSource, 
     874                          &ci.rclSource,
    874875                          &ptl,
    875876                          0, 0,
  • branches/v2.9_Lars/classes/mm-progs/MMPlayer/display.c

    r2 r88  
    2121 * If you need another license for your project/product (commercial,
    2222 * noncommercial, whatever) contact me at
    23  * 
     23 *
    2424 * http://www.os2world.com/cdwriting
    2525 * http://www.geocities.com/SiliconValley/Sector/5785/
     
    4242#include <stdio.h>
    4343#include <stdlib.h>
     44#include <string.h>
    4445
    4546/* 0: time, 1: remaining, 2: filename */
     
    8889
    8990
    90 /* This funktion sets the playtime display according to the user settings.
     91/* This function sets the playtime display according to the user settings.
    9192   Supported are remaining time, elapsed time and ID3-tag display */
    92 void setPlayTimeText(hwndFrame)
     93void setPlayTimeText(HWND hwndFrame)
    9394{
    9495  char text[CCHMAXPATH];
     
    112113        /* Show filename */
    113114        text[0]=0;
    114        
     115
    115116        if(ulTemp>=3)
    116117          text[0]=0;
    117118        else if(ulTemp>=0)
    118119          strcpy(text, chrPtrName);
    119        
     120
    120121#if 0
    121122        else
    122123          ulTemp=15; /* Show playtime for midi files */
    123124#endif
    124      
     125
    125126        if(ulTemp>=3||!strlen(text)) {
    126127          /* Play time */
     
    135136        ulDisplayTimer=ulTemp;
    136137        break;
    137        
     138
    138139#if 0
    139140        /* Show ID3 tag */
     
    149150            if(ulTemp>=15)
    150151              text[0]=0;
    151             else if(ulTemp>=12) 
     152            else if(ulTemp>=12)
    152153              methodPtr(cwAudio, &chrPtr, sizeof(text), IDINFO_GENRE);
    153154            else if(ulTemp>=9)
     
    162163          else
    163164            ulTemp=15; /* Show playtime for midi files */
    164          
     165
    165166          if(ulTemp>=15||!strlen(text)) {
    166167            /* Play time */
  • branches/v2.9_Lars/classes/mm-progs/MMPlayer/mmplayer.c

    r46 r88  
    2121 * If you need another license for your project/product (commercial,
    2222 * noncommercial, whatever) contact me at
    23  * 
     23 *
    2424 * http://www.os2world.com/cdwriting
    2525 * http://www.geocities.com/SiliconValley/Sector/5785/
     
    5252#include "sys_funcs.h"
    5353
    54 #ifndef OPEN_DEFAULT 
     54#ifndef OPEN_DEFAULT
    5555/*  Open views for the wpOpen() method */
    5656
     
    135135
    136136/* Every folder has one running play thread to handle play commands */
    137 void _Optlink playThreadFunc (void *arg);
     137void playThreadFunc (void *arg);
    138138void controlPlaying(HWND hwndDialog, ULONG ulAction, ULONG ulReserved);
    139139BOOL stopAudioFile(HWND hwndFrame);
     
    211211  WinQueryPointerPos(HWND_DESKTOP, &ptl) ;
    212212  WinMapWindowPoints(HWND_DESKTOP,hwnd,&ptl,1);
    213   WinPopupMenu(hwnd, hwnd, hwndPopup, 
     213  WinPopupMenu(hwnd, hwnd, hwndPopup,
    214214               ptl.x, ptl.y, 0, PU_HCONSTRAIN | PU_VCONSTRAIN |
    215                PU_KEYBOARD | PU_MOUSEBUTTON1 | PU_MOUSEBUTTON2 | PU_NONE  ); 
    216  
     215               PU_KEYBOARD | PU_MOUSEBUTTON1 | PU_MOUSEBUTTON2 | PU_NONE  );
     216
    217217}
    218218
     
    227227  hResource=BMP_RESSOURCEHANDLE; //_queryResModuleHandle();
    228228  hps=WinGetPS(HWND_DESKTOP);
    229  
     229
    230230  /* The main BMP */
    231231  allBMPs[MAIN_BMP_IDX].hbm=GpiLoadBitmap(hps, hResource, IDBMP_TOPMIDDLE, 0, 0);
     
    327327  WinSetWindowPos(WinWindowFromID(hwnd, ci.id),HWND_TOP, ci.rclSource.xLeft,ci.rclSource.yBottom,
    328328                  ci.rclSource.xRight-ci.rclSource.xLeft,
    329                   ci.rclSource.yTop-ci.rclSource.yBottom, SWP_MOVE|SWP_SIZE); 
     329                  ci.rclSource.yTop-ci.rclSource.yBottom, SWP_MOVE|SWP_SIZE);
    330330  oldPlayTimeProc=WinSubclassWindow(WinWindowFromID(hwnd, IDST_MMPLAYERPLAYTIME), playTimeTextProc);
    331331
    332332  /* Pos slider */
    333333  ci=ciControls[CTRLIDX_POSSLIDER];//ciPosSlider;
    334   WinCreateWindow(hwnd, SLIDER_CLASS, "", WS_VISIBLE | WS_TABSTOP, 0,0, 10, 10, 
     334  WinCreateWindow(hwnd, SLIDER_CLASS, "", WS_VISIBLE | WS_TABSTOP, 0,0, 10, 10,
    335335                  hwnd, HWND_TOP, ci.id, NULLHANDLE, NULLHANDLE);
    336336  WinSetWindowPos(WinWindowFromID(hwnd, ci.id),HWND_TOP, ci.rclDest.xLeft, ci.rclDest.yBottom,
    337337                  ci.rclSource.xRight-ci.rclSource.xLeft,
    338338                  ci.rclSource.yTop-ci.rclSource.yBottom, SWP_MOVE | SWP_SIZE);
    339  
     339
    340340  WinSendMsg(WinWindowFromID(hwnd, ci.id),SLM_SETSLIDERINFO,
    341341             MPFROM2SHORT(SMA_SLIDERARMDIMENSIONS,0),
    342              MPFROM2SHORT( 9, 9)); 
     342             MPFROM2SHORT( 9, 9));
    343343
    344344  /* Vol slider */
    345345  ci=ciControls[CTRLIDX_VOLSLIDER];//ciVolSlider;
    346   WinCreateWindow(hwnd, SLIDER_CLASS, "", WS_VISIBLE | WS_TABSTOP, 0,0, 10, 10, 
     346  WinCreateWindow(hwnd, SLIDER_CLASS, "", WS_VISIBLE | WS_TABSTOP, 0,0, 10, 10,
    347347                  hwnd, HWND_TOP, ci.id, NULLHANDLE, NULLHANDLE);
    348348  WinSetWindowPos(WinWindowFromID(hwnd, ci.id),HWND_TOP, ci.rclDest.xLeft, ci.rclDest.yBottom,
     
    351351  WinSendMsg(WinWindowFromID(hwnd, ci.id),SLM_SETSLIDERINFO,
    352352             MPFROM2SHORT(SMA_SLIDERARMDIMENSIONS,0),
    353              MPFROM2SHORT( 9, 9)); 
     353             MPFROM2SHORT( 9, 9));
    354354
    355355}
     
    370370  if((rc & 0x0000ffff)!=MCIERR_SUCCESS) {
    371371    /* Problem with MCI. Clean up. The Timer will be stopped in the method */
    372     stopAudioFile(hwndFrame); 
     372    stopAudioFile(hwndFrame);
    373373  }
    374374  else {
    375375    if(!stricmp(retMsg, "stopped")) {
    376376      /* Audio file played. */
    377       stopAudioFile(hwndFrame); 
     377      stopAudioFile(hwndFrame);
    378378    }
    379379    showPlayTimeDisplay(hwndFrame, TRUE);/* Ensure display is visible */
     
    391391      return usItems;
    392392    }
    393  
     393
    394394  return 0;
    395395}
     
    397397BOOL DrgVerifyTypeCW(PDRAGITEM pDragItem, char * chrType)
    398398{
    399   /* DrgVerifyType() seems not to work when several types are in the list?? 
     399  /* DrgVerifyType() seems not to work when several types are in the list??
    400400     Dokumentation says, it works... */
    401401  /* Only check for a single type for now */
     
    467467    for(ulHash=0;*theString!='\0'; theString++)
    468468      ulHash=*theString+37*ulHash;
    469  
     469
    470470  return ulHash%HASHSIZE;
    471471}
     
    538538MRESULT handleDrag0ver(PDRAGINFO pdi, HWND hwnd)
    539539{
    540  
     540
    541541  /* Only accept one file */
    542542  if(DrgGetNumObjects(pdi)!=1) {
     
    546546  if(DrgCheckForKnownType(pdi, hwnd))
    547547    return MRFROM2SHORT(DOR_DROP, DO_COPY);
    548  
    549   return MRFROM2SHORT(DOR_NEVERDROP, DO_COPY); 
     548
     549  return MRFROM2SHORT(DOR_NEVERDROP, DO_COPY);
    550550}
    551551
     
    562562      char chrFile[CCHMAXPATH];
    563563      PDRAGITEM pDragItem;
    564      
     564
    565565      pDragItem=DrgQueryDragitemPtr(pdi, 0);
    566       DrgQueryStrName(pDragItem->hstrSourceName,sizeof(chrFile), chrFile); 
    567       DrgQueryStrName(pDragItem->hstrContainerName,sizeof(chrSourceName), chrSourceName); 
     566      DrgQueryStrName(pDragItem->hstrSourceName,sizeof(chrFile), chrFile);
     567      DrgQueryStrName(pDragItem->hstrContainerName,sizeof(chrSourceName), chrSourceName);
    568568      strcat(chrSourceName, chrFile);
    569      
     569
    570570      /* Start new file */
    571571      controlPlaying(hwnd, PLAY_FIRST, 0);
     
    608608             MPFROM2SHORT(SC_SIZE, TRUE),
    609609             MPFROMP(NULL));
    610  
     610
    611611  WinSendMsg(hwndMenu, /* Delete Minimize from the system menu */
    612612             MM_DELETEITEM,
    613613             MPFROM2SHORT(SC_MINIMIZE, TRUE),
    614614             MPFROMP(NULL));
    615  
     615
    616616  WinSendMsg(hwndMenu, /* Delete Maximize from the system menu */
    617617             MM_DELETEITEM,
     
    648648
    649649  switch (msg)
    650     {     
     650    {
    651651    case DM_DRAGOVER:
    652652      {
     
    676676        swctl.fbJump=SWL_JUMPABLE;
    677677        WinAddSwitchEntry(&swctl);
    678        
     678
    679679        adjustDialogControlPos(hwnd);
    680        
     680
    681681        /* Set volume slider*/
    682682        WinSendMsg( WinWindowFromID(hwnd, IDSL_MMPLAYERVOLUME),
     
    684684                    MPFROM2SHORT(SMA_SLIDERARMPOSITION,SMA_INCREMENTVALUE),
    685685                    MPFROMLONG( ulVolume));
    686        
     686
    687687        /* Subclass buttons for DnD */
    688688        orgButtonProc=WinSubclassWindow(WinWindowFromID(hwnd, IDPB_MMPLAYERPLAY), buttonProc);
    689689        WinSubclassWindow(WinWindowFromID(hwnd, IDPB_MMPLAYERPAUSE), buttonProc);
    690690        WinSubclassWindow(WinWindowFromID(hwnd, IDPB_MMPLAYERSTOP), buttonProc);
    691                
     691
    692692        FixSysMenu(hwnd);
    693693
     
    695695        if(allBMPs[MAIN_BMP_IDX].hbm) {
    696696          SWP swp;
    697          
    698           WinQueryWindowPos(WinWindowFromID(hwnd, FID_TITLEBAR), &swp);         
    699           WinSetWindowPos(WinWindowFromID(hwnd, ID_CLIENT), NULLHANDLE, 
    700                           WinQuerySysValue(HWND_DESKTOP, SV_CXDLGFRAME), 
    701                           WinQuerySysValue(HWND_DESKTOP, SV_CYDLGFRAME), 
     697
     698          WinQueryWindowPos(WinWindowFromID(hwnd, FID_TITLEBAR), &swp);
     699          WinSetWindowPos(WinWindowFromID(hwnd, ID_CLIENT), NULLHANDLE,
     700                          WinQuerySysValue(HWND_DESKTOP, SV_CXDLGFRAME),
     701                          WinQuerySysValue(HWND_DESKTOP, SV_CYDLGFRAME),
    702702                          allBMPs[MAIN_BMP_IDX].bmpInfoHdr.cx,
    703703                          allBMPs[MAIN_BMP_IDX].bmpInfoHdr.cy,
    704704                          SWP_SIZE|SWP_MOVE);
    705705          orgBgProc=WinSubclassWindow(WinWindowFromID(hwnd, ID_CLIENT), bgProc);
    706          
     706
    707707          WinSetWindowPos(hwnd, NULLHANDLE, 0, 0,
    708708                          allBMPs[MAIN_BMP_IDX].bmpInfoHdr.cx+WinQuerySysValue(HWND_DESKTOP, SV_CXDLGFRAME)*2,
     
    732732      /*****************************************************/
    733733    case WM_APPTERMINATENOTIFY:
    734      
     734
    735735      switch(SHORT1FROMMP(mp1))
    736736        {
     
    745745          return MRFALSE;
    746746        case NOTIFY_CONTEXT:
    747           /* Show context menu. */           
     747          /* Show context menu. */
    748748          HlpContextMenu(hwnd, iWhichDisplay+ID_MENUITEMELAPSED, TRUE);
    749749          return MRFALSE;
     
    752752        }
    753753      return MRFALSE;
    754      
     754
    755755      /*****************************************************/
    756756      /* The following two messages are for device sharing */
     
    760760        char chrCommand[100];
    761761        int iWavePriv;
    762    
     762
    763763        iWavePriv=ulPid;
    764764
     
    791791      /* SETPOSITIONADVICE does not work for some reason,  */
    792792      /* so a timer is used. Yes, it's quit cumbersome...  */
    793       /*****************************************************/ 
     793      /*****************************************************/
    794794    case WM_TIMER:
    795795      if(SHORT1FROMMP(mp1)==IDTIMER_PLAY) {
     
    812812            /* Set slider position */
    813813
    814             WinPostMsg( WinWindowFromID(hwnd, IDSL_MMPLAYERPOSBAR), 
     814            WinPostMsg( WinWindowFromID(hwnd, IDSL_MMPLAYERPOSBAR),
    815815                        SLM_SETSLIDERINFO,
    816816                        MPFROM2SHORT(SMA_SLIDERARMPOSITION,SMA_INCREMENTVALUE),
     
    898898        default:
    899899          break;
    900         }             
     900        }
    901901      break;
    902902
     
    909909        char chrCommand[50];
    910910        char retMsg[20];
    911        
     911
    912912        switch(SHORT2FROMMP(mp1))
    913913          {
     
    939939                      static long lLastPos=0;
    940940                      long lPos=LONGFROMMP(mp2);
    941              
     941
    942942                      bPosDragging=TRUE;
    943943                      lPos*=ulTotalLength/100;
    944944                      if(lPos/1000!=lLastPos) {
    945945                        /* Prevent flickering */
    946                         sprintf(chrCommand, "%d:%02d", lPos/1000/60, (lPos/1000)%60);
     946                        sprintf(chrCommand, "%lu:%02lu", lPos/1000/60, (lPos/1000)%60);
    947947                        WinSetWindowText(WinWindowFromID(hwnd, IDST_MMPLAYERPLAYTIME), chrCommand);
    948948                        lLastPos=lPos/1000;
     
    963963                    {
    964964                      ULONG ulValue;
    965                      
     965
    966966                      ulValue=LONGFROMMP(mp2);
    967967                      ulVolume=ulValue;
     
    975975
    976976                      bPosDragging=FALSE;
    977                       lPos*=1000;                     
     977                      lPos*=1000;
    978978                      lPos*=ulTotalLength/100;
    979979                      lPos/=1000;// Use only full seconds
     
    982982                      seekAudioFile(lPos);
    983983                      /* restart timer */
    984                       WinStartTimer(WinQueryAnchorBlock(hwnd), hwnd, IDTIMER_PLAY, PLAYTIMER_DELAY); 
     984                      WinStartTimer(WinQueryAnchorBlock(hwnd), hwnd, IDTIMER_PLAY, PLAYTIMER_DELAY);
    985985                      ulPos=lPos/1000;
    986986                      break;
     
    999999      break;
    10001000    }/* switch */
    1001  
     1001
    10021002  return WinDefDlgProc( hwnd, msg, mp1, mp2);
    10031003}
     
    10191019                     ))==NULLHANDLE)
    10201020    return FALSE;
    1021  
     1021
    10221022  ulSize=sizeof(chrFileName);
    1023  
     1023
    10241024  if ((rc = DosOpen(chrFileName, &handle, &act,
    10251025                    0L, 0, OPEN_ACTION_OPEN_IF_EXISTS,
     
    10851085BOOL writeVolumeToIni(char * iniFile, char* chrApp, char *chrKey, ULONG ulVolume)
    10861086{
    1087  
     1087
    10881088  return IniSaveInt(iniFile, chrApp, chrKey, ulVolume);
    10891089}
     
    11081108  if(MMIO_SUCCESS!=mmioIdentifyFile(chrFile, &mmioInfo, &mmFormatInfo, &fourCC, 0,0))
    11091109    {
    1110       return 0; 
     1110      return 0;
    11111111    }
    11121112
    11131113  if(mmFormatInfo.ulMediaType==MMIO_MEDIATYPE_MIDI)
    11141114    return 1; /* Midi */
    1115  
     1115
    11161116  /* Any other audio file */
    11171117  return 2;
     
    11431143  if(hab) {
    11441144    hmq=WinCreateMsgQueue(hab,0);
    1145     if(hmq) { 
    1146       /* Check if user started prog by hand */   
     1145    if(hmq) {
     1146      /* Check if user started prog by hand */
    11471147      if(argc!=NUMPARAMS) {/* Not the right num of params */
    11481148        pmUsage();
     
    11611161          {
    11621162            /* FIXME: Identify error !!!*/
    1163            
     1163
    11641164          };
    1165        
     1165
    11661166        if(rc==1)
    11671167          {
     
    11761176          strcpy(chrClassName, params[1]);
    11771177
    1178         /* Get our ressource dll */ 
     1178        /* Get our ressource dll */
    11791179        //        RESSOURCEHANDLE=0;
    11801180        RESSOURCEHANDLE=queryResModuleHandle(argv[0]);
     
    11891189        WinRegisterClass(WinQueryAnchorBlock(HWND_DESKTOP), SLIDER_CLASS, privateSliderProc,0, SLADDBYTES);
    11901190
    1191         _loadBmps();       
     1191        _loadBmps();
    11921192        DosGetInfoBlocks(&ptib, &ppib);
    11931193        ulPid=ppib->pib_ulpid;
    11941194        _beginthread(playThreadFunc,NULL,8192*16, NULLHANDLE); //Fehlerbehandlung fehlt
    11951195
    1196         if( WinDlgBox( HWND_DESKTOP, NULLHANDLE, decodeStatusDialogProc, 
     1196        if( WinDlgBox( HWND_DESKTOP, NULLHANDLE, decodeStatusDialogProc,
    11971197                       RESSOURCEHANDLE, IDDLG_MMPLAYER, 0) == DID_ERROR )
    11981198          {
    11991199            /*
    1200               Text:   
    1201               Title:  "Installation problem"                       
    1202               */             
     1200              Text:
     1201              Title:  "Installation problem"
     1202              */
    12031203            messageBox( text, IDSTR_CONVERTDIALOGERROR , sizeof(text),
    12041204                        title, IDSTR_INSTALLERRORTITLE , sizeof(title),
  • branches/v2.9_Lars/classes/mm-progs/MMPlayer/playaudio.c

    r57 r88  
    2121 * If you need another license for your project/product (commercial,
    2222 * noncommercial, whatever) contact me at
    23  * 
     23 *
    2424 * http://www.os2world.com/cdwriting
    2525 * http://www.geocities.com/SiliconValley/Sector/5785/
     
    7373  char chrCommand[50];
    7474  char retMsg[100];
    75   ULONG rc;
    7675
    7776  iWavePriv=ulPid;
     
    7978  if(bPaused) {
    8079    sprintf(chrCommand,"RESUME wave%d wait", iWavePriv);
    81     rc = mciSendString(chrCommand, retMsg, sizeof(retMsg), 0, 0);
     80    mciSendString(chrCommand, retMsg, sizeof(retMsg), 0, 0);
    8281    bPaused=FALSE;
    8382    showPlayTimeDisplay( hwndFrame, TRUE);
     
    8584  else {
    8685    sprintf(chrCommand,"PAUSE wave%d wait", iWavePriv);
    87     rc = mciSendString(chrCommand, retMsg, sizeof(retMsg), 0, 0);
     86    mciSendString(chrCommand, retMsg, sizeof(retMsg), 0, 0);
    8887    bPaused=TRUE;
    8988  }
     
    9695  char chrCommand[50];
    9796  char retMsg[100];
    98   ULONG rc;
    9997
    10098  iWavePriv=ulPid;
    101  
     99
    102100  if(bIsPlaying) {
    103101    sprintf(chrCommand,"stop wave%d wait", iWavePriv);
    104     rc = mciSendString(chrCommand, retMsg, sizeof(retMsg), 0, 0);
    105    
     102    mciSendString(chrCommand, retMsg, sizeof(retMsg), 0, 0);
     103
    106104    sprintf(chrCommand,"close wave%d wait", iWavePriv);
    107     rc = mciSendString(chrCommand, retMsg, sizeof(retMsg), 0, 0);
    108    
     105    mciSendString(chrCommand, retMsg, sizeof(retMsg), 0, 0);
     106
    109107    _resetDisplay(hwndFrame);
    110108    showPlayTimeDisplay( hwndFrame, TRUE);
    111109    WinStopTimer(WinQueryAnchorBlock(hwndFrame), hwndFrame, IDTIMER_PLAY);
    112110    bIsPlaying=FALSE;
    113     bPaused=FALSE; 
     111    bPaused=FALSE;
    114112  }
    115113  return TRUE;
     
    155153  hwndNotify=hwndFrame;//WinWindowFromID(hwndTop, IDDLG_TOPMIDDLE);
    156154
    157   /* Start audio file */ 
     155  /* Start audio file */
    158156  sprintf(chrCommand,"open \"%s\"  type %s alias wave%d SHAREABLE wait", chrSourceName, chrDevice, iWavePriv);
    159157  rc = mciSendString(chrCommand, retMsg, sizeof(retMsg), hwndNotify, 0);
    160158  if((rc & 0x0000ffff)!=MCIERR_SUCCESS)
    161159    return 0;
    162  
     160
    163161  /* Set time format */
    164162  sprintf(chrCommand,"SET wave%d TIME FORMAT MILLISECONDS wait", iWavePriv);
     
    168166    rc = mciSendString(chrCommand, retMsg, sizeof(retMsg), 0, 0);
    169167    return 0;
    170   }     
     168  }
    171169
    172170#if 0
     
    219217  char chrCommand[50];
    220218  char retMsg[20];
    221   APIRET rc;
    222219
    223220  sprintf(chrCommand,"PLAY wave%ld from %ld", ulPid, lPosSec);
    224   rc=mciSendString(chrCommand, retMsg, sizeof(retMsg), 0, 0);
     221  mciSendString(chrCommand, retMsg, sizeof(retMsg), 0, 0);
    225222  //  ulStartPosition=lPosSec;
    226223  bPaused=FALSE;
     
    269266
    270267/* Every folder has one running play thread to handle play commands */
    271 void _Optlink playThreadFunc (void *arg)
     268void playThreadFunc (void *arg)
    272269{
    273270  HAB  hab;
  • branches/v2.9_Lars/classes/mm-progs/audioconverter/audconv.c

    r74 r88  
    380380        if((hmmioTarget=mmioOpen(chrTargetName, &mmioinfo, MMIO_WRITE|MMIO_CREATE))==NULLHANDLE)
    381381          {
    382             UCHAR chrError[CCHMAXPATH];
     382            UCHAR chrError[64];
    383383            UCHAR text[CCHMAXPATH*2];
    384384            rc=mmioGetLastError(hmmioTarget);
    385             mciGetErrorString(mmioinfo.ulErrorRet ,chrError, sizeof(chrError));
     385            mciGetErrorString(mmioinfo.ulErrorRet ,chrError, sizeof(chrError)-1);
    386386            snprintf((PCHAR)text, sizeof(text)-1,"mmioOpen error with file %s:\n%s\n%lu", chrTargetName, chrError,mmioinfo.ulErrorRet);
    387387            mmioClose(hmmio,0);
  • branches/v2.9_Lars/classes/mm-progs/imageconverter/imgconv.c

    r74 r88  
    143143    SIZEL         ImageSize;
    144144    ULONG         dwHeight, dwWidth;
    145     SHORT         wBitCount;
    146145    FOURCC        fccStorageSystem;
    147146    ULONG         dwPadBytes;
     
    244243    dwHeight = mmImgHdr.mmXDIBHeader.BMPInfoHeader2.cy;
    245244    dwWidth = mmImgHdr.mmXDIBHeader.BMPInfoHeader2.cx;
    246     wBitCount = mmImgHdr.mmXDIBHeader.BMPInfoHeader2.cBitCount;
    247245    dwRowBits = dwWidth * mmImgHdr.mmXDIBHeader.BMPInfoHeader2.cBitCount;
    248246    dwNumRowBytes = dwRowBits >> 3;
     
    876874
    877875        if (ulBytesRead) {
    878           LONG lWritten;
    879           lWritten=mmioWrite (hmmioTarget, pRowBuffer, (ULONG)ulBytesRead);
     876          mmioWrite (hmmioTarget, pRowBuffer, (ULONG)ulBytesRead);
    880877#ifdef DEBUG
    881878        HlpWriteToTrapLog("ulBytesRead: %d, lWritten: %d.\n", ulBytesRead, lWritten);
  • branches/v2.9_Lars/classes/mm-progs/videoplayer/mmplayer.c

    r46 r88  
    2121 * If you need another license for your project/product (commercial,
    2222 * noncommercial, whatever) contact me at
    23  * 
     23 *
    2424 * http://www.os2world.com/cdwriting
    2525 * http://www.geocities.com/SiliconValley/Sector/5785/
     
    5555#include "sys_funcs.h"
    5656
    57 #ifndef OPEN_DEFAULT 
     57#ifndef OPEN_DEFAULT
    5858/*  Open views for the wpOpen() method */
    5959
     
    140140
    141141/* Every folder has one running play thread to handle play commands */
    142 void _Optlink playThreadFunc (void *arg);
     142void playThreadFunc (void *arg);
    143143void controlPlaying(HWND hwndDialog, ULONG ulAction, ULONG ulReserved);
    144144BOOL stopAudioFile(HWND hwndFrame);
     
    216216  WinQueryPointerPos(HWND_DESKTOP, &ptl) ;
    217217  WinMapWindowPoints(HWND_DESKTOP,hwnd,&ptl,1);
    218   WinPopupMenu(hwnd, hwnd, hwndPopup, 
     218  WinPopupMenu(hwnd, hwnd, hwndPopup,
    219219               ptl.x, ptl.y, 0, PU_HCONSTRAIN | PU_VCONSTRAIN |
    220                PU_KEYBOARD | PU_MOUSEBUTTON1 | PU_MOUSEBUTTON2 | PU_NONE  ); 
    221  
     220               PU_KEYBOARD | PU_MOUSEBUTTON1 | PU_MOUSEBUTTON2 | PU_NONE  );
     221
    222222}
    223223
     
    232232  hResource=BMP_RESSOURCEHANDLE; //_queryResModuleHandle();
    233233  hps=WinGetPS(HWND_DESKTOP);
    234  
     234
    235235  /* The main BMP */
    236236  allBMPs[MAIN_BMP_IDX].hbm=GpiLoadBitmap(hps, hResource, IDBMP_TOPMIDDLE, 0, 0);
     
    332332  WinSetWindowPos(WinWindowFromID(hwnd, ci.id),HWND_TOP, ci.rclSource.xLeft,ci.rclSource.yBottom,
    333333                  ci.rclSource.xRight-ci.rclSource.xLeft,
    334                   ci.rclSource.yTop-ci.rclSource.yBottom, SWP_MOVE|SWP_SIZE); 
     334                  ci.rclSource.yTop-ci.rclSource.yBottom, SWP_MOVE|SWP_SIZE);
    335335  oldPlayTimeProc=WinSubclassWindow(WinWindowFromID(hwnd, IDST_MMPLAYERPLAYTIME), playTimeTextProc);
    336336
    337337  /* Pos slider */
    338338  ci=ciControls[CTRLIDX_POSSLIDER];//ciPosSlider;
    339   WinCreateWindow(hwnd, SLIDER_CLASS, "", WS_VISIBLE | WS_TABSTOP, 0,0, 10, 10, 
     339  WinCreateWindow(hwnd, SLIDER_CLASS, "", WS_VISIBLE | WS_TABSTOP, 0,0, 10, 10,
    340340                  hwnd, HWND_TOP, ci.id, NULLHANDLE, NULLHANDLE);
    341341  WinSetWindowPos(WinWindowFromID(hwnd, ci.id),HWND_TOP, ci.rclDest.xLeft, ci.rclDest.yBottom,
    342342                  ci.rclSource.xRight-ci.rclSource.xLeft,
    343343                  ci.rclSource.yTop-ci.rclSource.yBottom, SWP_MOVE | SWP_SIZE);
    344  
     344
    345345  WinSendMsg(WinWindowFromID(hwnd, ci.id),SLM_SETSLIDERINFO,
    346346             MPFROM2SHORT(SMA_SLIDERARMDIMENSIONS,0),
    347              MPFROM2SHORT( 9, 9)); 
     347             MPFROM2SHORT( 9, 9));
    348348
    349349  /* Vol slider */
    350350  ci=ciControls[CTRLIDX_VOLSLIDER];//ciVolSlider;
    351   WinCreateWindow(hwnd, SLIDER_CLASS, "", WS_VISIBLE | WS_TABSTOP, 0,0, 10, 10, 
     351  WinCreateWindow(hwnd, SLIDER_CLASS, "", WS_VISIBLE | WS_TABSTOP, 0,0, 10, 10,
    352352                  hwnd, HWND_TOP, ci.id, NULLHANDLE, NULLHANDLE);
    353353  WinSetWindowPos(WinWindowFromID(hwnd, ci.id),HWND_TOP, ci.rclDest.xLeft, ci.rclDest.yBottom,
     
    356356  WinSendMsg(WinWindowFromID(hwnd, ci.id),SLM_SETSLIDERINFO,
    357357             MPFROM2SHORT(SMA_SLIDERARMDIMENSIONS,0),
    358              MPFROM2SHORT( 9, 9)); 
     358             MPFROM2SHORT( 9, 9));
    359359
    360360}
     
    375375  if((rc & 0x0000ffff)!=MCIERR_SUCCESS) {
    376376    /* Problem with MCI. Clean up. The Timer will be stopped in the method */
    377     stopAudioFile(hwndFrame); 
     377    stopAudioFile(hwndFrame);
    378378  }
    379379  else {
    380380    if(!stricmp(retMsg, "stopped")) {
    381381      /* Audio file played. */
    382       stopAudioFile(hwndFrame); 
     382      stopAudioFile(hwndFrame);
    383383    }
    384384    showPlayTimeDisplay(hwndFrame, TRUE);/* Ensure display is visible */
     
    396396      return usItems;
    397397    }
    398  
     398
    399399  return 0;
    400400}
     
    402402BOOL DrgVerifyTypeCW(PDRAGITEM pDragItem, char * chrType)
    403403{
    404   /* DrgVerifyType() seems not to work when several types are in the list?? 
     404  /* DrgVerifyType() seems not to work when several types are in the list??
    405405     Dokumentation says, it works... */
    406406  /* Only check for a single type for now */
     
    472472    for(ulHash=0;*theString!='\0'; theString++)
    473473      ulHash=*theString+37*ulHash;
    474  
     474
    475475  return ulHash%HASHSIZE;
    476476}
     
    543543MRESULT handleDrag0ver(PDRAGINFO pdi, HWND hwnd)
    544544{
    545  
     545
    546546  /* Only accept one file */
    547547  if(DrgGetNumObjects(pdi)!=1) {
     
    551551  if(DrgCheckForKnownType(pdi, hwnd))
    552552    return MRFROM2SHORT(DOR_DROP, DO_COPY);
    553  
    554   return MRFROM2SHORT(DOR_NEVERDROP, DO_COPY); 
     553
     554  return MRFROM2SHORT(DOR_NEVERDROP, DO_COPY);
    555555}
    556556
     
    567567      char chrFile[CCHMAXPATH];
    568568      PDRAGITEM pDragItem;
    569      
     569
    570570      pDragItem=DrgQueryDragitemPtr(pdi, 0);
    571       DrgQueryStrName(pDragItem->hstrSourceName,sizeof(chrFile), chrFile); 
    572       DrgQueryStrName(pDragItem->hstrContainerName,sizeof(chrSourceName), chrSourceName); 
     571      DrgQueryStrName(pDragItem->hstrSourceName,sizeof(chrFile), chrFile);
     572      DrgQueryStrName(pDragItem->hstrContainerName,sizeof(chrSourceName), chrSourceName);
    573573      strcat(chrSourceName, chrFile);
    574      
     574
    575575      /* Start new file */
    576576      controlPlaying(hwnd, PLAY_FIRST, 0);
     
    613613             MPFROM2SHORT(SC_SIZE, TRUE),
    614614             MPFROMP(NULL));
    615  
     615
    616616  WinSendMsg(hwndMenu, /* Delete Minimize from the system menu */
    617617             MM_DELETEITEM,
    618618             MPFROM2SHORT(SC_MINIMIZE, TRUE),
    619619             MPFROMP(NULL));
    620  
     620
    621621  WinSendMsg(hwndMenu, /* Delete Maximize from the system menu */
    622622             MM_DELETEITEM,
     
    653653
    654654  switch (msg)
    655     {     
     655    {
    656656    case DM_DRAGOVER:
    657657      {
     
    682682        swctl.fbJump=SWL_JUMPABLE;
    683683        WinAddSwitchEntry(&swctl);
    684        
     684
    685685        adjustDialogControlPos(hwnd);
    686        
     686
    687687        /* Set volume slider*/
    688688        WinSendMsg( WinWindowFromID(hwnd, IDSL_MMPLAYERVOLUME),
     
    690690                    MPFROM2SHORT(SMA_SLIDERARMPOSITION,SMA_INCREMENTVALUE),
    691691                    MPFROMLONG( ulVolume));
    692        
     692
    693693        /* Subclass buttons for DnD */
    694694        orgButtonProc=WinSubclassWindow(WinWindowFromID(hwnd, IDPB_MMPLAYERPLAY), buttonProc);
    695695        WinSubclassWindow(WinWindowFromID(hwnd, IDPB_MMPLAYERPAUSE), buttonProc);
    696696        WinSubclassWindow(WinWindowFromID(hwnd, IDPB_MMPLAYERSTOP), buttonProc);
    697                
     697
    698698        FixSysMenu(hwnd);
    699699
     
    701701        if(allBMPs[MAIN_BMP_IDX].hbm) {
    702702          SWP swp;
    703          
    704           WinQueryWindowPos(WinWindowFromID(hwnd, FID_TITLEBAR), &swp);         
    705           WinSetWindowPos(WinWindowFromID(hwnd, ID_CLIENT), NULLHANDLE, 
    706                           WinQuerySysValue(HWND_DESKTOP, SV_CXDLGFRAME), 
    707                           WinQuerySysValue(HWND_DESKTOP, SV_CYDLGFRAME), 
     703
     704          WinQueryWindowPos(WinWindowFromID(hwnd, FID_TITLEBAR), &swp);
     705          WinSetWindowPos(WinWindowFromID(hwnd, ID_CLIENT), NULLHANDLE,
     706                          WinQuerySysValue(HWND_DESKTOP, SV_CXDLGFRAME),
     707                          WinQuerySysValue(HWND_DESKTOP, SV_CYDLGFRAME),
    708708                          allBMPs[MAIN_BMP_IDX].bmpInfoHdr.cx,
    709709                          allBMPs[MAIN_BMP_IDX].bmpInfoHdr.cy,
    710710                          SWP_SIZE|SWP_MOVE);
    711711          orgBgProc=WinSubclassWindow(WinWindowFromID(hwnd, ID_CLIENT), bgProc);
    712          
     712
    713713          WinSetWindowPos(hwnd, NULLHANDLE, 0, 0,
    714714                          allBMPs[MAIN_BMP_IDX].bmpInfoHdr.cx+WinQuerySysValue(HWND_DESKTOP, SV_CXDLGFRAME)*2,
     
    741741      /*****************************************************/
    742742    case WM_APPTERMINATENOTIFY:
    743      
     743
    744744      switch(SHORT1FROMMP(mp1))
    745745        {
     
    754754          return MRFALSE;
    755755        case NOTIFY_CONTEXT:
    756           /* Show context menu. */           
     756          /* Show context menu. */
    757757          HlpContextMenu(hwnd, iWhichDisplay+ID_MENUITEMELAPSED, TRUE);
    758758          return MRFALSE;
     
    761761        }
    762762      return MRFALSE;
    763      
     763
    764764      /*****************************************************/
    765765      /* The following two messages are for device sharing */
     
    769769        char chrCommand[100];
    770770        int iWavePriv;
    771    
     771
    772772        iWavePriv=ulPid;
    773773
     
    800800      /* SETPOSITIONADVICE does not work for some reason,  */
    801801      /* so a timer is used. Yes, it's quit cumbersome...  */
    802       /*****************************************************/ 
     802      /*****************************************************/
    803803    case WM_TIMER:
    804804      if(SHORT1FROMMP(mp1)==IDTIMER_PLAY) {
     
    821821            /* Set slider position */
    822822
    823             WinPostMsg( WinWindowFromID(hwnd, IDSL_MMPLAYERPOSBAR), 
     823            WinPostMsg( WinWindowFromID(hwnd, IDSL_MMPLAYERPOSBAR),
    824824                        SLM_SETSLIDERINFO,
    825825                        MPFROM2SHORT(SMA_SLIDERARMPOSITION,SMA_INCREMENTVALUE),
     
    908908        default:
    909909          break;
    910         }             
     910        }
    911911      break;
    912912
     
    919919        char chrCommand[50];
    920920        char retMsg[20];
    921        
     921
    922922        switch(SHORT2FROMMP(mp1))
    923923          {
     
    949949                      static long lLastPos=0;
    950950                      long lPos=LONGFROMMP(mp2);
    951              
     951
    952952                      bPosDragging=TRUE;
    953953                      lPos*=ulTotalLength/100;
     
    973973                    {
    974974                      ULONG ulValue;
    975                      
     975
    976976                      ulValue=LONGFROMMP(mp2);
    977977                      ulVolume=ulValue;
     
    985985
    986986                      bPosDragging=FALSE;
    987                       lPos*=1000;                     
     987                      lPos*=1000;
    988988                      lPos*=ulTotalLength/100;
    989989                      lPos/=1000;// Use only full seconds
     
    992992                      seekAudioFile(lPos);
    993993                      /* restart timer */
    994                       WinStartTimer(WinQueryAnchorBlock(hwnd), hwnd, IDTIMER_PLAY, PLAYTIMER_DELAY); 
     994                      WinStartTimer(WinQueryAnchorBlock(hwnd), hwnd, IDTIMER_PLAY, PLAYTIMER_DELAY);
    995995                      ulPos=lPos/1000;
    996996                      break;
     
    10091009      break;
    10101010    }/* switch */
    1011  
     1011
    10121012  return WinDefDlgProc( hwnd, msg, mp1, mp2);
    10131013}
     
    10291029                     ))==NULLHANDLE)
    10301030    return FALSE;
    1031  
     1031
    10321032  ulSize=sizeof(chrFileName);
    1033  
     1033
    10341034  if ((rc = DosOpen(chrFileName, &handle, &act,
    10351035                    0L, 0, OPEN_ACTION_OPEN_IF_EXISTS,
     
    10951095BOOL writeVolumeToIni(char * iniFile, char* chrApp, char *chrKey, ULONG ulVolume)
    10961096{
    1097  
     1097
    10981098  return IniSaveInt(iniFile, chrApp, chrKey, ulVolume);
    10991099}
     
    11451145  if(hab) {
    11461146    hmq=WinCreateMsgQueue(hab,0);
    1147     if(hmq) { 
    1148       /* Check if user started prog by hand */   
     1147    if(hmq) {
     1148      /* Check if user started prog by hand */
    11491149      if(argc!=NUMPARAMS) {/* Not the right num of params */
    11501150        pmUsage();
     
    11641164          strcpy(chrClassName, params[1]);
    11651165
    1166         /* Get our ressource dll */ 
     1166        /* Get our ressource dll */
    11671167        RESSOURCEHANDLE=queryResModuleHandle(argv[0]);
    11681168        /* Get data from INI file */
     
    11761176        WinRegisterClass(WinQueryAnchorBlock(HWND_DESKTOP), SLIDER_CLASS, privateSliderProc,0, SLADDBYTES);
    11771177
    1178         _loadBmps();       
     1178        _loadBmps();
    11791179        DosGetInfoBlocks(&ptib, &ppib);
    11801180        ulPid=ppib->pib_ulpid;
     
    11831183        //DosBeep(5000, 400);
    11841184
    1185         if( WinDlgBox( HWND_DESKTOP, NULLHANDLE, decodeStatusDialogProc, 
     1185        if( WinDlgBox( HWND_DESKTOP, NULLHANDLE, decodeStatusDialogProc,
    11861186                       RESSOURCEHANDLE, IDDLG_MMPLAYER, 0) == DID_ERROR )
    11871187          {
    11881188            /*
    1189               Text:   
    1190               Title:  "Installation problem"                       
    1191               */             
     1189              Text:
     1190              Title:  "Installation problem"
     1191              */
    11921192            messageBox( text, IDSTR_CONVERTDIALOGERROR , sizeof(text),
    11931193                        title, IDSTR_INSTALLERRORTITLE , sizeof(title),
Note: See TracChangeset for help on using the changeset viewer.