Okey, let me restate:
Here is a content of target ini file:
[117410EA-BEBF-36A3-5C0C-4DD136A22BCA]
SWName=WinAmp
Version=5.0
File=\\AppSrv\SWdisp\Winamp.msi
[345410EB-AFCF-16C3-6B1C-7BD234C22CA]
SWName=WinRar
Version=3.4
File=\\AppSrv\SWdisp\Wrar.msi
[] <------- here comes the problem
SWName=AcrobatReader
Version=6.0
File=\\AppSrv\SWdisp\AcroB.msi
[154236AC-CBFF-56A3-7A1B-3CC134B12AA]
SWName=MS AntiSpyware
Version=1
File=\\AppSrv\SWdisp\MsAsw.msi
ReadProfileString will read the first 2 section. fine no problem.
Section 3 has an invalid/empty product key []. Here everything ends, which is normal cause the returned value is zero.
As result everything after section 3 will not be listed as I want.
What Im trying to do is to simply jump over the invalid section 3 and make ReadProfileString to continue on section 4, which contains valid data.
_________________________
"... Great minds talk about idea' s, average minds talk about events and samll minds talks about people...!"