CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2006
    Posts
    151

    old ActiveX control compatible with IMAGE_FILE_LARGE_ADDRESS_AWARE?

    Hi,

    I am having a problem in which a program crashes after 2 to 12 hours due to memory fragmentation. I am exploring several options for trying to solve it. I cannot convert it to a 64-bit application for a couple of reasons, one of which is the heavy use of an old third-party 32-bit ActiveX control for spreadsheet functionality in the UI.

    One of the options I am exploring is setting the IMAGE_FILE_LARGE_ADDRESS_AWARE flag in the compiler. If I do this, will I risk intermittent crashes due to the ActiveX control (since presumably it was not compiled with that flag set)?

    Thank you for any insight,
    GeoRanger

  2. #2
    Join Date
    Apr 2000
    Location
    Belgium (Europe)
    Posts
    4,626

    Re: old ActiveX control compatible with IMAGE_FILE_LARGE_ADDRESS_AWARE?

    it all depends on that control. if it was not made with large adresses in mind, and it either assumes the high bit of pointers is Always 0, or it internally "abuses" the high bit. It could just downright fail to work.

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