VS 2008 and ATL Web Service / Server
-
Hi, I've installed VS 2008 and i want to create a new ATL Webservice project. I just downloaded the last update of ATL Server project from Codeplex.com and copied the *.h files into related directories and build the VCDeploy, SProxy and ... utilities. But i cannot find the ATL Webservice / Server Project template in VS 2008. Please help me what to do ?! Regards,
-
Hi, I've installed VS 2008 and i want to create a new ATL Webservice project. I just downloaded the last update of ATL Server project from Codeplex.com and copied the *.h files into related directories and build the VCDeploy, SProxy and ... utilities. But i cannot find the ATL Webservice / Server Project template in VS 2008. Please help me what to do ?! Regards,
There's no project wizard/template in the ATL Server project - probably because the one that came in VS2003 (and VS2005? I don't know) is (c) Microsoft. Two options:
- Write it from scratch yourself
- Create an ATL Server project in a version of VS that does have the ATL Server project wizard and then upgrade it into VS2008
-
There's no project wizard/template in the ATL Server project - probably because the one that came in VS2003 (and VS2005? I don't know) is (c) Microsoft. Two options:
- Write it from scratch yourself
- Create an ATL Server project in a version of VS that does have the ATL Server project wizard and then upgrade it into VS2008
Well, it is sad that there is no way to start new project from VS2008 even when ATL Web Service/Server project has been moved to open communicate (So what the ... developer group do ?!!!!!) Ok, I've converted one of my old ATL Webservice project to VS9, but i got some errors about :
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 compilationI googled the web and found out i should use /FX for compiling the project, but i had no luck and got same errors ! Is there anyway to solve this problem ? (It seems it's time to dotnet ...)
-
Well, it is sad that there is no way to start new project from VS2008 even when ATL Web Service/Server project has been moved to open communicate (So what the ... developer group do ?!!!!!) Ok, I've converted one of my old ATL Webservice project to VS9, but i got some errors about :
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 compilationI googled the web and found out i should use /FX for compiling the project, but i had no luck and got same errors ! Is there anyway to solve this problem ? (It seems it's time to dotnet ...)
Seems to me that the ATL server attributes have been removed from the compiler (because that's where they're implemented). Looking at the attribute references for VS2005 and VS2008 on MSDN, you can see that the ATL Server attributes have disappeared between the two releases. What's wrong with just staying with VS2005 for building ATL Server projects? It's not like you have to be using the latest version - just look at all the people who still use (and prefer) VS6 to build MFC apps...can't for the life of me understand why they prefer VS6, but there you go.