Solved

How does one construct a header file for a shared library

Posted on 2000-05-05
3
169 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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

617 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