Search:

Type: Posts; User: beg_g

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: Random!!!

    by beg_g
    Replies
    6
    Views
    1,114

    Hi, Another option -- #include...

    Hi,

    Another option --



    #include <stdio.h>
    #include <stdlib.h>

    int main()
  2. Thread: Assembler error

    by beg_g
    Replies
    4
    Views
    3,956

    Assembler error

    I wrote a kernel module for a character device however, when I try to compile it I get an assembler error, could this be a problem of the code or is it internal?



    beg_g@pop:~ > make
    gcc -Wall...
  3. Replies
    11
    Views
    8,678

    Segmentation fault

    Heyy all,

    Umm itld, now you weren't trying to compile C code with a C++ compiler, now were you?? :-) (!)

    That aside, I found only one bug which prevented the program from compiling, on line...
  4. Replies
    2
    Views
    1,490

    how about posting some code, you could be making...

    how about posting some code, you could be making some kind of error somewhere, I've done quite a bit of Async. socket programming (If that's what you are talking about here) so well maybe I could...
  5. Thread: Windows Hooks Q?

    by beg_g
    Replies
    3
    Views
    1,391

    Just look up the thread on the keyloggers, I...

    Just look up the thread on the keyloggers, I think the whole discussion is on "systemwide hooks" which you are interested in, actually there is little or nothing on keyloggers.
  6. Thread: weird problem

    by beg_g
    Replies
    3
    Views
    817

    weird problem

    I agree with Quzah. In addition if you really don't want your server to stop running just because of a port scan, you make it a system daemon using daemon(3) (man daemon). Then fork a child process...
  7. Thread: strtok

    by beg_g
    Replies
    4
    Views
    1,966

    strtok

    /* consider the prototype */
    char *strtok(char *one, const char *two);

    This function is used to separate string one in our case into tokens separated by characters from the string two. The first...
  8. Thread: SysListView32

    by beg_g
    Replies
    2
    Views
    8,801

    Thanks alot zMan

    Well I never, I hadn't set LVS_REPORT in my CreateWindowEx statement.

    thanks, works fine now
  9. Thread: SysListView32

    by beg_g
    Replies
    2
    Views
    8,801

    SysListView32

    Hi to all,

    I created a list view window using


    ListView = CreateWindowEx(WS_EX_CLIENTEDGE, "SysListView32", NULL, WS_CHILD | WS_VISIBLE | WS_HSCROLL | WS_VSCROLL,
    rc.left+156, rc.top+INIT,...
  10. Replies
    1
    Views
    1,732

    function locking

    Hi minime6696,

    Well, the winsock API was build on the Berkerly Sockets' model (some UNIX guys) and in this model all functions pertaining to connection-oriented sockets "block" (I would suppose...
  11. Replies
    2
    Views
    1,098

    shutting down windows xp

    Checking through the MSDN documentation on

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/shutdown_3ago.asp

    wouldn't do you a bit of harm, but to start you off here's...
  12. Replies
    8
    Views
    7,078

    encryption

    If your program fails to compile and gives messages like:



    tmp/ccMNhYc6.o: In function `main':
    /tmp/ccMNhYc6.o(.text+0x2d): undefined reference to `RSA_generate_key'...
  13. Replies
    8
    Views
    7,078

    encryption

    For encryption/decryption/signatures using public key cryptography, I could refer you to the following site

    http://www.openssl.org/docs

    I know it might be pretty much like diving into the...
  14. Replies
    4
    Views
    1,092

    Screen co-ords for dialog box

    After having created a dialog box using CreateDialogParam(),
    how should I specify the location where it should be on the screen e.g If I want it to always be at the centre of the screen.
    When I...
  15. Thread: strings...

    by beg_g
    Replies
    5
    Views
    1,200

    Uh... You don't say how you declared "temp" well,...

    Uh... You don't say how you declared "temp" well, if you declared it like so:

    char temp;

    then temp can only hold 1 (one) character therefore the statement

    if(temp == 'ls')

    will always...
  16. Replies
    7
    Views
    3,398

    Well, I guess Sorensen may be correct about this...

    Well, I guess Sorensen may be correct about this being a 9x function.

    Are there any ideas about how to make a program a windows service?
  17. Replies
    7
    Views
    3,398

    Sorry, I forgot to include this, but well...

    Sorry, I forgot to include this, but well GetLastError() says error 127 which according to my list of system error codes means:

    127 The specified procedure could not be found. ...
  18. Replies
    5
    Views
    1,535

    Try this site, it's been a great reference site...

    Try this site, it's been a great reference site for me:

    http://www.lcg.org/sock-faq/

    another one is
    ...
  19. Replies
    7
    Views
    3,398

    RegisterServicesProcess

    Hello,

    I am currently programming in Windows XP. I would like to make a program I created continue running even after users have logged off. The MSDN documentation on this function i.e:
    ...
  20. Replies
    1
    Views
    11,040

    Re: Cryptography (wincrypt.h): Error 80090016 ??

    Uh...Jus found the problem, the error "80080016" is NTE_BAD_KEYSET.

    I have now modified my code to:

    --------------------------------------------------
    if((CryptAcquireContext(&hProv, NULL,...
  21. Replies
    7
    Views
    3,431

    Re: How do you end a C program?

    you could simply use exit(0).
  22. Replies
    1
    Views
    11,040

    Cryptography (wincrypt.h): Error 80090016 ??

    Greetings to all,

    I program C on a windows platform (windows XP). I would like to incoporate encryption functions in some of my programs however,
    whenever I call CryptAcquireContext(), I get the...
Results 1 to 22 of 28
Page 1 of 2 1 2