Sign in to follow this  
Followers 0
Tlem

Conversion of a PHP code to read OV2 files.

13 posts in this topic

#1 ·  Posted (edited)

Hello, everybody.

I need to read/write OV2 files (GPS coordinates files), but I find only PHP code to do this.

So can someone help me to translate this two php code in AutoIt code, please.

To read File:

$nbov2 = 0;
$file="POI.ov2";
$fp = fopen($file, "rb");
$type = fread($fp, 1);
$type = bin2hex($type);
while ($type == "02") {
  $len = unpack("V",fread($fp, 4));
  $len = $len[1]-14;
  $lon = unpack("V",fread($fp, 4));
  $lon = $lon[1] / 100000;
  $lat = unpack("V",fread($fp, 4));
  $lat = $lat[1] / 100000;
  $data = fread($fp, $len);
  $nbov2 = $nbov2 + 1;
  echo "type=$type lon=$lon lat=$lat data=$data\n";
  $nil = fread($fp, 1);
  $type = fread($fp, 1);
  $type = bin2hex($type);
}
fclose($fp);
echo "Nb of POIs in this file: $nbov2";

To write file :

$csv=file("File.csv");
  $nbcsv=count($csv);
  $file="POI.ov2";
  $fp = fopen($file, "w");
  for ($i = 0; $i < $nbcsv; $i++) {
    $table = split(",",chop($csv[$i])); // Every ligne in this type: longitude,latitude,description
    $lon = $table[0];
    $lat = $table[1];
    $des = $table[2];
    $TT = chr(0x02).pack("V",strlen($des)+14).pack("V",round($lon*100000)).pack("V",round($lat*100000)).$des.chr(0x00);
    @fwrite ($fp, "$TT");
  }
  fclose($fp);
Edited by Tlem

Best Regards.Thierry

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Well I started converting this for you but ran into a problem, the unpack() function used here in php is converting from this format:

unsigned long (always 32 bit, little endian byte order)

The AutoIT equivalent BinaryToString() only supports 16-bit

$file = "POI.ov2"

Func readOV2($OV2)
    $nbov2 = 0

    ;$fp = fopen($OV2, "rb");
    $fp = FileOpen ($OV2, 8)
    
    ;$type = fread($fp, 1);
    $type = FileRead ($fp, 1)
    
    ;$type = bin2hex($type);
    $type = Hex($type)
    
    while ($type = "02")
      ;V = unsigned long (always 32 bit, little endian byte order)
      $len = unpack("V",FileRead ($fp, 4))
      $len = $len[1]-14
      $lon = unpack("V",FileRead ($fp, 4))
      $lon = $lon[1] / 100000
      $lat = unpack("V",FileRead ($fp, 4))
      $lat = $lat[1] / 100000
      $data = FileRead ($fp, $len)
      $nbov2 += 1
      ConsoleWrite( "type=" & $type & " lon=" & $lon & " lat=" & $lat & " data=" & $data)
      $nil = FileRead ($fp, 1)
      $type = FileRead ($fp, 1)
      $type = Hex($type)
  WEnd
  
    fclose($fp);
    ConsoleWrite("Nb of POIs in this file: " & $nbov2)

EndFunc
Edited by weaponx

Share this post


Link to post
Share on other sites

Well I started converting this for you but ran into a problem, the unpack() function used here in php is converting from this format:

unsigned long (always 32 bit, little endian byte order)

The AutoIT equivalent BinaryToString() only supports 16-bit

Yes, it's my problem !

I search over the forum, and don't find anything.

This is what I find on searching over internet :

Next 4 bytes is longitude, little endian int, east-positive, divide by

100000.0 to get decimal format (e.g. 18.12345E is encoded as 1812345)

So how can I convert Hex value : 048F0300 in this value : 2.33220 for longitude.

And Hex value : e48f4a00 in this value : 48.86500 for latitude.


Best Regards.Thierry

Share this post


Link to post
Share on other sites

Can you post an example ov2 file?

Share this post


Link to post
Share on other sites

You will need this:

; #FUNCTION# ====================================================================================================================
; Description ...: Returns a 4 byte integer as a float value
; Parameters ....: $iInteger    - Integer value
; Return values .: Success      - 4 byte integer value as a float
; Author ........: Paul Campbell (PaulIA)
; Remarks .......:
; Related .......:
; ===============================================================================================================================
Func _Lib_IntToFloat($iInt)
  Local $tFloat, $tInt

  $tInt   = DllStructCreate("int")
  $tFloat = DllStructCreate("float", DllStructGetPtr($tInt))
  DllStructSetData($tInt, 1, $iInt)
  Return DllStructGetData($tFloat, 1)
EndFunc

"be smart, drink your wine"

Share this post


Link to post
Share on other sites

@weaponx : you can find an exemple of POI file here : http://www.gps-data-team.com/poi/united_st...ampgrounds.html

@Siao : I try to use the function of PaulIA, but _Lib_IntToFloat("048F0300") doesn't give me this value : 2.33220.

I try too :

_Lib_IntToFloat("00038F04")

_Lib_IntToFloat(Dec(048F0300))


Best Regards.Thierry

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

Ok, forget that IntToFloat, I misunderstood this through all the babbling.

You simply need to reverse the endianity of that hex. Then Dec() it and divide by 100000.

Since your incoming hex is a string as I understand, you can do that Little Endian to Big Endian converting with StringMid() in a loop, or whatever. Or just use my func here:

$hex = "048F0300"
$your_number = Dec(Hex(ByteSwap(Binary("0x" & $hex)))) / 100000
MsgBox(0, "", $hex & @CRLF & $your_number)

Func ByteSwap($bin)
    Return Binary(BitShift(String($bin), 32))
EndFunc
Edited by Siao

"be smart, drink your wine"

Share this post


Link to post
Share on other sites

that's some strong kungfu you show there Siao..


Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

That byteswap function was born of hate for data types (esp. so called "binary") and built-in conversion funcs in AutoIt.

Anyway, that ov2 file reading would be something like this:

$sFilename = FileOpenDialog("Select .ov2 file...", @ScriptDir, "ov2 files (*.ov2)", 1)
$hFile = FileOpen($sFilename, 16)

$i = 0
$iPOI = 0
$str = ""
Do
    $type = Int(FileRead($hFile, 1))
    If $type <> 2 Then ExitLoop
    $len = Dec(Hex(ByteSwap(FileRead($hFile, 4)))) - 14
    $lon = Dec(Hex(ByteSwap(FileRead($hFile, 4)))) / 100000
    $lat = Dec(Hex(ByteSwap(FileRead($hFile, 4)))) / 100000
    $data = BinaryToString(FileRead($hFile, $len))
    FileRead($hFile, 1)
    $iPOI += 1
    $str &= "type=" & $type & " lon=" & $lon & " lat=" & $lat & " data=" & $data & @CRLF
Until 0

FileClose($hFile)

GUICreate("POIs in this file: " & $iPOI, 500,500)
GUICtrlCreateEdit($str, 0,0, 500,500)
GUISetState()
While GUIGetMsg() <> -3
WEnd

Func ByteSwap($bin)
    Return Binary(BitShift(String($bin), 32))
EndFunc
Edited by Siao

"be smart, drink your wine"

Share this post


Link to post
Share on other sites

Gooooooooooollllllllllllllllllll.

Thank you very much Siao, you give me the solution.

I try it, and it work fine.

I just make a modification to work with my .ov2 files.

It work fine on somes files, but on certain, I lose Waypoint :)

and on other I got an "error allocating memory" .

So I will search the reason (But in my actual knowledge, it is very difficult ...)

This is what I find about the OV2 file structure :

An OV2 file consists of a sequence of variable−length records. Every record starts with a one−byte

"type". This type tells you how to process the rest of the record.

You should not encounter types other than 0, 1, 2 and 3 − if you do, the file is either corrupt or in a

different (e.g. a higher−version) format.

Coordinates are stored as 4−byte integers representing a WGS84 longitude or latitude, multiplied by

100,000 and rounded to the nearest integer. As such, an X−coordinate should always be a value between

−18,000,000 and +18,000,000, and a Y−coordinate should be a value between −9,000,000 and +9,000,000.

DELETED RECORD:

- 1 byte T: type (always 0)

- 4 bytes L: length of this record in bytes (including the T and L fields)

- L−5 bytes bytes to ignore (content undefined)

SKIPPER RECORD:

- 1 byte T: type (always 1)

- 4 bytes Number of bytes in the file, including and starting at this

record, that contain data for POI enclosed in the given rectangle.

- 4 bytes X1: longitude coordinate of the west edge of the rectangle

- 4 bytes Y1: latitude coordinate of the south edge of the rectangle

- 4 bytes X2: longitude coordinate of the east edge of the rectangle

- 4 bytes Y2: latitude coordinate of the north edge of the rectangle

SIMPLE POI RECORD:

- 1 byte T: type (always 2)

- 4 bytes L: length of this record in bytes (including the T and L fields)

- 4 bytes X: longitude coordinate of the POI

- 4 bytes Y: latitude coordinate of the POI

- L−13 bytes Name: zero−terminated ASCII string specifying the name of the POI

EXTENDED POI RECORD:

- 1 byte T: type (always 3)

- 4 bytes L: length of this record in bytes (including the T and L fields)

- 4 bytes X: longitude coordinate of the POI

- 4 bytes Y: latitude coordinate of the POI

- P bytes Name: zero−terminated ASCII string specifying the name of the POI

- Q bytes Unique ID: zero−terminated string specifying the unique ID of the POI

- L−P−Q−13 bytes Extra data: zero−terminated string, not used yet

If you encounter any other type, either the file is corrupt, or the file contains extra (proprietary) records.

In either case, you should stop processing immediately. Since there is always the danger that the file is

corrupt, you should in fact wonder whether the preceding records read so far were in fact valid.

The record that interest me, is : SIMPLE POI RECORD

So I think I must read the data in sequence and not only search the value 02

for example :

0001e1ef: 02 1d 00 00 00 f0 5e 07 00 91 d2 45 00 52 4d 30

0001e1ff: 33 30 31 39 2d 30 35 30 6b 6d 2f 68 00 01 66 02

0001e20f: 00 00 c7 69 07 00 7d d9 45 00 03 5f 07 00 1d cb

0001e21f: 45 00 01 71 01 00 00 c6 69 07 00 4d d2 45 00 03

0001e22f: 5f 07 00 1d cb 45 00 02 1d 00 00 00 24 5f 07 00

0001e23f: bc ce 45 00 52 4d 31 31 34 35 31 2d 30 35 30 6b

0001e24f: 6d 2f 68 00

In this part of one file, I've got :

One simple record, 2 Skipper record, and another simple record.

@Siao Thanks one more time for your solution.

If I find how to make for the rest of the code, I will post it on the forum ;)


Best Regards.Thierry

Share this post


Link to post
Share on other sites

#11 ·  Posted (edited)

Yes, if the file consists of multiple types of records, you have to take into account each case, even if you're interested in one.

Try this:

#include<GUIConstants.au3>
#include<Array.au3>
#include<GuiListView.au3>

$sFilename = FileOpenDialog("Select .ov2 file...", @ScriptDir, "ov2 files (*.ov2)", 1)
$hFile = FileOpen($sFilename, 16)

$i = 0
$iPOI = 0
$str = ""
Do
    $type = FileRead($hFile, 1)
    If @error Then ExitLoop
    $type = Int($type)
    Switch $type
        Case 0, 3
            $len = Dec(Hex(ByteSwap(FileRead($hFile, 4))))
            FileRead($hFile, $len-5)
        Case 1
            FileRead($hFile, 20)
        Case 2
            $len = Dec(Hex(ByteSwap(FileRead($hFile, 4)))) - 14
            $lon = Dec(Hex(ByteSwap(FileRead($hFile, 4)))) / 100000
            $lat = Dec(Hex(ByteSwap(FileRead($hFile, 4)))) / 100000
            $data = BinaryToString(FileRead($hFile, $len))
            FileRead($hFile, 1)
            $iPOI += 1
            $str &= $type & "|" & $lon & "|" & $lat & "|" & $data & @CRLF
        Case Else
            MsgBox(0,"Error", "Unknown OV2 type encountered." & @CRLF & "File reading terminated.")
            ExitLoop
    EndSwitch
Until 0
FileClose($hFile)

;GUI listview with sortable columns
GUICreate("Simple POIs in this file: " & $iPOI, 500,500)
$listview = GUICtrlCreateListView("Type|Longitude|Latitude|Description", 0,0, 500,500)
_GUICtrlListViewSetColumnWidth($listview, 3, 320)
$aPOIs = StringSplit(StringTrimRight($str, 2), @CRLF, 1)
For $i = 1 to $aPOIs[0]
    _GUICtrlListViewInsertItem($listview, -1, $aPOIs[$i])
Next
Dim $B_DESCENDING[_GUICtrlListViewGetSubItemsCount($listview)]
GUISetState()
While 1
    Switch GUIGetMsg()
        Case $GUI_EVENT_CLOSE
            Exit
        Case $listview
            _GUICtrlListViewSort($listview, $B_DESCENDING, GUICtrlGetState($listview))
    EndSwitch
WEnd

Func ByteSwap($bin)
    Return Binary(BitOr(String($bin), 0))
EndFunc
Edited by Siao

"be smart, drink your wine"

Share this post


Link to post
Share on other sites

#12 ·  Posted (edited)

WWWWaaaaaoooooooo.

It's wonderfull.

I test it, and it seems to work.

Before I read your post, I write something like you,

but with a problem on the reading process for record 3 ! I just forget to read one byte after simple record.

I really tank you very much for your help and your work.

Edited by Tlem

Best Regards.Thierry

Share this post


Link to post
Share on other sites

#13 ·  Posted (edited)

I finally use it in function :

;===============================================================================
;
; Function Name:    _ReadOV2()
; Description:      Returns a string filled with POI's coordinate and data
;                   of the OV2 file.
;
; Parameter(s):     $hFile   - The OV2 file to read.
;
; Requirement(s):   NA
; Return Value(s):  On Success - Returns a string with POI's coordinate
;                   On Failure - Returns 0
; Author(s):        tlem@tuxolem.net
;                   Thanks to siao for his help.
;===============================================================================
Func _ReadOV2($hFile)
    Dim $i = 0, $str = ""
    
    Do
    ; Read the first record.
        $type = FileRead($hFile, 1)
        If @error Then ExitLoop
        $type = Int($type)
        
        Switch $type
            Case 0, 3
            ; DELETED RECORD:
            ;   1 byte T: type (always 0)
            ;   4 bytes L: length of this record in bytes
            ;    (including the T and L fields)
            ;   L-5 bytes bytes to ignore (content undefined)
                $len = Dec(Hex(Binary(BitShift(String(FileRead($hFile, 4)), 32)))) - 5
                $data = BinaryToString(FileRead($hFile, $len))
                
            Case 1
            ; SKIPPER RECORD:
            ;   1 byte T: type (always 1)
            ;   4 bytes Number of bytes in the file, including and starting at this
            ;     record, that contain data for POI enclosed in the given rectangle
            ;   4 bytes X1: longitude coordinate of the west edge of the rectangle
            ;   4 bytes Y1: latitude coordinate of the south edge of the rectangle
            ;   4 bytes X2: longitude coordinate of the east edge of the rectangle
            ;   4 bytes Y2: latitude coordinate of the north edge of the rectangle
                $data = BinaryToString(FileRead($hFile, 20))
                
            Case 2
            ; SIMPLE POI RECORD:
            ;   1 byte T: type (always 2)
            ;   4 bytes L: length of this record in bytes (including the T and L fields)
            ;   4 bytes X: longitude coordinate of the POI
            ;   4 bytes Y: latitude coordinate of the POI
            ;   L-13 bytes Name: zero-terminated ASCII string specifying the name of the POI
            ; Binary(BitShift(String(FileRead($hFile, 4)), 32))
            ;$len = Dec(Hex(ByteSwap(FileRead($hFile, 4)))) - 14
            ;$lon = StringFormat("%.5f", Dec(Hex(_ByteSwap(FileRead($hFile, 4)))) / 100000)
            ;$lat = StringFormat("%.5f", Dec(Hex(_ByteSwap(FileRead($hFile, 4)))) / 100000)
                $len = Dec(Hex(Binary(BitShift(String(FileRead($hFile, 4)), 32)))) - 14
                $lon = StringFormat("%.5f", Dec(Hex(Binary(BitShift(String(FileRead($hFile, 4)), 32)))) / 100000)
                $lat = StringFormat("%.5f", Dec(Hex(Binary(BitShift(String(FileRead($hFile, 4)), 32)))) / 100000)
                $data = BinaryToString(FileRead($hFile, $len))
                FileRead($hFile, 1)
                
                $str &= $lon & "|" & $lat & "|" & $data & @CRLF
                
            Case 3
            ; EXTENDED POI RECORD:
            ;   1 byte T: type (always 3)
            ;   4 bytes L: length of this record in bytes (including the T and L fields)
            ;   4 bytes X: longitude coordinate of the POI
            ;   4 bytes Y: latitude coordinate of the POI
            ;   P bytes Name: zero-terminated ASCII string specifying the name of the POI
            ;   Q bytes Unique ID: zero-terminated string specifying the unique ID of the POI
            ;   L-P-Q-13 bytes Extra data: zero-terminated string, not used yet
                $len = Dec(Hex(Binary(BitShift(String(FileRead($hFile, 4)), 32)))) - 13
                $lon = StringFormat("%.5f", Dec(Hex(Binary(BitShift(String(FileRead($hFile, 4)), 32)))) / 100000)
                $lat = StringFormat("%.5f", Dec(Hex(Binary(BitShift(String(FileRead($hFile, 4)), 32)))) / 100000)
                $data = BinaryToString(FileRead($hFile, $len))
                
                $str &= $lon & "|" & $lat & "|" & $data & @CRLF

            Case Else
            ; Error file dammaged.
                Return 0
                ExitLoop
                
        EndSwitch
    Until 0

    FileClose($hFile)
    Return $str

EndFunc  ;==>_ReadOV2oÝ÷ ØZ+¶¬jg¦bq«b¢r&jG­+ºw-ìjëh×6;===============================================================================
;
; Function Name:    _ArrayPOItoASC()
; Description:      Write a ASC file of the list of POI's coordinate and data
;
; Parameter(s):     $FileOut    - The ASC file to write.
;                   $ArrayPOI   - An array of POI, where :
;                                 $ArrayPOI[0] Contains the dimention of the array.
;                                 $ArrayPOI[x] Contains the POI information on this
;                                 form : Logitude|Latitude|Data
;                   $Comment    - 0 if you don't want comments.
;                                 1 If you want comments.
;
; Requirement(s):   #include <File.au3>
;                   #include <String.au3>
;
; Return Value(s):  On Success - Returns 1
;                   On Failure - Returns 0
;
; Author(s):        tlem@tuxolem.net
;
;===============================================================================
Func _ArrayPOItoASC($FileOut, $ArrayPOI, $Comment = 0)
    Local $Line[3], $WLine
    
    If $Comment = 1 Then
        $WLine = '; ' & $ArrayPOI[0] - 1 & " POI(s) écrit(s)" & @CRLF & _
                 ';'  & @CRLF & _
                 '; Longitude   Latitude     "Nom"'  & @CRLF & _
                 '; ================================================'  & @CRLF & _
                 ';' & @CRLF
    EndIf

    For $i = 1 To $ArrayPOI[0] - 1
        $Line = StringSplit($ArrayPOI[$i], "|", 0)
        $WLine &= '   ' & $Line[1] & '   ,' & $Line[2] & '   ,"' & $Line[3] & '"' & @CRLF
    Next
    
    $hFile = FileOpen($FileOut, 2)
    $Res = FileWrite($hFile, $WLine)
    If $Res = 0 Then
        Return 0
        Exit
    EndIf
    
    FileClose($hFile)
    Return 1
EndFunc  ;==>_ArrayPOItoASCoÝ÷ Ù«­¢+Øìôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôô(ì(ìչѥ½¸9µè%}M
ѽ=XÈ ¤(ìÍÉ¥ÁÑ¥½¸è$%
½¹ÙÉÐM¥±½A=$¥¸=XÈ¥±¸(ì(ìAɵÑȡ̤è$$ÀÌØí¥±¥¸$$´Q¡Í¥±Ñ¼É¸(ì$$$$$ÀÌØí¥±=ÕÐ$´Q¡=XÈ¥±Ñ¼ÝɥѸ(ì(ìIÅեɵ¹Ð¡Ì¤è$¥¹±Õ±Ðí¥±¹ÔÌÐì(ì$$$$$¥¹±Õ±ÐíMÑÉ¥¹¹ÔÌÐì(ì(ìIÑÕɸY±Õ¡Ì¤è%=¸MÕÍÌ´IÑÕɹÌÄ(ì$$$$%=¸¥±ÕÉ´IÑÕɹÌÀ(ì(ìÕÑ¡½È¡Ì¤è$%ѱµÑÕá½±´¹¹Ð(ì(ìôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôô)Õ¹}M
ѽ=XÈ ÀÌØí¥±%¸°ÀÌØí¥±=ÕФ(%¥´ÀÌØíÍéÉ¥Ù°ÀÌØíÍé¥È°ÀÌØíÍé9µ°ÀÌØíÍéáÐ(%1½°ÀÌØíMQ($(%%ÀÌØí¥±=ÕÐôÅÕ½ÐìÅÕ½ÐìQ¡¸($$ÀÌØí¥¹½Ìô}AÑ¡MÁ±¥Ð ÀÌØí¥±%¸°ÀÌØíÍéÉ¥Ù°ÀÌØíÍé¥È°ÀÌØíÍé9µ°ÀÌØíÍéáФ($$ÀÌØí¥±=ÕÐôÀÌØí¥¹½ÍlÅtµÀìÀÌØí¥¹½ÍlÉtµÀìÀÌØí¥¹½ÍlÍtµÀìÅÕ½Ðì¹½ØÈÅÕ½Ðì(%¹%($ÀÌØí¡¥±ô¥±=Á¸ ÀÌØí¥±%¸°À¤(%%ÉɽÈQ¡¸($%IÑÕɸÀ($%á¥Ð(%¹%($($(%]¡¥±Ä($$ÀÌØí1¥¹ô¥±I1¥¹ ÀÌØí¡¥±¤($%%ÉɽÈô´ÄQ¡¸á¥Ñ1½½À(($$ÀÌØíѱôMÑÉ¥¹MÁ±¥Ð ÀÌØí1¥¹°ÅÕ½Ðì°ÅÕ½Ðì¤($$ÀÌØíѱlÅtôMÑÉ¥¹MÑÉ¥Á]L ÀÌØíѱlÅt°à¤($$($%%MÑÉ¥¹%ͱ½Ð ÀÌØíѱlÅt¤Q¡¸($$$ÀÌØíѱlÉtôMÑÉ¥¹MÑÉ¥Á]L ÀÌØíѱlÉt°à¤($$$ÀÌØíѱlÍtôMÑÉ¥¹IÁ± ÀÌØíѱlÍt°ÌäìÅÕ½ÐìÌäì°ÌäìÌäì¤($$$ÀÌØí±¹Ñô!à¡   ¥¹Éä¡  ¥ÑM¡¥Ð¡MÑÉ¥¹¡MÑÉ¥¹1¸ ÀÌØíѱlÍt¤¬ÄФ°ÌȤ¤¤($$$($$$ÀÌØí±½¸ô!à¡    ¥¹Éä¡  ¥ÑM¡¥Ð¡MÑÉ¥¹ ÀÌØíѱlÅt¨ÄÀÀÀÀÀ¤°ÌȤ¤¤($$$ÀÌØí±Ðô!à¡  ¥¹Éä¡  ¥ÑM¡¥Ð¡MÑÉ¥¹ ÀÌØíѱlÉt¨ÄÀÀÀÀÀ¤°ÌȤ¤¤($$$ÀÌØíÑô}MÑÉ¥¹Q½!à ÀÌØíѱlÍt¤($$$ÀÌØíMQµÀìôÅÕ½ÐìÀÈÅÕ½ÐìµÀìÀÌØí±¹ÑµÀìÀÌØí±½¸µÀìÀÌØí±ÐµÀìÀÌØíѵÀìÅÕ½ÐìÀÀÅÕ½Ðì($$$($%¹%(%]¹(%¥±
±½Í ÀÌØí¥±%¸¤(($ÀÌØí¡¥±ô¥±=Á¸ ÀÌØí¥±=ÕаȬÄؤ($ÀÌØíIÌô¥±]É¥Ñ ÀÌØí¡¥±°}!áQ½MÑÉ¥¹ ÀÌØíMQ¤¤(%¥±
±½Í ÀÌØí¥±=ÕФ(%IÑÕɸÀÌØíIÌ($)¹Õ¹ìôôÐí}M
ѽ=X

This function isn't terminated, because in normal way, there is some type 1 record in the file, but this part isn't documented, so I don't know how to do that !!!

If I find a solution, I will post it.

Edited by Tlem

Best Regards.Thierry

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0