Re: Linking with another executable
For MrBeans information... (and Sid, I guess, thanks for your care) :)
...and following to original question.
All my experiments with dynamical linking to another executable gave me negative results. I've got positive results only in case of absolutely dumb exported functions. But in case exported function calls some other function (as normal function do :)) disregarding, Win API or C-runtime, the caller process crashes.
I admit I may have no sufficient qualification in this field and would appreciate any other information on the issue.
But now I agree with Ovidiu - to make life easier the DLL would be used for sharing valuable code.
Re: Linking with another executable
About the dlls.
Unfortunately with this program, speed is of the utmost essense, and dll files give a good 2-3% overhead when being executed.
Anyway a 9mb executable file is not a very disturbing problem.
And, Igor, the whole rebuild lasts 3 minutes :)
I am talking about the linking time, after all source files are compiled.
Re: Linking with another executable
Quote:
Originally Posted by SeventhStar
About the dlls.
Unfortunately with this program, speed is of the utmost essense, and dll files give a good 2-3% overhead when being executed.
Anyway a 9mb executable file is not a very disturbing problem.
And, Igor, the whole rebuild lasts 3 minutes :)
I am talking about the linking time, after all source files are compiled.
3 min. is not a big problem, one of my projects build use to take 30 min. :D
Re: Linking with another executable
Well I am not saying that it's unbearable... but it still is irritating.
But alas I will have to live with it :)
Re: Linking with another executable
Quote:
Originally Posted by SeventhStar
About the dlls.
Unfortunately with this program, speed is of the utmost essense, and dll files give a good 2-3% overhead when being executed.
Although I don't really believe that's true (how else as long as I can bet you never really measure it) 2-3% is absolutely insignificant. Just give me an user who complained of such a percentage (or even one who realised the difference).
Quote:
Originally Posted by SeventhStar
Anyway a 9mb executable file is not a very disturbing problem.
It's a very disturbing problem. Here we can further discuss a lot.
Quote:
Originally Posted by SeventhStar
And, Igor, the whole rebuild lasts 3 minutes :)
I am talking about the linking time, after all source files are compiled.
Don't tell me you usually report one day estimated to build a project's release, and 3 minutes of build leads you in a nightmare.
Re: Linking with another executable
This particular software is an internal company tool that will operate with huge, GIGANTIC even, data and we prefer for it to work straight 10 days, rather than 11. So no users will complain about it. I will ;)
And while a whole rebuild happens rarely (no more than once a day), it's being linked too often (20-30 times a day for example) and it's just boring to wait additional 14 secons... really it is. Try waiting 14 seconds and you'll see that it's boring.
Anyway... I don't understand why you're making such a big deal out of it. I already accepted this situation :)
Re: Linking with another executable
Quote:
Originally Posted by SeventhStar
Anyway... I don't understand why you're making such a big deal out of it. I already accepted this situation :)
We are "making such a big deal out of it" because:
- you asked.
- we sincerely want to help you.
- some of us do not accept anytime such a situation.