MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

lharms
MAME Fan
Reged: 01/07/06
Posts: 908
Send PM
Re: For Windows Developers: some questions
10/17/11 01:46 AM


A .lib is nice. But like sz72 said not required (as there are ways to make it).

Most libraries I have seen have these three .h, .lib, and .dll.

As for name mangling if you are using any sort of C++ and a MS compiler you will end up with it (by default). There are ways to turn it off. Typically you either mark your export points as "C" or write some sort of trampoline layer.

The MS compiler will create a .lib for you that you can include into other projects. If you were to crack it open you would see some asm that does the heavy lifting of mapping functions and LoadLibrary/GetProcAddress. Hiding the details of that by making a nice abstraction layer for you.

Edited by lharms (10/17/11 03:29 AM)







Entire thread
Subject Posted by Posted on
* For Windows Developers: some questions Bryan Ischo 10/07/11 06:24 PM
. * Re: For Windows Developers: some questions sz72  10/09/11 09:39 PM
. * Re: For Windows Developers: some questions Bryan Ischo  10/10/11 06:40 AM
. * Re: For Windows Developers: some questions lharms  10/17/11 01:46 AM

Extra information Permissions
Moderator:  Pi 
0 registered and 38 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2641