(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
09-28-24 07:19 PM
0 users currently in Programming.
Acmlm's Board - I3 Archive - Programming - Libraries and C
  
User name:
Password:
Reply:
 
Options: - -
Quik-Attach:
Preview for more options

Max size 1.00 MB, types: png, gif, jpg, txt, zip, rar, tar, gz, 7z, ace, mp3, ogg, mid, ips, bz2, lzh, psd

UserPost
FreeDOS +
Posts: 45/1312
Yeah, and I think neo pretty much explained it
HyperHacker
Posts: 97/5072
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?
neotransotaku
Posts: 48/1860
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.
FreeDOS +
Posts: 42/1312
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.
HyperHacker
Posts: 91/5072
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 +
Posts: 39/1312
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.
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.007 seconds; used 349.08 kB (max 389.42 kB)