Jump to content

Need some direction/ help in starting this project

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
havoc783

havoc783

    Newbie

  • Members
  • Pip
  • 2 posts
Hi,
I'm writing a Windows Mobile app. I'm trying to access a forum online and pull data from the website and display it locally. I'd like to post and reply from this and view the categories with in the forum etc. I'm not looking for you to write the code, but I'm a newly developing programmer who has never explored this region of coding yet. Thanks

#2
winuser

winuser

    Newbie

  • Members
  • PipPip
  • 26 posts
You can use Winsock to download source code of page and then use boost::regex_search or std::string - method find(). There are many code samples in network for that what you want to do..

#3
havoc783

havoc783

    Newbie

  • Members
  • Pip
  • 2 posts
Thanks for the reply. Can you go into some details on how to use Winsock. I read the wiki page that described it as an api that allows you to access sockets. How is the website ( in this case forum) designed so that you would know what socket to access and so on. Very new to this, not sure of the inner working. Thanks

#4
winuser

winuser

    Newbie

  • Members
  • PipPip
  • 26 posts
I can try help you

You can use WinInet or WinSock. I prefer WinInet in order to solve your problem.

First read some technical information / tutorial about WinInet. dotnetheaven.com/uploadfile/mahesh/wininetintroduction05242005061945am/wininetintroduction.aspx
If you have any questions i can answer you.

If you want use WinSock here is some answers for your questions codeproject.com/KB/IP/winsockintro02.aspx i prefer to insert recv() function into separate thread (use _beginthreadex() from std c++ for windows).