EDN Admin
Well-known member
<font face=Arial size=2>
<p class=MsoNormal style="margin:0in 0in 10pt <font face=Calibri size=3>Hello,</font>
<p class=MsoNormal style="margin:0in 0in 10pt <font size=3><font face=Calibri>I have created a project using the steps from PTC : “Suggested Technique for Creating A Visual C++ Win32 Console Project within Microsoft Visual Studio .NET 2003” (The link below)</font></font>
<p class=MsoNormal style="margin:0in 0in 10pt <font size=3><font face=Calibri>http://www.ptc.com/cs/cs_25/howto/ptk1149/ptk1149.htm</font></font>
<p class=MsoNormal style="margin:0in 0in 10pt <font size=3><font face=Calibri>I have been told that Pro/Toolkit works well with Visual Studio 2003. But in following versions (2005 - 2008), standard libraries have changed, and compilation will not work. A possible solution might be to link additional dynamic libraries into the project.</font></font>
<p class=MsoNormal style="margin:0in 0in 10pt <font size=3><font face=Calibri>I have tried a sample code from the Pro/TOOLKIT User’s Guide. I can supply it if it is required.</font></font>
<p class=MsoNormal style="margin:0in 0in 10pt" align=left><font size=3><font face=Calibri>On compilation I get only one error from the Pro/TOOLKIT header file “prowchar.h”:
</font></font><font size=3><font face=Calibri>“error C2632: short followed by wchar_t is illegal”</font></font>
<p class=MsoNormal style="margin:0in 0in 10pt <font face=Calibri size=3>We do not have Visual Studio 2003.</font>
<p class=MsoNormal style="margin:0in 0in 10pt <font face=Calibri size=3>Is there a way to compile a project done in Visual Studio 2008, as if we were using Visual Studio 2003?
What are the additional settings for Visual Studio 2008 to do that if it is possible?
What might be the additional dynamic libraries to link into the project?<br style=" <br style=" </font>
<p class=MsoNormal style="margin:0in 0in 10pt <font face=Calibri size=3>The following quote is from the Pro/TOOLKIT User’s Guide.
http://www.ptc.com</font>
<p class=MsoNormal style="margin:0in 0in 10pt <font face=Calibri size=3>"
Pro/TOOLKIT is the customization toolkit for Pro/ENGINEER from Parametric Technology Corporation (PTC). It gives customers and third-parties the ability to expand Pro/ENGINEER capabilities by writing C programming language code and then seamlessly integrating the resulting application into Pro/ENGINEER. </font>
<p class=MsoNormal style="margin:0in 0in 10pt <font face=Calibri size=3>Pro/TOOLKIT provides a large library of C functions to provide the external application safe and controlled access to the Pro/ENGINEER database and applications. Pro/TOOLKIT is the primary PTC application programmers interface (API) for Pro/ENGINEER.
</font>
<p class=MsoNormal style="margin:0in 0in 10pt <font face=Calibri size=3>"</font>
<p class=MsoNormal style="margin:0in 0in 10pt" align=left><font face=Calibri size=3>Thanks,</font>
<p class=MsoNormal style="margin:0in 0in 10pt <font face=Calibri size=3>Michael</font>
<p align=left></font>
View the full article
<p class=MsoNormal style="margin:0in 0in 10pt <font face=Calibri size=3>Hello,</font>
<p class=MsoNormal style="margin:0in 0in 10pt <font size=3><font face=Calibri>I have created a project using the steps from PTC : “Suggested Technique for Creating A Visual C++ Win32 Console Project within Microsoft Visual Studio .NET 2003” (The link below)</font></font>
<p class=MsoNormal style="margin:0in 0in 10pt <font size=3><font face=Calibri>http://www.ptc.com/cs/cs_25/howto/ptk1149/ptk1149.htm</font></font>
<p class=MsoNormal style="margin:0in 0in 10pt <font size=3><font face=Calibri>I have been told that Pro/Toolkit works well with Visual Studio 2003. But in following versions (2005 - 2008), standard libraries have changed, and compilation will not work. A possible solution might be to link additional dynamic libraries into the project.</font></font>
<p class=MsoNormal style="margin:0in 0in 10pt <font size=3><font face=Calibri>I have tried a sample code from the Pro/TOOLKIT User’s Guide. I can supply it if it is required.</font></font>
<p class=MsoNormal style="margin:0in 0in 10pt" align=left><font size=3><font face=Calibri>On compilation I get only one error from the Pro/TOOLKIT header file “prowchar.h”:
</font></font><font size=3><font face=Calibri>“error C2632: short followed by wchar_t is illegal”</font></font>
<p class=MsoNormal style="margin:0in 0in 10pt <font face=Calibri size=3>We do not have Visual Studio 2003.</font>
<p class=MsoNormal style="margin:0in 0in 10pt <font face=Calibri size=3>Is there a way to compile a project done in Visual Studio 2008, as if we were using Visual Studio 2003?
What are the additional settings for Visual Studio 2008 to do that if it is possible?
What might be the additional dynamic libraries to link into the project?<br style=" <br style=" </font>
<p class=MsoNormal style="margin:0in 0in 10pt <font face=Calibri size=3>The following quote is from the Pro/TOOLKIT User’s Guide.
http://www.ptc.com</font>
<p class=MsoNormal style="margin:0in 0in 10pt <font face=Calibri size=3>"
Pro/TOOLKIT is the customization toolkit for Pro/ENGINEER from Parametric Technology Corporation (PTC). It gives customers and third-parties the ability to expand Pro/ENGINEER capabilities by writing C programming language code and then seamlessly integrating the resulting application into Pro/ENGINEER. </font>
<p class=MsoNormal style="margin:0in 0in 10pt <font face=Calibri size=3>Pro/TOOLKIT provides a large library of C functions to provide the external application safe and controlled access to the Pro/ENGINEER database and applications. Pro/TOOLKIT is the primary PTC application programmers interface (API) for Pro/ENGINEER.
</font>
<p class=MsoNormal style="margin:0in 0in 10pt <font face=Calibri size=3>"</font>
<p class=MsoNormal style="margin:0in 0in 10pt" align=left><font face=Calibri size=3>Thanks,</font>
<p class=MsoNormal style="margin:0in 0in 10pt <font face=Calibri size=3>Michael</font>
<p align=left></font>
View the full article