ATL Webservice / project template

Dec 13, 2008 at 12:07 PM
If i'm not wrong, there is not any project template for VS2008 for creating new ATL Web Service/Server project. It's highly needed and is one of main requirment of future ATL developers.
So, please think about that. without this feature enterprises and software designers will move to .NET and managed coding .. for me it is sad.

Well, i have also another question. i've opened one of my old ATL Webservice projects in VS2008 and i got below errors:

error C2337: 'request_handler' : attribute not found
error C2337: 'soap_handler' : attribute not found
fatal error C1903: unable to recover from previous error(s); stopping compilation

After googling the web i found out that i should use /FX, but i got the same errors. please help me in this issue.

Regards,
Dec 21, 2008 at 11:18 PM
You actually need to use project templates from previous versions of visual studio. Then compile them with the older version's compiler, as well as the older versions of atl server (include files). When compiled with the /FX switch, the results can manually be copied and pasted into your newer versions' project. Then you just need to verify that all the datatypes are the same. They are different between each release of atl server. It can be done...
Jan 9, 2009 at 9:36 PM
This walkthrough may help:
http://blogs.msdn.com/jpsanders/archive/2008/01/17/building-with-atlserver-based-soap-project-with-visual-studio-2008.aspx
May 26, 2011 at 9:44 AM
Edited May 26, 2011 at 9:48 AM

Hello jpsanders

Its really a nice post!.am trying the same thing but all in vain.. :(

I just followed the walk through , but still I get those errors,

 

 

 

 

 

 

 

 

 

and am not using  Orcas compiler..

I just have a ATL server project which is also a web service. which was built in vs 2005. Now I need to build the same project in VC9 VS2008 . I followed the walk through.

Got the .mrg.h and .mrg.cpp when compiled in Vs2005 with /Fx option. After I copied the code from the generated mrgs and replaced the code with the corresponding cpp and corresponding header,. When I rebuilrd it in Vs2008, am getting the above errors..

Could you please help me?

Thanks

 

1>qig_deilmhprjr212\catplmimplipd\data.d\IPDWebService_inj.h(13) : warning C4684: 'no_injected_text' : WARNING!! attribute may cause invalid code gneration: use with caution

 

1>NOTE: This merged source file should be visually inspected for correctness.

 

 

1>qig_deilmhprjr212\catplmimplipd\data.d\IPDWebService_inj.h(318) : error C2337: 'request_handler' : attribute not found

1>qig_deilmhprjr212\catplmimplipd\data.d\IPDWebService_inj.h(318) : error C2337: 'soap_handler' : attribute not found

1>qig_deilmhprjr212\catplmimplipd\data.d\IPDWebService_inj.h(318) : fatal error C1903: unable to recover from previous error(s); stopping compilation