Hi all.
I'm not used with windows programming at all to begin with. I'm more used with curl. However. I got to use Windows API this time, and I'm trying to get a hang of WinHttp but obviously get...
Type: Posts; User: Fader_Berg
Hi all.
I'm not used with windows programming at all to begin with. I'm more used with curl. However. I got to use Windows API this time, and I'm trying to get a hang of WinHttp but obviously get...
I went with calling shutdown() on socket from the signal handler. Don't really like it since feels a bit crude, but the fd is left valid and it does what it takes.
Hi.
I'm writing a FCGI-app and have come to a problem. I want to handle SIGINT to take down the server under control. But when handling SIGINT the accept-call doesn't get interrupted, so I have...
Not without a little modification.
#include <stdio.h>
int main ( ) {
printf(
"\r\n\r\n"
"<html>\n"
Here's a little more correctly expressed example of main.c. Still the same problem though...
#include <stdio.h>
extern char _binary_index_html_start[];
extern char...
I don't know fully how the objcopy object-file and the linker works it out, but that's how you've got to do it to make it work at the command line. I guess the declaration can be of any type.
I find...
Hi.
I've got a problem running a cgi-program with embedded html files. It works when running it from the command line, but not when running it in lighttpd. Then I get a 500 - Internal server...
No they are of the same versions. They came from different repos though (installation and base). I reinstalled the installation one from base, but no luck. I've filed a bug for it.
Thanks for help.
Thanks for your time...
No warnings at all. Segfault at same mutex. Must be something with the built on CentOS6.7 I guess. I'll try earlier versions.
linux-vdso.so.1 => (0x00007ffd1954b000)...
I am debugging it, and it segfaults while locking a mutex in g_context_type_guess... (G_LOCK(gio_xdgmime)).
That segfaults for me. Which version of RHEL and glib are you using?
Hi.
I'm using g_content_type_guess to find out mime-types och files.
It works fine on my Fedora-box, but when compiling and running the program in CentOS 6.7 it I get a segfault. (Also tested...
Thank you very much.
Thank you ledow... Yes I did.
Here's one for you, smartass.
Let me google something for you too
Is there a C API for Volume Shadow Copy in windows?
logstr gets allocated by str_dupf.
Forget it... I should'n free time_now.
Hi...
I've got a problem with the code below. It works the first time it's called. But if/when I call it a second time, the application crashes.
What have I done wrong?
#include...
I'm searching algorithms for set covering in C. Is there any good resource for things like this on the net?
Use stat.
wxWidgets doesn't have a C API.
You might use ResEd instead. I've been using IUP a lot, since I want the software to work with both linux and windows.
for (count = 0; count < 10; count ++)
printf("%d ", list[count]);
puts("");
for (count = 0; count < 10; count ++)
printf("%d ", list1[count]);
Wonderful...
Thank you very much.
I'm trying to get some code to work with Windows 7 64-bit. It's a part where a registry value should be removed after cloning.
The opening of the registry key is done with success but I recieve the...
Make it safe then.