For games you can use
1. If is a game where interaction speed is critical(Quake, CounterStrike, NeedForSpeed), use UDP protocols or UDP based RCP, or IPX.
2. If you're using game where inetraction speed is not critical, but the acuracy of data is (chess, StarCraft) you can use TCP based protocols.
In Visual Studio on the Project menu choose the Add New Item option. Then in the Add New Item Dialog, select the Web leaf on the tree and from the available items select ATL Server Web Service
Pete, thank you for the help. I have Visual Studio 6.0 Pro. Ed. On the Project menu it has Add to Project option. Then on the Add to Project Menu it has the following options:
New...
New Folder...
File...
Data Connection...
Am I missing something or do I have the wrong version? I did not see on the Project menu:
Add New Item option. Therefore I did not see the Web leaf items the lead to the ATL Server Web Service .
Please help. Thanks
Yeah, that’s fairly important information. Since you did not mention that you were using an older version of the product in the original post I just assumed you were using the latest version (Visual Studio 2003).
The ATL Web Service classes were added to the latest release of the product. I have no idea if they are available or compatible with previous versions. If they are I imagine there would be information about that on the microsoft.com web site.
I mean do u want to add Networking function to your app or do u want to turn this app into an ActiveX download or is it simple enough to present an HTML user interface for users to your game that runs on the server-side??
Yes, I want to make it available via the web. It will be played from my website. I need the best advice I can get to run this game from my server with nice flash interface. Your suggestions is highly appreciated. Thank you for the help.
Well if your running an IIS server you can create the app as a dll and run it as a web service - lookup ISAPI i think.
Then it should be easy to use it to create a flash program that calls this dll game.
Pete, I just installed Visual Studio.net 2003. When I tried using the ATL Server Web Service I got this error:"Web service support can only be added to ATL/Server Application DLL projects." Please help me again. OSR, Ion etc., please continue to help. I highly appreciate all the help. You guys are all great. Thank you
Web Services typically run as hosted code in a process provided by a web server, that is what makes them Web Services. In ATL Server this is done in the form of a DLL exposing a specific interface. Although strictly speaking this model is not exclusive, but you will find most web servers supporting it natively. Should you desire to use an isolated process you might have to devise your own mechanism to integrate your process with a specific Web Server.
Ummm... ATL Server is exclusively C++. The project type produces a DLL that can be installed and executed under the IIS Web Server.
It is starting to appear that you do not have the prerequisite knowledge of internet application development and other related technologies to understand what we are saying. You should consider spending some time reading about the technologies to become acquainted with them conceptually before going any further with the project.
Check out ISAPI which stands for Internet Server API - and this will allow you to create your app as a DLL to be run as an IIS service on IIS servers. VC++ 6 has a project called ISAPI Extensions wizard that u can use -- in VS.NET I don't know if this exists but obviuosly microsoft has replaced most of their stuff with .NET technologies which are not that compatible with older servers and other non-microsoft servers.
U really need to use a web/server API for this b/c your application must accept/output http compatible stuff - and an API will help you with this - once you've done this you're 70% there - all u need to do is create the FLASH front end and get FLASH to extract the output from your program which is something im not sure how to implement in FLASH.
And that's it, u can use ATL/COM/ISAPI and maybe MFC can also help you just make your choice.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.