Solved

How does one construct a header file for a shared library

Posted on 2000-05-05
3
164 Views
Last Modified: 2013-12-26
Is there a way to utilize a PPC shared library I created without using the GetSharedLibrary() and CreateRoutineDescriptor() functions to load it and create a UPP? I am creating this shared library to turn over to other developers and having them have to use the 10 or so lines of code (per function call) needed to call a funtion is tedious and not very user friendly.
0
Comment
Question by:creality
3 Comments
 
LVL 1

Expert Comment

by:charlass
ID: 2785367
Hi,
it's me again ;-)

I don't know these MacOS functions you mentioned.
An easy way to link a SHL is to add it just in CWP into the project files (like all your .cpp).
Then will this SHL automatically get loaded on app start.
Your co-workers need then only the .h file of your SHL - no more stress.

chris
0
 
LVL 2

Accepted Solution

by:
roov earned 50 total points
ID: 2787095
If your code is only to be used in PowerPC application, there is no need for UPPs.

All you need is a header file describing all required information about your exported functions (prototypes, your own structures, etc.) and you're set.

Once you supply your library to some developer, all they have to do is add it to their project, include your header file in their source code, call your functions, and voila - their all set...

Reuven
0
 

Author Comment

by:creality
ID: 2788974
Thanks. Appreciate the help.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now