CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 2 FirstFirst 12
Results 16 to 22 of 22
  1. #16
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,633

    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

  2. #17
    Join Date
    Nov 2002
    Location
    Sofia, Bulgaria
    Posts
    661

    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

  3. #18
    Join Date
    Aug 1999
    Location
    <Classified>
    Posts
    6,882

    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.
    Regards,
    Ramkrishna Pawar

  4. #19
    Join Date
    Nov 2002
    Location
    Sofia, Bulgaria
    Posts
    661

    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

  5. #20
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,244

    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.
    Ovidiu
    "When in Rome, do as Romans do."
    My latest articles: https://codexpertro.wordpress.com/

  6. #21
    Join Date
    Nov 2002
    Location
    Sofia, Bulgaria
    Posts
    661

    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

  7. #22
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,244

    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:
    1. you asked.
    2. we sincerely want to help you.
    3. some of us do not accept anytime such a situation.
    Last edited by ovidiucucu; July 14th, 2006 at 06:11 AM.
    Ovidiu
    "When in Rome, do as Romans do."
    My latest articles: https://codexpertro.wordpress.com/

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured