Hi<br>I am evaluating aspectC++ add-in from pure-systems.com (this add-in can be installed on Visual Stduio 2005)<br>I opened an existing project (this project was created with AppWizard tool of Visual Studio) , add an aspect.ah file into the project the content of the aspect.ah is as follows;<br><br>#include<stdio.h><br><br>aspect hello{<br> <br>};<br><br><br><br>after rebuilding all, the Visual C (Visual Studio 2005) failed and give lots of error messages,<br>I also included stdafx.h in all the header files of the project..nothing changed.<br><br>(Meanwhile I experimented and saw that If source is generated by AppWizard the mentioned errors arise, if you create an empty project and write all the codes by hand and add the aspect then no problem occurs. The problem is with the AppWizard generated code. I searched the pure-systems documents, they advices to add #include "stdafx.h" comment in every header file generated by AppWizard, I tried but
nothing changed.)<br><br>If you could help me I would be very grateful...<br><br><br><br>Thanks in advance..,,<br><br>------ Rebuild All started: Project: bC3 Server, Configuration: Release Win32 ------<br>Deleting intermediate and output files for project 'bC3 Server', configuration 'Release|Win32'<br>Compiling...<br>weaving ... .\StdAfx.cpp -> .\Release\StdAfx.cpp<br>C:/Program Files/Microsoft Visual Studio 8/VC/atlmfc/include/afxcomctl32.h(240): error: pasting "_InitCommonControls" and "(" does not give a valid preprocessing token<br>C:/Program Files/Microsoft Visual Studio 8/VC/atlmfc/include/afxcomctl32.h(240): error: pasting ")" and "(" does not give a valid preprocessing token<br>C:/Program Files/Microsoft Visual Studio 8/VC/atlmfc/include/afxcomctl32.h(241): error: pasting "_InitCommonControlsEx" and "(" does not give a valid preprocessing token<br>C:/Program Files/Microsoft Visual Studio 8/VC/atlmfc/include/afxcomctl32.h(241): error: pasting ")" and "(" does
not give a valid preprocessing token<br><br>..............<br>..............<br><br>C:/Program Files/Microsoft Visual Studio 8/VC/atlmfc/include/afxcomctl32.inl(185): error: pasting "AfxCtxPageSetupDlgA" and "(" does not give a valid preprocessing token<br>C:/Program Files/Microsoft Visual Studio 8/VC/atlmfc/include/afxcomctl32.inl(186): error: pasting "AfxCtxPageSetupDlgW" and "(" does not give a valid preprocessing token<br>C:/Program Files/Microsoft Visual Studio 8/VC/atlmfc/include/atlalloc.h(80): error: invalid member declaration near token `i64'<br>C:/Program Files/Microsoft Visual Studio 8/VC/atlmfc/include/atlalloc.h(89): error: invalid member declaration near token `i64'<br>C:/Program Files/Microsoft Visual Studio 8/VC/atlmfc/include/afx.h(1067): error: invalid member declaration near token `generic'<br>C:/Program Files/Microsoft Visual Studio 8/VC/atlmfc/include/afx.h(1113): error: invalid member declaration near token `generic'<br>AspectC++ failed for
StdAfx.cpp<br>Creating browse information file...<br>Microsoft Browse Information Maintenance Utility Version 8.00.50727<br>Copyright (C) Microsoft Corporation. All rights reserved.<br>BSCMAKE: error BK1506 : cannot open file '.\Release\AccountsDlg.sbr': No such file or directory<br>Build log was saved at "file://c:\1\bc3_server\source\Release\BuildLog.htm"<br>bC3 Server - 379 error(s), 0 warning(s)<br>========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========<p>
<hr size=1>Be a better Heartthrob. <a href="http://us.rd.yahoo.com/evt=48255/*http://answers.yahoo.com/dir/_ylc=X3oDMTI5MGx2aThyBF9TAzIxMTU1MDAzNTIEX3MDMzk2NTQ1MTAzBHNlYwNCQUJwaWxsYXJfTklfMzYwBHNsawNQcm9kdWN0X3F1ZXN0aW9uX3BhZ2U-?link=list&sid=396545433">Get better relationship answers </a>from someone who knows.<br>Yahoo! Answers - Check it out.