<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK:createRemoteThread]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=14738</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=14738&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK:createRemoteThread».]]></description>
		<lastBuildDate>Thu, 25 Apr 2019 13:50:12 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[AHK:createRemoteThread]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=133837#p133837</link>
			<description><![CDATA[<p>Eсть функция createRemoteThread. Как я понял она создаёт поток в удалённом процессе. Мне нужна замена этой функции, ибо когда я её использую процесс закрывается античитом. Возможно есть какие то аналоги?<br /></p><div class="codebox"><pre><code>createRemoteThread(hProcess, lpThreadAttributes, dwStackSize, lpStartAddress, lpParameter, dwCreationFlags, lpThreadId) {
    if(!hProcess) {
        ErrorLevel := ERROR_INVALID_HANDLE
        return 0
    }
    
    dwRet := DllCall(    &quot;CreateRemoteThread&quot;
                        , &quot;UInt&quot;, hProcess
                        , &quot;UInt&quot;, lpThreadAttributes
                        , &quot;UInt&quot;, dwStackSize
                        , &quot;UInt&quot;, lpStartAddress
                        , &quot;UInt&quot;, lpParameter
                        , &quot;UInt&quot;, dwCreationFlags
                        , &quot;UInt&quot;, lpThreadId
                        , &quot;UInt&quot;)
    if(dwRet == 0) {
        ErrorLEvel := ERROR_ALLOC_MEMORY
        return 0
    }
    
    ErrorLevel := ERROR_OK
    return dwRet
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ExeLLenT)]]></author>
			<pubDate>Thu, 25 Apr 2019 13:50:12 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=133837#p133837</guid>
		</item>
	</channel>
</rss>
