| | |
API interchangable?
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
If I were to work on say an Instant Messenger project, and wrote the gui and event handling using wxWdigets, could I then use the windows API and use winsock to connect the two computers? Basically are API's interchangble in source code?
>That confuses me =(
Get used to it. Good programmers are in a constant state of confusion.
>Looks like i have some quasi specifics to investigate! Up Up And AWAY!
Get used to it. Good programmers are in a constant state of confusion.
>Looks like i have some quasi specifics to investigate! Up Up And AWAY!
•
•
•
•
well thats not very helpful =(. I am just looking for a simple idea if anyone can give me one. Nothing super in depth
If you want a simple answer then: yes you can probably mix the two, and no they are not interchangeable.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
•
•
Join Date: Mar 2009
Posts: 181
Reputation:
Solved Threads: 28
I know this isn't what you are asking but may I suggest you use something a little more portable than winsock. That would be Boost asio. There are good examples of an echo client/server here: http://www.boost.org/doc/libs/1_37_0.../examples.html
There are other options too, if you look around.
I suppose it doesn't hurt to learn the Windows API and Winsock for experience and to see another way of doing things, but someone would have to pay me very well to even think about using them.
There are other options too, if you look around.
I suppose it doesn't hurt to learn the Windows API and Winsock for experience and to see another way of doing things, but someone would have to pay me very well to even think about using them.
lazy? Not at all, I know many different api's have functionality that allows you to do the same thing as winsock, but I am more familiar with winsock then other api's similar functions. Perhapes if you read my original SIMPLE question, these subtle insults would not be needed.
Last edited by clutchkiller; Apr 2nd, 2009 at 8:26 pm.
>That confuses me =(
Get used to it. Good programmers are in a constant state of confusion.
>Looks like i have some quasi specifics to investigate! Up Up And AWAY!
Get used to it. Good programmers are in a constant state of confusion.
>Looks like i have some quasi specifics to investigate! Up Up And AWAY!
I've been called a lot of things in my life, but "lazy" isn't one of them. I would have taken only about an hour or less to find out the answer to that op's question, but he messed around for several hours trying to get someone else to do it for him.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
![]() |
Other Threads in the C++ Forum
- Previous Thread: Chess program
- Next Thread: Read This Before Posting
| Thread Tools | Search this Thread |
api array based beginner bitmap c++ c/c++ calculator char class classes code coding compile compiler console conversion count database delete deploy desktop developer directshow dll download dynamic email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream int integer java lib linkedlist linker linux list loop looping loops map math matrix memory multiple news node number output parameter pointer problem program programming project proxy python random read recursion recursive return sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






