Search:

Type: Posts; User: cornholio

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    2,465

    Ok, you're right, those functions are deprecated....

    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...
  2. Replies
    4
    Views
    2,465

    GTK troubles...again...

    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...
  3. Replies
    2
    Views
    4,457

    Syntax error before or at

    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;
  4. Replies
    1
    Views
    2,051

    Problem with network code

    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...
  5. Replies
    6
    Views
    7,229

    Hello, well, the compilation worked, an so does...

    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,...
  6. Replies
    6
    Views
    7,229

    I've found another solution, but there is a...

    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...
  7. Replies
    8
    Views
    2,494

    Yes they are what im expecting, as long as i only...

    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...
  8. Replies
    8
    Views
    2,494

    /* * Callback function for the MainWindow */...

    /*
    * Callback function for the MainWindow
    */
    LRESULT CALLBACK MainWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam){
    switch(msg){
    case WM_CREATE:
    actualConfiguration =...
  9. Replies
    8
    Views
    2,494

    No, doesnt work unfortunately, but thanks anyway....

    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?
  10. Replies
    8
    Views
    2,494

    Troubles with ListView and Toolbar

    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...
  11. Replies
    6
    Views
    7,229

    Thank you guys for your help and the piece of...

    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 ?
  12. Replies
    1
    Views
    1,225

    Size of buttons in toolbar

    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...
  13. Replies
    1
    Views
    1,113

    Access a Listbox

    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?
    ...
  14. Replies
    6
    Views
    7,229

    Idle time of the user

    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...
  15. Replies
    6
    Views
    5,343

    This Code is called over a Timer every 5 minutes...

    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...
  16. Replies
    6
    Views
    5,343

    Well, the connections closing now, i had to set...

    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...
  17. Replies
    6
    Views
    5,343

    Troubles with Sockets

    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...
Results 1 to 17 of 17