<?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=10388&amp;type=atom" />
	<updated>2015-02-05T08:55:59Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=10388</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как "забрать" из своей DLL нужный ресурс]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=91308#p91308" />
			<content type="html"><![CDATA[<p><a href="http://www.autohotkey.com/board/topic/57631-crazy-scripting-resource-only-dll-for-dummies-36l-v07/">Тут</a> есть какая-то функция DLLRead().<br />Только от тегов color нужно почистить (у меня, почему-то они прописаны текстом вместо цвета).</p>]]></content>
			<author>
				<name><![CDATA[Alectric]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26027</uri>
			</author>
			<updated>2015-02-05T08:55:59Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=91308#p91308</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как "забрать" из своей DLL нужный ресурс]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=91307#p91307" />
			<content type="html"><![CDATA[<p>Всё-таки непонятно, почему эту функцию нельзя написать на АНК, используя DllCall. Хотя, если вы всё равно с собой DLL носите, то на С++, конечно, проще будет.</p>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2015-02-05T05:55:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=91307#p91307</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как "забрать" из своей DLL нужный ресурс]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=91306#p91306" />
			<content type="html"><![CDATA[<p>Конечно, через WinAPI, но без сохранения.</p><p>Придётся в свою DLL вставить функцию на выборку на С++ или придумать иной формат хранения данных - свой, правда нарисовать просто так не получится, надо сначала будет сохранять на диске.</p><p>Блин, придумал я себе головную боль <img src="//forum.script-coding.com/img/smilies/big_smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[Indomito]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27285</uri>
			</author>
			<updated>2015-02-05T05:39:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=91306#p91306</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как "забрать" из своей DLL нужный ресурс]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=91305#p91305" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Indomito пишет:</cite><blockquote><p>На С++ просто, указал - получил.</p></blockquote></div><p>Средствами самого С++? Не через WinAPI? Если всё-таки последнее, то DllCall никто не отменял вроде.</p>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2015-02-05T05:31:31Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=91305#p91305</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как "забрать" из своей DLL нужный ресурс]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=91304#p91304" />
			<content type="html"><![CDATA[<p>На С++ просто, указал - получил.</p><p>Мне то не надо сохранять, мне бы считать и вывести(положить в переменную, если это не картинка), а с MSDN - &quot;чёрт ногу сломит&quot;.</p><p>Я думал на АНК есть нечто подобное или может кто то уже делал - значит буду, как всегда разбираться</p><p>Жаль что нет простого, готового пути/варианта.</p>]]></content>
			<author>
				<name><![CDATA[Indomito]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27285</uri>
			</author>
			<updated>2015-02-05T04:57:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=91304#p91304</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как "забрать" из своей DLL нужный ресурс]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=91303#p91303" />
			<content type="html"><![CDATA[<p>С картинками где-то видел пример на англ. старом форуме. За остальным — в MSDN, сам пока не интересовался, не было необходимости, но, по крайней мере, поиск ресурсов в dll в моём примере есть, остаётся их сохранить в файл.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-02-04T21:21:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=91303#p91303</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как "забрать" из своей DLL нужный ресурс]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=91302#p91302" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>Наверное, я неправильно понял вопрос.</p></blockquote></div><p> не страшно <img src="//forum.script-coding.com/img/smilies/wink.png" width="15" height="15" /></p><p>Иконки, да есть команда в GUI,&nbsp; а как всё остальное - картинки, тексты и т.д.&nbsp; ?</p><p>Просто, я таскаю за каждым скриптом кучу файлов <img src="//forum.script-coding.com/img/smilies/big_smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[Indomito]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27285</uri>
			</author>
			<updated>2015-02-04T21:10:36Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=91302#p91302</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как "забрать" из своей DLL нужный ресурс]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=91301#p91301" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Indomito пишет:</cite><blockquote><p>Как &quot;забрать&quot; из своей DLL нужный ресурс</p></blockquote></div><p>Наверное, я неправильно понял вопрос. Что значит &quot;забрать&quot;? Если отобразить в GUI, тогда извлекать не нужно (иконки, имею в виду).</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-02-04T21:04:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=91301#p91301</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как "забрать" из своей DLL нужный ресурс]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=91300#p91300" />
			<content type="html"><![CDATA[<p>Как я понимаю надо извлекать, да?<br />То есть отобразить сразу нельзя?</p><p>Фрагмент кода </p><div class="codebox"><pre><code>  Gui, New , -maximizebox -minimizebox +AlwaysOnTop -Caption, %vTitleWin%
  Gui , Color, 50C841
  Gui, Font, c000000 s12 bold, Verdana
  Gui, Add, Picture, Icon%vSoundOutPut%, %AHKData%\RES\IconsAHK.dll ; ----------&gt;  Как я делаю тут
  Gui, Add, Text, x%vTxtX% y%vTxtY% , %isDevSet%
  Gui, Show, Center NoActivate w%vSizeWinW% h%vSizeWinH% </code></pre></div><p>P.S. Может переделать dll в другой тип ресурса? Например rec, dcr или&nbsp; rc ?</p>]]></content>
			<author>
				<name><![CDATA[Indomito]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27285</uri>
			</author>
			<updated>2015-02-04T20:22:21Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=91300#p91300</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как "забрать" из своей DLL нужный ресурс]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=91299#p91299" />
			<content type="html"><![CDATA[<p><a href="http://forum.script-coding.com/viewtopic.php?id=9654">Вот</a> вариант для иконок, для ресурсов вообще смотрите <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/ff468900%28v=vs.85%29.aspx">тему в MSDN</a>.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-02-04T20:14:40Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=91299#p91299</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Как "забрать" из своей DLL нужный ресурс]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=91296#p91296" />
			<content type="html"><![CDATA[<p>И так, у меня есть библиотека, т.е. dll в которой я храню<br /></p><ul><li><p>PNG-файлы</p></li><li><p>Тексты</p></li><li><p>ICO-файлы</p></li><li><p>И т.д.</p></li></ul><p> Прочитав справку, поискав на форуме - я ничего не понял.</p><p>Подскажите если не сложно.</p><p><a href="https://yadi.sk/d/uLndrnHBeUJaS">Dll с ресусами - IconsAHK.dll</a></p><p><a href="http://fastpic.ru/"><span class="postimg"><img src="http://i66.fastpic.ru/big/2015/0204/67/90fdea1a52f7899eb6d34262d8480267.png" alt="http://i66.fastpic.ru/big/2015/0204/67/90fdea1a52f7899eb6d34262d8480267.png" /></span></a></p>]]></content>
			<author>
				<name><![CDATA[Indomito]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27285</uri>
			</author>
			<updated>2015-02-04T19:27:23Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=91296#p91296</id>
		</entry>
</feed>
