Help Logs Database

Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Ircnet  |  Dalnet
Page: 1 2 3 4 5 6 7 8 9

<Genia4> my onion rocks
<Bostjan> can anyone help me compile http://ruffnex.oc.to/kenji/text/api_hook/API_Hook.zip
<Bostjan> LINK : fatal error LNK1221: a subsystem can't be inferred and must be defined
<Soronel> dang, they don't even have all of the 2002 cases available
<Genia4> already has 3 mini-leaves
<Bostjan> i get that after i want to compile it
<Genia4> might actually have a good harvest :)
<Genia4> and it grows in water
<Genia4> only water
<Genia4> no dirt
<Genia4> tomorrow I'll change the water
<Bostjan> with cl API_Hook_Lib.cpp /nologo /MD /GA /G5 /O1 /link /ENTRY:Main_MessageBox user32.lib
<boxxers> hold up bostjan
<boxxers> ill try to help out
<Bostjan> sweet
<Bostjan> i pasted code at http://rafb.net/paste/results/Qicwhb76.html
<Soronel> So what kind of output file are you trying to create?
<Bostjan> so you can take quick look at it
<Bostjan> it's dll
<boxxers> tight
<boxxers> hey btw
<boxxers> do you know what the library include file is for the send() function?
<Soronel> dll's shouldn't need a subsystem
<Soronel> you need to add /LD though
<Soronel> or /LDd for a debug build
<Bostjan> hum
<upb> boxxers: wsock32.lib
<upb> erm
<upb> ws2_32.lib :)
<Soronel> boxxers: on win32? you need to link against Ws2_32.lib
<Bostjan> LINK : warning LNK4044: unrecognized option "LD"; ignored
<Bostjan> if i use /LD
<Soronel> the /LD is a compiler option, not linker
<boxxers> tight thnx guys
<Bostjan> Soronel: right, now works better
<Bostjan> :)
<Soronel> calc right
<CalcMe> right = <Soronel> of course I'm right, I'm Soronel
<TfAv1228> can anybody help me
<TfAv1228> char* a; char* b i want to combine into char* c
<Soronel> TfA: you've been more than helped, but you choose to ignore it
<TfAv1228> std::string
<TfAv1228> doesnt work for me
<TfAv1228> i get std is not a type or namespace error
<Bostjan> dudes thanks for your help it works now
<Bostjan> :*
<Soronel> calc ref
<CalcMe> ref = Some C++ Reference Sources: (1) Your compiler documentation (2) http://www.dinkumware.com/manuals/reader.aspx?lib=cpp (3) http://msdn.microsoft.com/library/en-us/vcstdlib/html/vcoriStandardCLibraryReference.asp?frame=true (4) http://www.sgi.com/tech/stl/ (5) http://www.cppreference.com (*) http://www.google.com
<boxxers> great your cool...
<boxxers> im like doing all these things
<boxxers> sry i took a look at the code but it seems you've been help!
<boxxers> thnx guys
<boxxers> asdflk;ja
<Soronel> boxxers: sure
<boxxers> hey bostjan what is this for?
<Genia4> night all
<Genia4> 3:47am :(
<Soronel> see ya Genia
<Bostjan> boxxers: you mean code ?
<boxxers> yeah
<boxxers> what would the .h file be?
<boxxers> btw?
<boxxers> sry about that
<Bostjan> boxxers: only few exports
<Bostjan> boffman: this is for hooking API functions, looks like only working example on web
<Bostjan> ups
<Bostjan> boxxers even
<upb> http://www.google.com/search?hl=et&q=site%3Aexetools.com+%22hooking+api%22&lr=
<upb> ;)
<Soronel> the bound volume pdf has a lot of stuff that the opinions don't
<Soronel> guess that's to be expected
<X-Istence> &
<boxxers> anyone know a good place to learn
<boxxers> windows socket programming?
<subbawt> google for beej's socket tutorial
<subbawt> or whatever it is
<subbawt> guide to network programming
<userme> anyone use cvs for a c++/java project on windows platform?
<upb> yep, i use just 3 things, cvs update, cvs diff, cvs commit :-)
<Relipse> hey does anyone know anything about philosophy, MILL, ARISTOTLE, PLATO? What is the Common Sense Theory of Action?
<boxxers> hmm
<boxxers> in c++?
<boxxers> ha
<Relipse> this is the only channel I know people in
<boxxers> i know a bit about common sense .,...
<boxxers> oh
<boxxers> ok
<Kniht> std::philosophy
<Relipse> lol
<boxxers> seriously.
<Relipse> anyway
<Relipse> what is a channel where people are smart?
<Kniht> #dumb***es
<boxxers> philosphy.aristotle.theory_of_actions(ques_1, reply_syntax);
<boxxers> there.
<boxxers> run that under...
<boxxers> uhhmm
<boxxers> compiler...compiler...
<boxxers> a;lkdsjf
<boxxers> #ifarted_hard
<boxxers> what about the theory of action?
<boxxers> http://plato.stanford.edu/entries/action
<boxxers> there you go fat joo joo bee
<boxxers> in beej's guide to network programming
<boxxers> im getting this
<boxxers> error
<boxxers> if (bind(s, &srv, sizeof(srv)) == -1)
<boxxers> 58 C:\Documents and Settings\libstudent26\Desktop\fat_.cpp cannot convert `sockaddr_in*' to `const sockaddr*' for argument `2' to `int bind(SOCKET, const sockaddr*, int)'
<boxxers> did i fart ? or am i stupid?
<Kniht> it's a C api with C polymorphism, you have to reinterpret_cast it
<boxxers> can you ...
<boxxers> help me?
<Kniht> i believe beej's sample code also shows the type to cast to, and it's right there in your error message
<boxxers> oh
<djkl407> anyone here can code structs,dynamic memory allocation, PM me....ill pay
<Kniht> calc prices
<CalcMe> prices = Answers are a dollar. Answers which require thought are five dollars. Correct answers are twenty dollars. Dumb looks and newbie torment come free, of course. Homework done for $1500-$2000/day or any part of that day (What's an 'A' worth to you?). Think Paypal!
<george554> hi this is about CArchive, I have an array of CRects and I want to serialize this array but some elements might be NULL how can I do it?
<Kniht> calc win
<CalcMe> win = While C++ programming sometimes collides with Windows (win32 etc), MFC and GUI questions are usually best asked in #winprog and #win32 (the latter focusses on win32 API discussion). Visual C++ specific: try #visualc++ .
<george554> thanksd
<boxxers> calc homo***uals
<boxxers> damn.
<boxxers> i thought calc was a prog in this chat room that would calculate the value of x.
<boxxers> calc god
<Kniht> calc calc
<CalcMe> calc = Calcs are for you, the user, to learn from and for us, the ops and regulars, to teach you with. CalcMe is a bot which responds only to ops and regulars (others - don't bother trying to calc).
<boxxers> calcME
<boxxers> aww
<boxxers> i wanna be op!
<george554> that room is dead
<userme> any idea from where i can download CVS (code version control) I did google but a lot of hits
<upb> google cvsnt
<boxxers> what does the & mean
<boxxers> in front of a char*
<boxxers> or whatever
<boxxers> *srv?
<boxxers> opps
<boxxers> &srv?
<Kniht> boxxers: & has more than one use, that looks like the address-of operator
<userme> even with CVSNT I got many hits.. who own cvsnt
<Kniht> int n; int* p = &n;
<userme> is this the right page http://www.march-hare.com/cvspro/
<upb> userme: yes
<boxxers> ok anyone wanna help with the conversion
<boxxers> 58 C:\Documents and Settings\libstudent26\Desktop\fat_.cpp cannot convert `sockaddr_in*' to `const sockaddr*' for argument `2' to `int bind(SOCKET, const sockaddr*, int)'
<boxxers> wait
<boxxers> nvrmind
<lordpil> this is totally ridiculous


Return to c++
or
Go to some related logs:

mustafiano

Copyright © 2005 www.irclogs.ws. All rights reserved. » disclaimer » contact