libredwg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libredwg] dwg version


From: Giampaolo Bellini
Subject: Re: [libredwg] dwg version
Date: Mon, 13 Dec 2010 16:13:30 +0100

Hello Till

thanks a lot for the info... I'm totally new to dwf format so I miss
most of the basic infos.

so... looking at the first 6 bytes is a chance... but is there a way
to get this info using libredwg without parsing the entire file and
risk a segfault ?

      Giampaolo


2010/12/13 Till Heuschmann <address@hidden>:
> The file version is stored in the first 6 bytes of the file.
>
> AC1015 for R2000 files
> AC1018 for R2004 files
> AC1021 for R2007 files
> ...
>
> Or are you looking for a function in libredwg that returns this value?
>
> 2010/12/13 Giampaolo Bellini <address@hidden>:
>> Hi all
>>
>>   opening and parsing some dwg files I got a segmentation fault,
>> probably due to unsupported version of dwg: is there a way to retrieve
>> the dwg revision of a file before trying to parse it's contents ?
>>
>>         Giampaolo
>>
>>
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]