(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-21-24 06:42 AM
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: 6301 days
Last view: 6301 days
Posted on 11-23-05 03:46 PM Link | Quote
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: 6302 days
Last view: 6302 days
Posted on 11-24-05 03:43 PM Link | Quote
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: 6301 days
Last view: 6301 days
Posted on 11-24-05 09:35 PM Link | Quote
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: 6303 days
Last view: 6301 days
Posted on 11-24-05 11:18 PM Link | Quote
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: 6302 days
Last view: 6302 days
Posted on 11-25-05 12:33 AM Link | Quote
Originally posted by FreeDOS
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.

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: 6301 days
Last view: 6301 days
Posted on 11-25-05 03:04 PM Link | Quote
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 |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.012 seconds; used 368.85 kB (max 445.88 kB)