<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Win32 API function wsprintf in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Win32-API-function-wsprintf/m-p/942349#M17320</link>
    <description>How does one get wsprintf to work?  &lt;BR /&gt;  &lt;BR /&gt;I use READ..WRITE for text conversion...but wsprintf is one of the few APIs that I can't get to work.  &lt;BR /&gt;  &lt;BR /&gt;Is it the _cdecl C calling convention?  &lt;BR /&gt;Is it how the arguments are moved on the stack?  &lt;BR /&gt;  &lt;BR /&gt;Enclose is one example of some code I tried with default project settings.  &lt;BR /&gt;  &lt;BR /&gt;! Start.  &lt;BR /&gt;   '  &lt;BR /&gt;   '  &lt;BR /&gt;USE DfWin ! Right?  &lt;BR /&gt;INTEGER i  &lt;BR /&gt;CHARACTER*25 lpStrg  &lt;BR /&gt;  &lt;BR /&gt;i=wsprintf(lpStrg,"%s",'Hello'c)  &lt;BR /&gt;  &lt;BR /&gt;   '  &lt;BR /&gt;   '  &lt;BR /&gt;! End.  &lt;BR /&gt;  &lt;BR /&gt;! Produces the following error:  &lt;BR /&gt;Error: This name does not have a type, and must have an explicit type.   [WSPRINTF]  &lt;BR /&gt;  &lt;BR /&gt;It seems the function can not be located, right?  &lt;BR /&gt;  &lt;BR /&gt;Thank You!</description>
    <pubDate>Tue, 13 Mar 2001 12:24:52 GMT</pubDate>
    <dc:creator>Intel_C_Intel</dc:creator>
    <dc:date>2001-03-13T12:24:52Z</dc:date>
    <item>
      <title>Win32 API function wsprintf</title>
      <link>https://community.intel.com/t5/Software-Archive/Win32-API-function-wsprintf/m-p/942349#M17320</link>
      <description>How does one get wsprintf to work?  &lt;BR /&gt;  &lt;BR /&gt;I use READ..WRITE for text conversion...but wsprintf is one of the few APIs that I can't get to work.  &lt;BR /&gt;  &lt;BR /&gt;Is it the _cdecl C calling convention?  &lt;BR /&gt;Is it how the arguments are moved on the stack?  &lt;BR /&gt;  &lt;BR /&gt;Enclose is one example of some code I tried with default project settings.  &lt;BR /&gt;  &lt;BR /&gt;! Start.  &lt;BR /&gt;   '  &lt;BR /&gt;   '  &lt;BR /&gt;USE DfWin ! Right?  &lt;BR /&gt;INTEGER i  &lt;BR /&gt;CHARACTER*25 lpStrg  &lt;BR /&gt;  &lt;BR /&gt;i=wsprintf(lpStrg,"%s",'Hello'c)  &lt;BR /&gt;  &lt;BR /&gt;   '  &lt;BR /&gt;   '  &lt;BR /&gt;! End.  &lt;BR /&gt;  &lt;BR /&gt;! Produces the following error:  &lt;BR /&gt;Error: This name does not have a type, and must have an explicit type.   [WSPRINTF]  &lt;BR /&gt;  &lt;BR /&gt;It seems the function can not be located, right?  &lt;BR /&gt;  &lt;BR /&gt;Thank You!</description>
      <pubDate>Tue, 13 Mar 2001 12:24:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Win32-API-function-wsprintf/m-p/942349#M17320</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-03-13T12:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Win32 API function wsprintf</title>
      <link>https://community.intel.com/t5/Software-Archive/Win32-API-function-wsprintf/m-p/942350#M17321</link>
      <description>I don't see why you need wsprintf -- simple internal WRITE would do it simplier and purer: &lt;BR /&gt; &lt;BR /&gt;WRITE(lpStrg,'(A)') 'Hello'C &lt;BR /&gt; &lt;BR /&gt;I think that's the reason why Compaq didn't even include it in Win32 headers. And yes, it's C calling convention. &lt;BR /&gt; &lt;BR /&gt;Jugoslav</description>
      <pubDate>Tue, 13 Mar 2001 20:53:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Win32-API-function-wsprintf/m-p/942350#M17321</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2001-03-13T20:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Win32 API function wsprintf</title>
      <link>https://community.intel.com/t5/Software-Archive/Win32-API-function-wsprintf/m-p/942351#M17322</link>
      <description>Thank You!</description>
      <pubDate>Wed, 14 Mar 2001 08:17:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Win32-API-function-wsprintf/m-p/942351#M17322</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-03-14T08:17:03Z</dc:date>
    </item>
  </channel>
</rss>

