<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">The file dwg.h from libdwg-0.6 src is a good start point for you work.<div class=""><br class=""></div><div class="">A lot of Structures and Enumeration are described</div><div class="">In the end of the file, the liste of functions<br class=""><div class="">
<br class="">Olivier Cruilles<br class=""></div><div class=""><br class="webkit-block-placeholder"></div><div><blockquote type="cite" class=""><div class="">Le 8 juin 2020 à 10:10, Linus <<a href="mailto:olivier.cruilles@yahoo.fr" class="">olivier.cruilles@yahoo.fr</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hello Martin,<div class=""><br class=""></div><div class="">You can find an example in the Farm of Gambas, a project named ‘gb.sshclient’ that I wrote for long time.</div><div class="">This version is not the latest but it can give you a good overview.</div><div class=""><br class=""></div><div class="">I hope it could help you</div><div class=""><br class=""></div><div class="">The most important is to install the Devel package of you Library to find in the *.h files how to deal with the various C functions and declare those into Gambas</div><div class=""><br class=""><div class="">
<br class="">Olivier Cruilles<br class=""></div><div class=""><br class="webkit-block-placeholder"></div><div class=""><blockquote type="cite" class=""><div class="">Le 8 juin 2020 à 09:55, Martín Belmonte <<a href="mailto:mbelmonte@belmotek.net" class="">mbelmonte@belmotek.net</a>> a écrit :</div><br class="Apple-interchange-newline"><div class="">
  

    <meta http-equiv="content-type" content="text/html; charset=windows-1252" class="">
  
  <div class=""><p class=""><span class="translation tlid-translation" lang="en"><span title="" class="">Hello everyone.</span><br class="">
        <span title="" class="">I am trying to learn how to make a
          component that works with a C library (LibreDWG).</span> <span title="" class="">Can anyone tell me where to find an example
          (Component + C) to study how it works?</span><br class="">
        <span title="" class="">Regards.</span></span></p>
  </div>

<br class="">----[ <a href="http://gambaswiki.org/wiki/doc/netiquette" class="">http://gambaswiki.org/wiki/doc/netiquette</a> ]----<br class=""></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>