User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 391,584 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,676 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser:
Views: 1661 | Replies: 4
Reply
Join Date: Oct 2004
Posts: 2
Reputation: srinivasvs is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
srinivasvs srinivasvs is offline Offline
Newbie Poster

Help Urgent!

  #1  
Oct 13th, 2004
This is really urgent ..... I would be very thankful for anyone who could suggest me and help me out!
Hi all, Can I club two exe files while developing a software...
Details are as follows:
1. I want to develop a software in which I want to add features step by step by overriding the functions
2. Now the problem is that I want to give only the .exe files to the customers
3. And My new feature , which I may add to the existing one, should also be an exe(I dont know if I should call it like that or not), which should be something like a set of library functions, which are already existing in the initial release, but with a new functionality.

I want these new set to be usable by the user of my software by just allowing him to load the new libraries into his memory.

Is it possible?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2003
Location: Nashville, TN
Posts: 2,333
Reputation: alc6379 has a spectacular aura about alc6379 has a spectacular aura about alc6379 has a spectacular aura about 
Rep Power: 11
Solved Threads: 101
Colleague
alc6379's Avatar
alc6379 alc6379 is offline Offline
Cookie... That's it

Re: Urgent!

  #2  
Oct 13th, 2004
Hi there,

this is a very interesting idea that you have, and I'm sure someone will be able to help you here, but in the future, please consider this. Claiming your situation to be more "urgent" than someone else's on a forum is rude. These other members made their post before you, so simple chronology makes them have more precedence. To say your issue is urgent might be counterproductive; some of our best forum members might ignore your post, thinking you're rude.

So, in the future, for your own sake, please don't indicate urgency in your threads.
Alex Cavnar, aka alc6379
Reply With Quote  
Join Date: Oct 2004
Posts: 2
Reputation: srinivasvs is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
srinivasvs srinivasvs is offline Offline
Newbie Poster

Re: Urgent!

  #3  
Oct 14th, 2004
Originally Posted by alc6379
Hi there,

this is a very interesting idea that you have, and I'm sure someone will be able to help you here, but in the future, please consider this. Claiming your situation to be more "urgent" than someone else's on a forum is rude. These other members made their post before you, so simple chronology makes them have more precedence. To say your issue is urgent might be counterproductive; some of our best forum members might ignore your post, thinking you're rude.

So, in the future, for your own sake, please don't indicate urgency in your threads.


Thanks for your valuable info. As I am new to this forum, in fact any forum I didnot think it over ... Any how help me out as quickly as you can!
Reply With Quote  
Join Date: Sep 2004
Posts: 6,017
Reputation: Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of 
Rep Power: 26
Solved Threads: 414
Super Moderator
Narue's Avatar
Narue Narue is offline Offline
Expert Meanie

Re: Urgent!

  #4  
Oct 14th, 2004
>Is it possible?
Yes, by patching the libraries and executables you gave to the client, but this is not a topical question, so please direct your query elsewhere unless you have a specific problem concerning C or C++.
Member of: Beautiful Code Club.
Reply With Quote  
Join Date: Jun 2004
Location: Marin, CA, USA
Posts: 434
Reputation: Chainsaw is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 9
Chainsaw's Avatar
Chainsaw Chainsaw is offline Offline
Unprevaricator

Re: Urgent!

  #5  
Oct 14th, 2004
One way to do this on Windows (and I'm sure on other OS') is to use DLL's. You would release an EXE and one or more DLL's that together comprise your program. The functionality you expect may be overridden/improved would be in the DLL's, and then by releasing new DLL's you would have new functionality.

Another approach is to use 'class factories' that are located in a DLL. Maybe initially all they do is return the base functionality you already have, but in the future you can release a new DLL with new [sub]classes and the factories can return these subclasses with their new functionality.

Generally, though, unless you know pretty well what kinds of things you are going to improve, this is a losing game. Eventually you'll find yourself needing to improve something in the EXE, and then you have to release a new EXE.

So, the question is, if you are distributing new binaries to a customer, why not give him/her the whole set of binaries, EXE included?
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

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

 

DaniWeb C++ Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the C++ Forum

All times are GMT -4. The time now is 10:56 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC