I'm pretty new to MFC, and I've been working on a test program for aw hile. It started out as a "Multiple top-level documents" type program, but since I've used this program as my sandbox to test all...
Type: Posts; User: ubermensch
I'm pretty new to MFC, and I've been working on a test program for aw hile. It started out as a "Multiple top-level documents" type program, but since I've used this program as my sandbox to test all...
what compiler are you using? it compiles and runs fine for me on Dev-C++ 4.9.8.0...
Well, the problem turned out to be the mangling of my C function names... all I had to do was export the C functions using
#ifdef __cplusplus
extern "C" {
#endif
//Declare C functions...
Alright, I thought that might be the case. Not a big deal, just a bit of a nuisance since the pmc source will still constantly need to be edited and recompiled. Thanks for the help
Would this thread better fit in the windows programming forum? If so, could a moderator move it there please?
Ah yeah, I forgot to mention... some are .c files, some are .cpp files.... they're all compatible with c++ (compiles and runs fine in g++. In fact, this program is a straight port of a test program...
I've been programming for a while now, but almost exclusively in a linux environment. I've ported some code that I've been using in linux to windows for a program that I'm writing, and it all...
Great, thanks. Helps me out a lot
Alright thanks. The s_addr member is just an unsigned long int, but I have a feeling that this will be a pain in the ass.
Is there another function that does that opposite of what inet_addr() does?
I'd like to print an ip address in dotted quad that is already stored in sockaddr_in.in_addr.s_addr in binary.
Is there...
the structure must be malloc'ed with sizeof(struct) +number of bytes in the flexible array, so as to make room for it.. . ...
Done. Thanks for the help :/
I'm working on a server for a chat program i'm writing, and so far i have it structured to where a loop in main does nothing but sit and wait for a connection, set up the socket stuff, and create a...