|
-
July 14th, 2006, 05:00 AM
#16
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.
Last edited by Igor Vartanov; July 14th, 2006 at 05:11 AM.
Best regards,
Igor
-
July 14th, 2006, 05:18 AM
#17
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.
It's only when you look at an ant through a magnifying glass on a sunny day that you realise how often they burst into flames
-
July 14th, 2006, 05:24 AM
#18
Re: Linking with another executable
 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.
Regards,
Ramkrishna Pawar
-
July 14th, 2006, 05:27 AM
#19
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
It's only when you look at an ant through a magnifying glass on a sunny day that you realise how often they burst into flames
-
July 14th, 2006, 05:43 AM
#20
Re: Linking with another executable
 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).
 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.
 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.
-
July 14th, 2006, 05:56 AM
#21
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
It's only when you look at an ant through a magnifying glass on a sunny day that you realise how often they burst into flames
-
July 14th, 2006, 06:02 AM
#22
Re: Linking with another executable
 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.
Last edited by ovidiucucu; July 14th, 2006 at 06:11 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|