<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; 1C & DynamicWrapper: передача строк]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=5762&amp;type=atom" />
	<updated>2011-04-29T10:35:20Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=5762</id>
		<entry>
			<title type="html"><![CDATA[Re: 1C & DynamicWrapper: передача строк]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=47936#p47936" />
			<content type="html"><![CDATA[<p>i=w. тоже не работает<br />DynamicWrapperX отработал на ура!<br />спасибо, alexii</p>]]></content>
			<author>
				<name><![CDATA[shurik_klgd]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26932</uri>
			</author>
			<updated>2011-04-29T10:35:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=47936#p47936</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 1C & DynamicWrapper: передача строк]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=47934#p47934" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>Может есть аналог DynamicWrapper?</p></blockquote></div><p>А как же:<br /><a href="http://www.script-coding.com/dynwrapx.html">Библиотека dynwrapx.dll и вызов функций Win 32 API</a><br /><a href="http://forum.script-coding.com/viewtopic.php?id=2214">JScript/VBScript &amp; Win32 API: DynamicWrapperX</a><br /><a href="http://forum.script-coding.com/viewtopic.php?id=2216">WSH: обсуждаем DynamicWrapperX от YMP</a><br />и дополнение от <strong>chessman</strong>:<br /><a href="http://forum.script-coding.com/viewtopic.php?id=5341">JScript/VBScript &amp; Win32: расширение возможностей DynamicWrapperX</a></p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2011-04-29T09:56:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=47934#p47934</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 1C & DynamicWrapper: передача строк]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=47933#p47933" />
			<content type="html"><![CDATA[<p>а i=w, не пробовал?</p>]]></content>
			<author>
				<name><![CDATA[chessman]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25359</uri>
			</author>
			<updated>2011-04-29T09:51:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=47933#p47933</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 1C & DynamicWrapper: передача строк]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=47932#p47932" />
			<content type="html"><![CDATA[<p><strong>shurik_klgd</strong>, а в 8.2 не пробовал? Может, это недостаток в 8.1 такой. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /> На 8.2 всё равно надо переходить...</p>]]></content>
			<author>
				<name><![CDATA[The gray Cardinal]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=2</uri>
			</author>
			<updated>2011-04-29T09:46:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=47932#p47932</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 1C & DynamicWrapper: передача строк]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=47930#p47930" />
			<content type="html"><![CDATA[<p>Может есть аналог DynamicWrapper?</p>]]></content>
			<author>
				<name><![CDATA[shurik_klgd]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26932</uri>
			</author>
			<updated>2011-04-29T09:23:21Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=47930#p47930</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 1C & DynamicWrapper: передача строк]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=47929#p47929" />
			<content type="html"><![CDATA[<p>alexii: ok, спасибо<br />Нарыл похожую траблу <a href="http://www.forum.mista.ru/topic.php?id=224672">v8: DynamicWrapper функция не возвращает строковое значение</a></p>]]></content>
			<author>
				<name><![CDATA[shurik_klgd]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26932</uri>
			</author>
			<updated>2011-04-29T09:22:10Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=47929#p47929</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 1C & DynamicWrapper: передача строк]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=47928#p47928" />
			<content type="html"><![CDATA[<p><span style="color: Green"><strong>shurik_klgd</strong>, код оформляется <a href="http://forum.script-coding.com/help.php#bbcode">тэгом «code»</a>, ссылки оформляются <a href="http://forum.script-coding.com/help.php#bbcode">тэгом «url»</a>, в заголовке темы указывается <a href="http://forum.script-coding.com/rules.html#3.1.">префикс языка</a>. Я поправил Ваш пост.</span></p><p><span style="color: Green">Подумал, и перенёс тему в <a href="http://forum.script-coding.com/viewforum.php?id=22">Прочие скриптовые технологии и близкие к ним</a>.</span></p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2011-04-29T09:11:00Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=47928#p47928</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[1C & DynamicWrapper: передача строк]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=47927#p47927" />
			<content type="html"><![CDATA[<p>Есть такая длл dynwrp.dll<br />описание тут:<br /><a href="http://www.script-coding.com/dynwrap.html">http://www.script-coding.com/dynwrap.html</a></p><p>Так вот, с ее помощью я хочу вызвать функции других длл, в 1С<br />Вот код в 1С 7.7:<br /></p><div class="codebox"><pre><code>Wrapper = СоздатьОбъект&quot;DynamicWrapper&quot;);
Wrapper.Register(&quot;USER32.DLL&quot;, &quot;ActivateKeyboardLayout&quot;, &quot;i=ll&quot;, &quot;f=s&quot;, &quot;r=l&quot;);
Wrapper.Register(&quot;USER32.DLL&quot;, &quot;LoadKeyboardLayout&quot;, &quot;i=sl&quot;, &quot;f=s&quot;, &quot;r=l&quot;);
rus = Wrapper.LoadKeyboardLayout(&quot;00000419&quot;, 0);
Wrapper.ActivateKeyboardLayout(rus, 0);</code></pre></div><p>Вот код в 1С 8.1:<br /></p><div class="codebox"><pre><code>Wrapper = Новый COMОбъект(&quot;DynamicWrapper&quot;);
Wrapper.Register(&quot;USER32.DLL&quot;, &quot;ActivateKeyboardLayout&quot;, &quot;i=ll&quot;, &quot;f=s&quot;, &quot;r=l&quot;);
Wrapper.Register(&quot;USER32.DLL&quot;, &quot;LoadKeyboardLayout&quot;, &quot;i=sl&quot;, &quot;f=s&quot;, &quot;r=l&quot;);
rus = Wrapper.LoadKeyboardLayout(&quot;00000419&quot;, 0);
Wrapper.ActivateKeyboardLayout(rus, 0);</code></pre></div><p>Суть в том, что в 7.7 работает, в 8.1 нет.</p><p>Проблема локализована, в 8.1 есть проблема с передачей строковых параметров, те которые &quot;i=s&quot;. В чем конкретно проблема не знаю, но строка доходит точно не в том виде, в котором я передаю или вообще никак не доходит. Может кодировка, может еще что-то...</p><p>Так вот вопрос, tсть какие-нибудь методы схитрить в данном случае, передать как-то по другому строковый параметр? Пробовал вместо s использовать r, не помогло.</p>]]></content>
			<author>
				<name><![CDATA[shurik_klgd]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26932</uri>
			</author>
			<updated>2011-04-29T09:03:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=47927#p47927</id>
		</entry>
</feed>
