Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 29th, 2006, 10:40 PM   #1
farhan00
Newbie
 
Join Date: May 2006
Posts: 1
Rep Power: 0 farhan00 is on a distinguished road
Module Support! How does it work?

Hey everyone,

I have been working on an application for a while, and would like others to be able to add modules for it. The problem is, I don't know how to implement them.

I am using the dlopen() library set. I understand how to load modules into the program and how to execute the code. The problem is, I want these modules to be able to modify ANY part of the program. For example, if there are 100 functions in my application, I want the program to be able to modify any single one of those functions to do something different. Is there a way to do this, without having to make every single function in my code a function pointer?

Btw, im writing this on Unix :-)

Thanks a lot!
farhan00 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:50 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC