<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Problem mit: String Convertieren(umwandeln)?!]]></title><description><![CDATA[<p>Hi habe nen problem!<br />
möschte einen String so convertieren, das ich ihn als hex(siehe unten) einsetzen kann<br />
weiß jemand wie das geht?</p>
<p>Der String enthält folgendes:</p>
<pre><code>String alpha = &quot;0x57&quot;;
</code></pre>
<p>Also einen Tastenwert in hex!</p>
<pre><code>keybd_event(hex, 0, 0, NULL);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/159277/problem-mit-string-convertieren-umwandeln</link><generator>RSS for Node</generator><lastBuildDate>Mon, 10 Aug 2026 22:42:37 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/159277.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 Sep 2006 13:41:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem mit: String Convertieren(umwandeln)?! on Wed, 13 Sep 2006 13:41:42 GMT]]></title><description><![CDATA[<p>Hi habe nen problem!<br />
möschte einen String so convertieren, das ich ihn als hex(siehe unten) einsetzen kann<br />
weiß jemand wie das geht?</p>
<p>Der String enthält folgendes:</p>
<pre><code>String alpha = &quot;0x57&quot;;
</code></pre>
<p>Also einen Tastenwert in hex!</p>
<pre><code>keybd_event(hex, 0, 0, NULL);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1136672</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1136672</guid><dc:creator><![CDATA[Schimanski]]></dc:creator><pubDate>Wed, 13 Sep 2006 13:41:42 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit: String Convertieren(umwandeln)?! on Wed, 13 Sep 2006 13:51:47 GMT]]></title><description><![CDATA[<p>StrToInt() ??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1136681</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1136681</guid><dc:creator><![CDATA[ser1al]]></dc:creator><pubDate>Wed, 13 Sep 2006 13:51:47 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit: String Convertieren(umwandeln)?! on Wed, 13 Sep 2006 13:52:17 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>ich glaube du hast einen falschen Ansatz.<br />
Die WinAPI-Funktion <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/keyboardinput/keyboardinputreference/keyboardinputfunctions/keybd_event.asp" rel="nofollow">keybd_event</a> nimmt als einen der Parameter einen Virtual Key Code entgegen, und zwar als Byte. das ist ein <em>short int</em>, entspricht also <em>char</em>. Deshalb kannst du chars übergeben</p>
<pre><code class="language-cpp">char key = 0x57;
keybd_event(key, 0, 0, NULL);
</code></pre>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1136682</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1136682</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 13 Sep 2006 13:52:17 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit: String Convertieren(umwandeln)?! on Wed, 13 Sep 2006 14:00:33 GMT]]></title><description><![CDATA[<p>hey danke! THx</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1136688</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1136688</guid><dc:creator><![CDATA[Schimanski]]></dc:creator><pubDate>Wed, 13 Sep 2006 14:00:33 GMT</pubDate></item></channel></rss>