Results 1 to 10 of 62

Thread: H-Ext (Halo Extension), Support for Trial, PC, and CE! Both client and dedi!

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    Senior Member Btcc22's Avatar
    Join Date
    Sep 2012
    Posts
    564

    Re: H-Ext (Halo Extension), Support for Trial, PC, and CE! Both client and dedi!

    What's this compatibility problem you keep talking about? The main thing you have to avoid doing is freeing memory across module boundaries (potentially using one version of the runtime to allocate and another to free) and that's an easy problem to solve without resorting to ditching the CRT. Either export a couple of wrapper functions for memory that's going to be allocated/freed across boundaries or use an external allocator like LocalAlloc.

    Additionally, the CRT is versioned, hence names like msvcr100.dll. If somebody compiles a plugin using a different version, you just get another DLL loaded in. If you've got msvcrt.dll in mind, you're not supposed to be using that even if plenty of older applications do so. It's supposed to be strictly for system use.
    Last edited by Btcc22; October 21st, 2013 at 01:52 PM.
    Reply With Quote

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

Bookmarks

Posting Permissions

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