Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 22-03-2006, 12:37 AM   #1 (permalink)
Beware of the innocent
 
ilugd's Avatar
 
Join Date: Dec 2005
Posts: 1,024
Default API programming takes too long


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
ilugd is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 22-03-2006, 11:41 PM   #2 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default

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
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 23-03-2006, 12:21 AM   #3 (permalink)
Coming back to life ..
 
it_waaznt_me's Avatar
 
Join Date: Nov 2003
Location: A bit closer to heaven
Posts: 1,997
Default

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 ..
__________________
Sleight of hand and twist of fate...
On a bed of nails she makes me wait...
And I wait without you ...
With or without you ..
----
Batty = Too Busy Now !!!
it_waaznt_me is offline  
Old 23-03-2006, 03:05 AM   #4 (permalink)
Beware of the innocent
 
ilugd's Avatar
 
Join Date: Dec 2005
Posts: 1,024
Default

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.
ilugd is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Sarath
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 12:40 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2