<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Использование DLL файла с сервера]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=16330&amp;type=atom" />
	<updated>2021-05-07T14:50:02Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=16330</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Использование DLL файла с сервера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=147731#p147731" />
			<content type="html"><![CDATA[<p>Понял.</p>]]></content>
			<author>
				<name><![CDATA[Botsy]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41069</uri>
			</author>
			<updated>2021-05-07T14:50:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=147731#p147731</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Использование DLL файла с сервера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=147728#p147728" />
			<content type="html"><![CDATA[<p>Только если в самой библиотеке это предусмотрено. Приведённый вами код предусматривает локальное использование.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-05-07T13:59:30Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=147728#p147728</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Использование DLL файла с сервера]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=147726#p147726" />
			<content type="html"><![CDATA[<p>Добрый день. Можно ли в ahk подключать .dll библиотеку с удаленного сервера и работать с ней? <br /></p><div class="codebox"><pre><code>
class test
{
	clean(param) {
		return DllCall(this.dllFile &quot;\vise_clean&quot;, &quot;int&quot;, param)
	}
}

LoadDll() {
	dllFile := (A_PtrSize=8) ? &quot;vise64.dll&quot; : &quot;vise32.dll&quot;
		if !this.hModule := DllCall(&quot;LoadLibrary&quot;, &quot;Str&quot;, dllFile, &quot;Ptr&quot;) {
			if !FileExist(dllFile) {
				throw, dllFile &quot; not found.&quot;
			}
		throw, &quot;LoadLibrary failed. DllFile is &quot; dllFile
		}
	this.dllFile := dllFile
}
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Botsy]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41069</uri>
			</author>
			<updated>2021-05-07T13:27:30Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=147726#p147726</id>
		</entry>
</feed>
