<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div data-marker="__QUOTED_TEXT__"><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><div>I am not sure how it works,  The documents say there is a path depending upon if it is global shared or private. I was able to use it inside ide app from the global location. </div><br><div>I have written a lib for some functions i needed for a project I am working on.</div><br><div>I have converted it to a component which is working.</div><div>After trying to get it working even updating the scripter to allow the keyword lib  for libraries and create an entry into the project file.</div><div>The compiler does not complain about it but does seem to ignore it as there is no output from the compiler to the .startup.</div><br><div>The .startup file with my global library seems to just have the lib name :xxxx:1.0 in the .startup with no path. It looks like the runtime searches for the library in the different locations listed in the documentation.</div><br><div>I am not sure what the compiler is looking for. </div><div>I include an example of a script that needs the library, and a component install and library install</div><div><br data-mce-bogus="1"></div><div>hope this helps</div><br></div><div>Thank You<br>Brian G</div><br><hr id="zwchr"><div><b>From: </b>"Fabien Bodard" <gambas.fr@gmail.com><br><b>To: </b>"Gambas mailing list" <user@lists.gambas-basic.org><br><b>Sent: </b>Monday, February 10, 2020 10:29:39 AM<br><b>Subject: </b>Re: [Gambas-user] I am trying to access a gambas library from a gambas script file. How Too?<br></div><br><div><div dir="auto">Hum remember that the library must be in the same path than the executable.<div dir="auto">Maybe the scripter must generate a symlink in the executable path stored in the temp dir. Can you send me a sample of what you are doing so I can do some tests.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le jeu. 6 févr. 2020 à 04:54, Brian G <<a href="mailto:brian@westwoodsvcs.com" target="_blank">brian@westwoodsvcs.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="auto" style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black">I did make it a component, works well the component page needs updated too.<br>
</div>
<div dir="auto" style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black">I did change gbs3 code to allow lib directive it now creates the project file correctly. But the compiler still does not see the exports.<br>
</div>
<div dir="auto" style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black">Posted a copy to bugtracker with a request . Maybe?<br>
<br>
</div>
<div dir="auto" style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black"><span id="m_-6701827850466962344OutlookSignature"><div dir="auto" style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black">thank you<br>
</div>
<div dir="auto" style="direction:ltr;margin:0;padding:0;font-family:sans-serif;font-size:11pt;color:black">brian</div>
</span><br>
</div>
<br><br><br>
<div class="gmail_quote">On Sun, Feb 2, 2020 at 11:28 PM -0800, "Fabien Bodard" <span dir="ltr"><<a href="mailto:gambas.fr@gmail.com" target="_blank" rel="noreferrer">gambas.fr@gmail.com</a>></span> wrote:<br>
<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="3D"ltr"">
<div dir="auto">When gb script was written the library way was not in use so we ve. Not implemented it. Well maybe it's time \uD83D\uDE0A</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 3 févr. 2020 à 01:14, T Lee Davidson <<a href="mailto:t.lee.davidson@gmail.com" target="_blank" rel="noreferrer">t.lee.davidson@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2/2/20 6:06 PM, Brian G wrote:<br>
> I am trying to access some Gambas libraries from a Gambas script and just don't see how to do that anywhere.<br>
> <br>
> I am able to access and use inside gambas projects from the IDE, no issues there.<br>
> <br>
> Does anyone have any experience with this?<br>
> <br>
> I could make it a component and did try that but can't find the right name to use for the component created!<br>
> <br>
> Any help would be very appreciated<br>
> <br>
> Thank You<br>
> Brian G<br>
<br>
No experience with that. But, maybe this will help?<br>
<a href="http://gambaswiki.org/wiki/lang/include" rel="noreferrer noreferrer noreferrer" target="_blank">http://gambaswiki.org/wiki/lang/include</a><br>
<br>
<br>
-- <br>
Lee<br>
<br>
----[ <a href="http://gambaswiki.org/wiki/doc/netiquette" rel="noreferrer noreferrer noreferrer" target="_blank">http://gambaswiki.org/wiki/doc/netiquette</a> ]----<br>
</blockquote></div>

</div>

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