Search:

Type: Posts; User: BianConiglio

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,321

    Filling a structure

    Hi. I have to create a genealogy list reading a file with the following input:

    10/10/1983,Tom,Mark,Julia
    ...
    ...
    11/02/1993,Tim,Sam,Jenny

    I have X strings in the file, every string contains...
  2. Replies
    2
    Views
    1,635

    thanx

    thanx
  3. Replies
    2
    Views
    1,635

    getting the home directory

    Hi, a quick question.. what's the fastest way to retrieve the home dir under windows?

    thanx
  4. Replies
    6
    Views
    7,757

    perfect, it works :) ps: I'm not looking for...

    perfect, it works :)

    ps: I'm not looking for an A record into an MX lookup in the additional info.. I'm getting the MX hostname from a domain and sending another dns packet containing an A request...
  5. Replies
    6
    Views
    7,757

    Thanx for ur code ;) I'm also trying to use an A...

    Thanx for ur code ;)
    I'm also trying to use an A query to retrieve the IP from the MX responce:



    // A
    DNS_RECORD* pRecordList2 = NULL;
    DNS_RECORD* pRecord2 = NULL;

    ...
  6. Replies
    6
    Views
    7,757

    oh great, I was missing the initialization...

    oh great, I was missing the initialization step... now it works but I'm unable to retrieve the IP because host->h_name will give me the hostname... how can i retrieve it?

    I'm confused about the...
  7. Replies
    6
    Views
    7,757

    gethostbyname allways NULL

    I'm calling gethostbyname() giving as parameter an MX record but it is allways NULL...

    The code below, given a mail, checks the MX record of that provider and tryes to retrieve the IP address......
  8. Replies
    2
    Views
    4,270

    thanx a lot

    thanx a lot
  9. Replies
    2
    Views
    4,270

    DnsQuery_A Return handling

    Hi ;) I'm using DnsQuery_A



    DnsQuery_A("hotmail.com"
    DNS_TYPE_MX,
    DNS_QUERY_STANDARD,
    NULL,
    &pRecordList,
    NULL);
  10. Replies
    11
    Views
    3,615

    it is a MAIL EXCHANGE lookup request

    it is a MAIL EXCHANGE lookup request
  11. I've corrected some bugs in my code and it quite...

    I've corrected some bugs in my code and it quite works..
    Once I call the function, the file is opened in read mode.. if nothign can be read, I close it, open it again in append mode and write the...
  12. Writing to a file checking if the input is new

    This is a small function that takes a string (a name, an address or a mail) like "Mark" and writes this string in a file IFF there isn't a previous entry for "Mark". I want to write an entry a row.
    ...
  13. Replies
    3
    Views
    6,090

    thanx :p

    thanx :p
  14. Replies
    3
    Views
    6,090

    Hot to declare a LPTSTR

    char* winPath[MAX_PATH];

    GetWindowsDirectory(winPath, MAX_PATH);
    printf("%s\n", winPath);




    from...
  15. Replies
    2
    Views
    9,086

    oh great, thanx

    oh great, thanx
  16. Replies
    2
    Views
    9,086

    ShellExecute error handling

    Hi, here there is the description:

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shellexecute.asp

    and in particular:


    Returns a...
  17. Replies
    6
    Views
    1,305

    thanx everyone I've put the printf into the : ...

    thanx everyone I've put the printf into the :
    if ( NULL != hProcess )

    the strange thing is that I have to filter the first result, infact if I don't initialize


    char...
  18. Replies
    6
    Views
    1,305

    and if I initialize szProcessName to "test", the...

    and if I initialize szProcessName to "test", the first 2 processes will be "test"...strange!!
  19. Replies
    6
    Views
    1,305

    he no! because with the task manager and other...

    he no! because with the task manager and other tools I see just ONE instance.. and the also the first 2 "calc.exe" have 0 as pid, it is an error, but where?
  20. Replies
    6
    Views
    1,305

    enumerating process

    Hi, I have this function that iterates through all the process and prints them:



    int ProcessJudger (void){

    // enumerazione processi
    char szProcessName[MAX_PATH];
    DWORD...
  21. Replies
    2
    Views
    29,852

    ahhhhhh got it! I'll try thanx :) see u later...

    ahhhhhh got it!
    I'll try thanx :)

    see u later for the next bug :D
  22. Replies
    2
    Views
    29,852

    invalid type argument of `->'

    Hello guys :)

    This is a packet that I have to send to another application..


    #define M_PKT_SIZE 1400 // max dimension of a packet

    // a packet has a size and a data
    typedef struct aPacket...
  23. Replies
    2
    Views
    1,007

    or just create an exe that will copy that file...

    or just create an exe that will copy that file and call some reg API :)
  24. It's HORRIBLE to see some C source into a word...

    It's HORRIBLE to see some C source into a word file!!!
    It should be illegal !!!! :D

    I don't have time to check ur code, sorry!!! I'm tired! but I'm sure that my code for matrix multiplication...
  25. Thread: sleep()

    by BianConiglio
    Replies
    3
    Views
    1,508

    great, let me try

    great, let me try
Results 1 to 25 of 163
Page 1 of 7 1 2 3 4