Hi out there gurus,

How do I make the ReadProfileString jump over the invalid part of an ini file? I dont want to modify the ini file!

The ini file contains SW product data:

[117410EA-BEBF-36A3-5C0C-4DD136A22BCA]
SWName=WinAmp
Version=5.0
File=\\AppSrv\SWdisp\Winamp.msi
.
.
.
and so on

Suddenly a line key is empty:

[]
SWName=AcrobatReader
Version=6.0
File=\\AppSrv\SWdisp\AcroB.msi

I want ReadProfileString to jump over this part and continue to next product key in the ini file.

How to define code? sample please
_________________________
"... Great minds talk about idea' s, average minds talk about events and samll minds talks about people...!"