Solved

How does one construct a header file for a shared library

Posted on 2000-05-05
3
168 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Decoding 32 bit binary streams 6 59
maxBlock challenge 30 151
sumNumber challenge 16 147
Excel file not created as expected 7 110
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.

739 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