Ok, you're right, those functions are deprecated. But GtkComboBoxEntry for example exists since GTK 2.4. The problem now is, that i have to use GTK 2.0. This is the actual stable Solaris version, as...
Type: Posts; User: cornholio
Ok, you're right, those functions are deprecated. But GtkComboBoxEntry for example exists since GTK 2.4. The problem now is, that i have to use GTK 2.0. This is the actual stable Solaris version, as...
Hello,
this is my second post today, and its the second question.
I've got a programm, which creates a seg fault after some days. I dont know, where this fault is generated.
Now i tried to...
Hello,
i get the following error, when i try to compile my programm with the sun cc compiler:
syntax error before or at: *
The Problem Line is this one:
GList *glist = NULL;
Hello,
i have the following network code. If i call the function sendDataToServer, sometimes i get random core dumps. I know its bad code, but its also not mine ... i would be very happy if you guys...
Hello,
well, the compilation worked, an so does the code. But now, i've got another problem... ;)
These XScreenSaver functions only work, if the XscreenSaver extension is present.
But i want code,...
I've found another solution, but there is a problem while i try to compile the source code.
This is the code:
#include <stdio.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include...
Yes they are what im expecting, as long as i only resize the window.
If i'm accessing the toolbar, a new WM_SIZE message is send, and the value of this message is not what im expecting. There are...
/*
* Callback function for the MainWindow
*/
LRESULT CALLBACK MainWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam){
switch(msg){
case WM_CREATE:
actualConfiguration =...
No, doesnt work unfortunately, but thanks anyway.
I belive that the size of the listView is set new, if the toolbar is accessed.
Any ideas how to avoid this? Any idea why this is like that?
Hi guys its me again, and i've got another problem... again.
In my main Window of my program i have a menu, a toolbar and a listview.
The listview is filled correctly. Now i tried to make it...
Thank you guys for your help and the piece of code.
Is there also an other way than the one mix0matt described?
How can i find out the terminal device of the user? Is it always /dev/pts/5 ?
Hello,
i have a toolbar which contains a button which has a size of 91x15 px.
How can i display this button propertly?
If i try it with the following code, only a button of i think 15x15 px is...
Hello,
i have this little problem.
In my code, i create a listbox, which is a child window from the main window.
Now, the problem is: how can i access the listbox in the MainWindowProc function?
...
Hello together,
i write a little programm, which checks, if a user is sitting in front of his computer or not.
Now i want to find out, how long the user is idle, means how long no input has been...
This Code is called over a Timer every 5 minutes or so.
Well i'll try to call WSAStartup() and WSACleanup() only once, but i dont think this will solve my problem. The problem seems to be the...
Well, the connections closing now, i had to set the LINGER on the serverside too. But thanks for your answer.
But i still have the problem of the memory leak. Every time a connection is closed, the...
Hello together,
this is my first thread here, but i think there will be some more ;)
Ok, here's my problem:
I've written a simple client programm, which sends data to a server every 5 minutes...