/Modules/ARM/STM32F10xRxT/SW/RS232_bootloader/Src/STMFlashLoader/Ini.cpp
868,9 → 868,9
// extract the sub-string on left side of the '='
LPTSTR psz = new TCHAR[_tcslen(lpString) + 1];
 
//#ifndef _VS6_USED
#ifndef _VS6_USED
int i;
//#endif
#endif
 
for (int i = 0; &lpString[i] < p; i++)
psz[i] = lpString[i];
/Modules/ARM/STM32F10xRxT/SW/RS232_bootloader/Src/STMFlashLoader/Ini.h
1,7 → 1,7
#ifndef __INI_H__
#define __INI_H__
 
#define _VS6_USED
//!!!KAKL #define _VS6_USED
 
#include <windows.h>
#include <tchar.h>
/Modules/ARM/STM32F10xRxT/SW/RS232_bootloader/Src/STMFlashLoader/STMFlashLoader.cpp
677,9 → 677,9
BOOL VerifySuccess = TRUE;
_sleep(100);;
 
//#ifndef _VS6_USED
#ifndef _VS6_USED
int el;
//#endif
#endif
for (el=0; el< (int)NbElements;el++)
{
IMAGEELEMENT Element={0};
755,9 → 755,9
 
printf("\nerasing %i sectors : ", sectors[0]);
 
//#ifndef _VS6_USED
#ifndef _VS6_USED
int i;
//#endif
#endif
 
for(i = 1; i<= nsec; i++)
{
1161,9 → 1161,9
BOOL VerifySuccess = TRUE;
_sleep(100);
 
//#ifndef _VS6_USED
#ifndef _VS6_USED
int el;
//#endif
#endif
 
for (el=0; el< (int)NbElements;el++)
{
1596,9 → 1596,9
 
printf("\nenabling write protection %i sectors : ", sectors[0]);
 
//#ifndef _VS6_USED
#ifndef _VS6_USED
int i;
//#endif
#endif
 
for(i = 1; i<= nsec; i++)
{