+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 11 to 13 of 13

Thread: BlamLib: The .NET counterpart in OpenSauce

  1. #11
    Kid in the Hall Kornman00's Avatar
    Join Date
    Sep 2006
    Location
    ◕‿◕, ┌( ಠ_ಠ)┘
    Posts
    3,109
    Kornman00 has a reputation beyond repute Kornman00 has a reputation beyond repute Kornman00 has a reputation beyond repute Kornman00 has a reputation beyond repute Kornman00 has a reputation beyond repute Kornman00 has a reputation beyond repute Kornman00 has a reputation beyond repute Kornman00 has a reputation beyond repute Kornman00 has a reputation beyond repute Kornman00 has a reputation beyond repute Kornman00 has a reputation beyond repute

    Re: BlamLib: The .NET counterpart in OpenSauce

    I have BlamLib setup to run under x86 or x64, however, you need to make sure you select those configurations expliciltly under the build configuration in VS.

    You see the dropdown box at the top of VS which says "Debug" or "Release"? Next to it, it probably has "Any CPU" or "Mixed Platform". That's bad. Select "x86" (if you're wanting to run and debug the projects with VS at least).

    When compiling for x64, LowLevel builds with x64 versions of DX and BlamLib (the actual library) uses 64-bit versions of API calls in Util.Windows.cs (if there is no 64-bit version then the function is undefined)


    The reason why it's crashing is because that function is in BlamLib.Forms. If you're on Win64 then when it tries to load a 32-bit assembly from a 64-bit .NET assembly, then you'll get a BIF Exception. Hence why it's always crashing in that function.
    Reply With Quote

  2. #12
    Neanderthal Dwood's Avatar
    Join Date
    Sep 2008
    Location
    Wouldn't u like to know?
    Posts
    4,119
    Dwood has a reputation beyond repute Dwood has a reputation beyond repute Dwood has a reputation beyond repute Dwood has a reputation beyond repute Dwood has a reputation beyond repute Dwood has a reputation beyond repute Dwood has a reputation beyond repute Dwood has a reputation beyond repute Dwood has a reputation beyond repute Dwood has a reputation beyond repute Dwood has a reputation beyond repute

    Re: BlamLib: The .NET counterpart in OpenSauce

    Awesome, thanks for clearing that up! And yeah, I have mixed platforms selected, should have changed that pronto.
    Quote Originally Posted by katherineapplegate

    So sorry to get you into writing. What a horrible thing to inflict on you. Should have just sold you crack.
    Reply With Quote

  3. #13
    Kid in the Hall Kornman00's Avatar
    Join Date
    Sep 2006
    Location
    ◕‿◕, ┌( ಠ_ಠ)┘
    Posts
    3,109
    Kornman00 has a reputation beyond repute Kornman00 has a reputation beyond repute Kornman00 has a reputation beyond repute Kornman00 has a reputation beyond repute Kornman00 has a reputation beyond repute Kornman00 has a reputation beyond repute Kornman00 has a reputation beyond repute Kornman00 has a reputation beyond repute Kornman00 has a reputation beyond repute Kornman00 has a reputation beyond repute Kornman00 has a reputation beyond repute

    Re: BlamLib: The .NET counterpart in OpenSauce

    I think I meant to cover that (32 and 64 bit compat) in the intro vidoc, but you know, unscripted and all, easy to slip the mind ;o
    Reply With Quote

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

     

Tags for this Thread

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