Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
0 users currently in Programming. |
Acmlm's Board - I3 Archive - Programming - Libraries and C | New poll | | |
Add to favorites | Next newer thread | Next older thread |
User | Post | ||
FreeDOS + Giant Red Koopa Legion: freedos = fritos Since: 11-17-05 From: Seattle Last post: 6431 days Last view: 6431 days |
| ||
Can anyone explain how libraries should work? I know they serve as kind-of backends to UIs, but I'm not sure how they should be formed... specifically, it's for this
Also, if anybody has an online tutorials or guides to C, that'll help a lot. |
|||
HyperHacker Star Mario Finally being paid to code in VB! If only I still enjoyed that. <_< Wii #7182 6487 4198 1828 Since: 11-18-05 From: Canada, w00t! My computer's specs, if anyone gives a damn. STOP TRUNCATING THIS >8^( Last post: 6432 days Last view: 6432 days |
| ||
On Windows, generally you compile a library into a DLL file. Then other programs can load the file and call whatever functions it exports and access any resources in it. | |||
FreeDOS + Giant Red Koopa Legion: freedos = fritos Since: 11-17-05 From: Seattle Last post: 6431 days Last view: 6431 days |
| ||
Yeah, I know what libraries do (and Windows doesn't give anything special but a .dll extension typically), but I don't know how they interact with programs/UIs. | |||
neotransotaku Sledge Brother Liberated from school...until MLK day Since: 11-17-05 From: In Hearst Field Annex... Last post: 6434 days Last view: 6431 days |
| ||
Libraries do not interact with the programs that use them. Rather they are code that is loaded along with the primary program to get things done. For example, suppose you wrote a program foo.exe that used a useful function in foo.dll -- a library you created to contain useful functions. Thus, when foo.exe is run, not only is the code within foo.exe loaded, but also the code found in a library that foo.exe uses. | |||
HyperHacker Star Mario Finally being paid to code in VB! If only I still enjoyed that. <_< Wii #7182 6487 4198 1828 Since: 11-18-05 From: Canada, w00t! My computer's specs, if anyone gives a damn. STOP TRUNCATING THIS >8^( Last post: 6432 days Last view: 6432 days |
| ||
Originally posted by FreeDOS How do you mean? Like actual code to load them? |
|||
FreeDOS + Giant Red Koopa Legion: freedos = fritos Since: 11-17-05 From: Seattle Last post: 6431 days Last view: 6431 days |
| ||
Yeah, and I think neo pretty much explained it |
Add to favorites | Next newer thread | Next older thread |
Acmlm's Board - I3 Archive - Programming - Libraries and C | | |