<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:10pt"><DIV></DIV>
<DIV>Hola a todos los expertos pertenecientes a este foro, 1ro agradecerles por brindar la oportunidad a los q tenemos intenciones de incursionar algo en la programación, bueno me gustaria aclarar q recien estoy comenzando con estos temas aunq hice algo fue muy vano, bueno ahora si al grano xq seguro les quito tiempo:</DIV>
<DIV> </DIV>
<DIV>Un par de compañeros y yo nos propusimos hacer una pequeña experiencia para hacer una targeta de adquisicion para un par de sensores, esto con intenciones de dejar esto como presedente para mi carrera profecional en la cual no se cuenta con muchos recursos, para esto qremos usar software libre aqui entra c++ como el primer tema y ademas el uso de librerias de WinAPI para poder montarlo en windows, la comunicación esta pretendida hacerla mediante el puerto serial con el protocolo rs232, para esto les pido su ayuda respecto a documentacion q me pueda servir.</DIV>
<DIV> </DIV>
<DIV>Respecto al compilador estoy siguiendo el consejo q lei de alguno de uds de usar Dev C++, la version q baje es 4.9.9.2, aunq si alguien me dice q esta no es la mas adecuada pues la cambio, ademas comence a investigar sobre el uso de WinAPI como librerias para correr en windows y sin mas preambulo aunq de seguro ya los aburri aqui viene mi primera duda, espero no sea muy tonta, aunq alguien muy sabio me dijo alguna vez q no hay peores preguntas q las q no se hacen.</DIV>
<DIV> </DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><FONT size=3>Al usar el auto generador de código del compilador usado Dev c++ 4.9.9.2 en la declaración de la función de entrada nos vota:</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><FONT size=3> </FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT size=3>int WINAPI WinMain (<SPAN style="mso-tab-count: 1">           </SPAN>HINSTANCE hThisInstance,<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT size=3><SPAN style="mso-spacerun: yes">                    </SPAN><SPAN style="mso-tab-count: 3">                           </SPAN>HINSTANCE hPrevInstance,<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 106.2pt; TEXT-INDENT: 35.4pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT size=3>LPSTR lpszArgument,<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 106.2pt; TEXT-INDENT: 35.4pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT size=3>int nFunsterStil)<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><o:p><FONT size=3> </FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><FONT size=3>Pero leyendo el curso de WinAPI publicado se encontró publicado en la pagina </FONT><A href="http://www.conclase.net/"><FONT color=#800080 size=3>http://www.conclase.net/</FONT></A><FONT size=3> aparece:</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><FONT size=3></FONT> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT size=3><o:p></o:p></FONT></SPAN></P><FONT size=3></P>
<DIV style="BORDER-RIGHT: blue 3pt solid; PADDING-RIGHT: 8pt; BORDER-TOP: blue 1pt solid; PADDING-LEFT: 8pt; BACKGROUND: #eeeeee; PADDING-BOTTOM: 8pt; BORDER-LEFT: blue 1pt solid; PADDING-TOP: 8pt; BORDER-BOTTOM: blue 3pt solid; mso-border-top-alt: .75pt; mso-border-left-alt: .75pt; mso-border-bottom-alt: 3.0pt; mso-border-right-alt: 3.0pt; mso-border-color-alt: blue; mso-border-style-alt: solid"><PRE style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 0cm; BACKGROUND: #eeeeee; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none; mso-border-top-alt: .75pt; mso-border-left-alt: .75pt; mso-border-bottom-alt: 3.0pt; mso-border-right-alt: 3.0pt; mso-border-color-alt: blue; mso-border-style-alt: solid; mso-padding-alt: 8.0pt 8.0pt 8.0pt 8.0pt"><SPAN class=cpp1><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; mso-ansi-language: EN-US"><STRONG><FONT
 color=#aa4400>int</FONT></STRONG></SPAN></SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; COLOR: #000099; mso-ansi-language: EN-US"> </SPAN><SPAN class=prp1><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; mso-ansi-language: EN-US"><STRONG><FONT color=#00aa00>WINAPI</FONT></STRONG></SPAN></SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; COLOR: #000099; mso-ansi-language: EN-US"> <B>WinMain</B>(</SPAN><SPAN class=han1><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; mso-ansi-language: EN-US"><STRONG><FONT color=#00aa66>HINSTANCE</FONT></STRONG></SPAN></SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; COLOR: #000099; mso-ansi-language: EN-US"> hInstance, <o:p></o:p></SPAN></PRE><PRE style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 0cm; BACKGROUND: #eeeeee; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none; mso-border-top-alt: .75pt; mso-border-left-alt: .75pt; mso-border-bottom-alt:
 3.0pt; mso-border-right-alt: 3.0pt; mso-border-color-alt: blue; mso-border-style-alt: solid; mso-padding-alt: 8.0pt 8.0pt 8.0pt 8.0pt"><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; COLOR: #000099; mso-ansi-language: EN-US"><SPAN style="mso-spacerun: yes">                   </SPAN></SPAN><SPAN class=han1><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; mso-ansi-language: EN-US"><STRONG><FONT color=#00aa66>HINSTANCE</FONT></STRONG></SPAN></SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; COLOR: #000099; mso-ansi-language: EN-US"> hPrevInstance,<o:p></o:p></SPAN></PRE><PRE style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 0cm; BACKGROUND: #eeeeee; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none; mso-border-top-alt: .75pt; mso-border-left-alt: .75pt; mso-border-bottom-alt: 3.0pt;
 mso-border-right-alt: 3.0pt; mso-border-color-alt: blue; mso-border-style-alt: solid; mso-padding-alt: 8.0pt 8.0pt 8.0pt 8.0pt"><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; COLOR: #000099; mso-ansi-language: EN-US"><SPAN style="mso-spacerun: yes">                   </SPAN></SPAN><SPAN class=tip1><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; mso-ansi-language: EN-US"><STRONG><FONT color=#aa00aa>LPSTR</FONT></STRONG></SPAN></SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; COLOR: #000099; mso-ansi-language: EN-US"> lpszCmdParam, <o:p></o:p></SPAN></PRE><PRE style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 0cm; BACKGROUND: #eeeeee; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none; mso-border-top-alt: .75pt; mso-border-left-alt: .75pt; mso-border-bottom-alt: 3.0pt; mso-border-right-alt:
 3.0pt; mso-border-color-alt: blue; mso-border-style-alt: solid; mso-padding-alt: 8.0pt 8.0pt 8.0pt 8.0pt"><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; COLOR: #000099; mso-ansi-language: EN-US"><SPAN style="mso-spacerun: yes">                   </SPAN></SPAN><SPAN class=cpp1><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; mso-ansi-language: EN-US"><STRONG><FONT color=#aa4400>int</FONT></STRONG></SPAN></SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; COLOR: #000099; mso-ansi-language: EN-US"> nCmdShow)<o:p></o:p></SPAN></PRE></DIV></FONT></DIV>
<P><EM></EM> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT size=3>la duda es:<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><o:p><FONT size=3> </FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><FONT size=3>las dos ultimas líneas de la declaración, ¿son diferentes para cada caso?, no lo son y una es mas actual q la otra, en ese caso cuales son las mas actuales para usarlas, o si son diferentes cual es la función de cada una, en lo q lei no me quito las dudas asi q recurro a uds.</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><FONT size=3></FONT> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><FONT size=3>Gracias por el tiempo prestado.</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><FONT size=3></FONT> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><FONT size=3>Atte:</FONT></P>
<P>
<P><EM></EM> </P>
<P><EM>Paul Andree Masias Chacon                                                                <A href="mailto:paulmasias@yahoo.es" target=_blank rel=nofollow>paulmasias@yahoo.es</A></EM></P>
<P><EM>Estudiante</EM></P>
<P><EM>Ing. Electrónica</EM></P>
<P><EM>UNSAAC - Cusco - Perú</EM></P>
<P><EM>9721594 - 260352</EM></P></P>
<DIV></DIV></div><br>


      <hr size=1><br><font face="Verdana" size="-2">Sé un Mejor Amante del Cine<br>¿Quieres saber cómo? <a href="http://us.rd.yahoo.com/mail/es/tagline/beabetter/*http://advision.webevents.yahoo.com/reto/entretenimiento.html">¡Deja que otras personas te ayuden!
</a>.<br></font></body></html>