smogHead / dotnetportmapper

Automatically exported from code.google.com/p/dotnetportmapper
0 stars 0 forks source link

dependency DLLs don't appear to work on Windows 7 x64 #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I've compiled my application using Microsoft Visual Studio 2008 (sp1) on 
Windows 7 (64bit).  I get the following error when I try to add a port 
mapping:

An attempt was made to load a program with an incorrect format. (Exception 
from HRESULT: 0x8007000B)

on line 400 of TCMNATPMPPortMapper.cs which reads:

     r = NATPMP.initnatpmp(ref natpmp);

As further information, the "Port Map 1.0" example application also fails 
(not sure what the error is, but I assume it is the same problem).

The two DLL files and the oui.txt file are in the bin/debug directory with 
the EXE and the latest were downloaded today 12/01/2009.

Any suggestions?

Thanks,

Ross

Original issue reported on code.google.com by rosspir...@gmail.com on 1 Dec 2009 at 11:03

GoogleCodeExporter commented 9 years ago
Further, the application works correctly on Windows XP (service pack 3).

Original comment by rosspir...@gmail.com on 1 Dec 2009 at 11:07

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I'm running 32 bit and I was having tht esame problem with that DLL not 
loading. I 
changed it to AnyCPU config and it worked just fine.

Original comment by Micheal....@gmail.com on 13 Dec 2009 at 3:36

GoogleCodeExporter commented 9 years ago
Yes, I confirm that error. The program crashes immediately in Win7 x64.

Original comment by loripin...@gmail.com on 22 Aug 2011 at 8:39

GoogleCodeExporter commented 9 years ago
Crashes instantly for me too

Original comment by soaringc...@gmail.com on 29 Nov 2011 at 4:54

GoogleCodeExporter commented 9 years ago
crashes instantly window 7 64bit

Original comment by hekhe...@gmail.com on 13 Dec 2011 at 3:51

GoogleCodeExporter commented 9 years ago
Hello all,
I just tried it too, crashes immediately.  Here are the problem details:
Problem signature:
  Problem Event Name:   CLR20r3
  Problem Signature 01: portmap.exe
  Problem Signature 02: 1.0.0.0
  Problem Signature 03: 487b78b3
  Problem Signature 04: TCMPortMapper
  Problem Signature 05: 1.0.0.0
  Problem Signature 06: 487ac3f6
  Problem Signature 07: 43
  Problem Signature 08: 9
  Problem Signature 09: System.BadImageFormatException
  OS Version:   6.1.7600.2.0.0.768.3
  Locale ID:    1033

Is there any fix for this available?

Thanks 
Tim

Original comment by tjseyfa...@gmail.com on 4 Jan 2012 at 8:27

GoogleCodeExporter commented 9 years ago
Is this project alive anymore? This really ought to be a much higher priority, 
as they don't bloody make 32-bit processors anymore.

Original comment by nethers...@gmail.com on 20 Mar 2012 at 10:41