Forum Discussion

Rick_Stout_7736's avatar
Rick_Stout_7736
Icon for Nimbostratus rankNimbostratus
Jul 15, 2008

CAppTunnelEx error

Sorry about the smileys in my prev post. Must have accidentally hit one of the buttons.

 

 

I found the source of the error -- AGAIN! For some reason I had dropped running a bat file in my build process that did this procedure. As soon as I put it back, no more error and tunnels connect up just fine in Vista. I originally posted on this 2/21/08.

 

 

If you use Visual Studio 2008 (or VS2005 with .NET 2.0 SP1) and you're driving the APPCTRLLib COM object with your application, you WILL run into this.

 

 

Vista has something called Data Excecution Prevention (DEP). All programs you compile with VS2008 will have the DEP enabled bit set. You have to turn it off with a command like: "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\editbin.exe" /NXCOMPAT:NO

 

 

Put that in your KB.

 

 

When can we expect a pure .NET library like you have for iControl?

 

 

(By the way, your Preview button results in "Object not set to an instance of an object.")

 

 

No RepliesBe the first to reply