assemblies mixing unmanaged code ? -

reg t replied to Peter Bromberg at 05-Jan-08 09:47

The exception (from HRESULT: 0x80131402) I reported in the previous mail is this:

"...This exception is thrown when the file image of an executable program is invalid. For example, this exception is thrown when unmanaged code is passed to Load for loading.

BadImageFormatException uses the HRESULT COR_E_BADIMAGEFORMAT, which has the value 0x8007000B

..."

It seems that at least in its current form, the Packing method is not amenable to deal with application mixing managed/unmanaged code.

Q: Some hints to deal with application mixing managed/unmanaged code?

 

 




Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  Article Discussion: Obfuscation and Packaging of .NET Applications via Compressed Embedded Assemblies - Peter Bromberg  11-Dec-07 07:12 7:12:18 AM
      target method to lauch the main windows in WPF - reg t  04-Jan-08 06:58 6:58:47 AM
          The sample uses a DLL embedded assembly - Peter Bromberg  04-Jan-08 07:23 7:23:36 AM
              how to launch the main windows in WPF ? - reg t  04-Jan-08 09:30 9:30:48 AM
                  It is reporting an error in your XAML file. - Peter Bromberg  04-Jan-08 11:00 11:00:49 AM
                      XAML and cs code - reg t  04-Jan-08 10:36 10:36:52 PM
                      now is ok - reg t  05-Jan-08 03:49 3:49:55 AM
                      Does it works with assemblies mixing unmanaged code ? - reg t  05-Jan-08 04:42 4:42:06 AM
                      assemblies mixing unmanaged code ? - - reg t  05-Jan-08 09:47 9:47:22 AM
      Loader stay running as a process after closing target application - reg t  04-Jan-08 11:38 11:38:56 PM
View Posts