1. Hey Guest Did you know you can win an Honor 10 phone worth ₹33,000 and an additional ₹70,000 in paytm vouchers, just by replying to some threads and taking part in the discussions happening in the Honor Hub?

    What are you waiting for? Start commenting and start winning! Remember to read the instructions posted here.

    Dismiss Notice

API programming takes too long

Discussion in 'Programming' started by ilugd, Mar 22, 2006.

Thread Status:
Not open for further replies.
  1. ilugd

    ilugd Beware of the innocent

    Joined:
    Dec 25, 2005
    Messages:
    1,009
    Likes Received:
    3
    Trophy Points:
    0
    I am doing some network programming with the win32api and it is taking too long. I am using devcpp and it doesn't have any documentation for the api calls. I downloaded the win32 api help file but it doesn't have docs for getcomputerex call etc. The main trouble i have is when i use a function that should work.

    But it doesn't. I search high and low and finally i some #define in an obscure header file with over 200 lines has maybe one value that has to be changed (eg, getcomputernameex wasn't working at all. After spending over 8 hours googling & going though the header files, i found that i had to change the definition of _win32_winnt from 0x0300 to 0x0500 in windef.h) I really wanted to throw something at the monitor that day. Well anyway, what i wanted to know was, is this situation usual and do you all face it or am i doing something wrong?? Are there some sites for such situations with good documention? Is there api documention available (other than msdn, it takes too long to load and is too technical) Also i would like to create a knowledge store or something with this information so that it would help others. Any ideas or pointers to some sites??

    I hope this post is not too vague
     
  2. mediator

    mediator New Member

    Joined:
    Mar 18, 2005
    Messages:
    2,491
    Likes Received:
    16
    Trophy Points:
    0
    Location:
    In ur Evil Mind!
    HI, yea i really don knoow what api programming is...i think its windows programming! Neways but i have faced these header errors a lot when i used to program under VB or VC++. So u can say its usual! That's y I had given up and moved to UNIX programming.
    And yes there are a plenty of awesome sites for API and other stuff from which i got help for java and c++.
    Google it correctly and u'll find it in 1st ten results
     
  3. it_waaznt_me

    it_waaznt_me Coming back to life ..

    Joined:
    Nov 30, 2003
    Messages:
    2,023
    Likes Received:
    10
    Trophy Points:
    38
    Location:
    A bit closer to heaven
    ilugd MSDN is the best resource for Windows API calls .. Yeah .. Devcpp is slow if you use code completion .. It will scan all the files you link in your project and that sometime really sucks ..

    There was a good book on W32 calls in my library ... I forgot its name .. Will tell you after I find it out .. It was a great book ..
     
  4. OP
    OP
    ilugd

    ilugd Beware of the innocent

    Joined:
    Dec 25, 2005
    Messages:
    1,009
    Likes Received:
    3
    Trophy Points:
    0
    Devcpp works fast on my system. I guess it is because it is 3 Ghz, and sufficient ram. I dunno. but the main thing is that i am not able to get any documentation. Anyway, as mediator said, i am going to try some more googling.

    I finished the ipconfig clone today. (well not will the parameters, but i think it is enough for my purpose). I am now going to modify it so that you can change the ipaddress of the computer. It is not possible directly i hear. I will have use some calls to change the registry. Well that is a completely new field again. I will need all the luck you can wish me.
     
Thread Status:
Not open for further replies.

Share This Page