Solved Windows 11 and WDP
-
<p>I have a new-to-me computer that came with windows 11 installed. I have loaded BMS 4.35U3 and it works fine. However, I haven’t been able to get WDP (or MC) to work on the computer I’ve installed it but when I go to start it, I get “unhandled exception - object reference not set to and instance of and object” If I continue through this error, WDP loads but if I try to load a mission I get “Unhandled exception - unable to load DLL Lzssnative.dll - exception from HRESULT: 0x8007007E”<br /><br />I have uninstalled and reinstalled WDP several times - the newest version. Copied all of the files from a working version on a different computer and ran it from there, copied Lzssnative.dll from Mission Commander over to WDP all with no success.<br /><br />So my question is has anyone been able to successfully use WDP in windows 11 and, if so, how did you make it work.<br />Thanks</p>
-
<p>@piston Try to copy the Lzssnative.ddl file from Mission Commander and put that into your WDP and see if that works…</p>
-
<p>It might require a .Net framework to work, don’t know which one. <br /><br />What’s the complete error?</p>
-
<p><br />“It might require a .Net framework to work, don’t know which one. <br /><br />What’s the complete error?”<br /><br />Thanks for responding, I’ll try to figure out the .NET framework thing<br /><br />I’ve included the “details” file below, I’m not very good at figuring out what it all means.<br /><br />See the end of this message for details on invoking <br />just-in-time (JIT) debugging instead of this dialog box.<br /><br />************** Exception Text <br />System.NullReferenceException: Object reference not set to an instance of an object.<br /> at WeaponDeliveryPlanner.cntDTC.GetAbRotation(Int32 CampId)<br /> at WeaponDeliveryPlanner.cntDTC.Database(Int32 AptID)<br /> at WeaponDeliveryPlanner.fclsMain.fclsMain_Load(Object sender, EventArgs e)<br /> at System.EventHandler.Invoke(Object sender, EventArgs e)<br /> at System.Windows.Forms.Form.OnLoad(EventArgs e)<br /> at System.Windows.Forms.Form.OnCreateControl()<br /> at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)<br /> at System.Windows.Forms.Control.CreateControl()<br /> at System.Windows.Forms.Control.WmShowWindow(Message& m)<br /> at System.Windows.Forms.Control.WndProc(Message& m)<br /> at System.Windows.Forms.ScrollableControl.WndProc(Message& m)<br /> at System.Windows.Forms.Form.WmShowWindow(Message& m)<br /> at System.Windows.Forms.Form.WndProc(Message& m)<br /> at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)<br /> at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)<br /> at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)<br /><br /><br /> Loaded Assemblies <br />mscorlib<br /> Assembly Version: 4.0.0.0<br /> Win32 Version: 4.8.4470.0 built by: NET48REL1LAST_C<br /> CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll<br />----------------------------------------<br />WeaponDeliveryPlanner<br /> Assembly Version: 3.7.18.180<br /> Win32 Version: 3.7.18.180<br /> CodeBase: file:///C:/Falcon%20BMS%204.35/WDP/WeaponDeliveryPlanner.exe<br />----------------------------------------<br />Microsoft.VisualBasic<br /> Assembly Version: 10.0.0.0<br /> Win32 Version: 14.8.4161.0 built by: NET48REL1<br /> CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll<br />----------------------------------------<br />System<br /> Assembly Version: 4.0.0.0<br /> Win32 Version: 4.8.4488.0 built by: NET48REL1LAST_C<br /> CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll<br />----------------------------------------<br />System.Core<br /> Assembly Version: 4.0.0.0<br /> Win32 Version: 4.8.4470.0 built by: NET48REL1LAST_C<br /> CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll<br />----------------------------------------<br />System.Windows.Forms<br /> Assembly Version: 4.0.0.0<br /> Win32 Version: 4.8.4488.0 built by: NET48REL1LAST_C<br /> CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll<br />----------------------------------------<br />System.Drawing<br /> Assembly Version: 4.0.0.0<br /> Win32 Version: 4.8.4395.0 built by: NET48REL1LAST_B<br /> CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll<br />----------------------------------------<br />System.Configuration<br /> Assembly Version: 4.0.0.0<br /> Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_C<br /> CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll<br />----------------------------------------<br />System.Xml<br /> Assembly Version: 4.0.0.0<br /> Win32 Version: 4.8.4161.0 built by: NET48REL1<br /> CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll<br />----------------------------------------<br />System.Runtime.Remoting<br /> Assembly Version: 4.0.0.0<br /> Win32 Version: 4.8.4161.0 built by: NET48REL1<br /> CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll<br />----------------------------------------<br />BMSUtils<br /> Assembly Version: 1.6.3.44<br /> Win32 Version: 1.6.3.44<br /> CodeBase: file:///C:/Falcon%20BMS%204.35/WDP/BMSUtils.DLL<br />----------------------------------------<br />dbwdp<br /> Assembly Version: 1.6.0.3<br /> Win32 Version: 1.6.0.3<br /> CodeBase: file:///C:/Falcon%20BMS%204.35/WDP/dbwdp.DLL<br />----------------------------------------<br />System.Data<br /> Assembly Version: 4.0.0.0<br /> Win32 Version: 4.8.4455.0 built by: NET48REL1LAST_C<br /> CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll<br />----------------------------------------<br />BMSLocation<br /> Assembly Version: 1.0.4.0<br /> Win32 Version: 1.0.4.0<br /> CodeBase: file:///C:/Falcon%20BMS%204.35/WDP/BMSLocation.DLL<br />----------------------------------------<br />System.Web<br /> Assembly Version: 4.0.0.0<br /> Win32 Version: 4.8.4465.0 built by: NET48REL1LAST_B<br /> CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll<br />----------------------------------------<br />LzssManaged<br /> Assembly Version: 1.0.0.0<br /> Win32 Version: 1.0.0.0<br /> CodeBase: file:///C:/Falcon%20BMS%204.35/WDP/LzssManaged.DLL<br />----------------------------------------<br /><br /> JIT Debugging **************<br />To enable just-in-time (JIT) debugging, the .config file for this<br />application or computer (machine.config) must have the<br />jitDebugging value set in the system.windows.forms section.<br />The application must also be compiled with debugging<br />enabled.<br /><br />For example:<br /><br /><configuration><br /> <system.windows.forms jitDebugging=“true” /><br /></configuration><br /><br />When JIT debugging is enabled, any unhandled exception<br />will be sent to the JIT debugger registered on the computer<br />rather than be handled by this dialog box.<br /><br /><br /></p>
-
<p>Ok, I’ve loaded many versions of C++ and many versions of .net framework, several different Lzssnative.dll and it still doesn’t work. Does anyone have WDP working in windows 11?</p>
-
<blockquote>************** Exception Text **************<br />System.NullReferenceException: Object reference not set to an instance of an object.<br /> at WeaponDeliveryPlanner.cntDTC.GetAbRotation(Int32 CampId)<br /> at WeaponDeliveryPlanner.cntDTC.Database(Int32 AptID)</blockquote><p><br />This doesn’t look like a Win11 or .NET problem, to me. This looks more like missing (or corrupt, or incompatible) theater/campaign files.<br /><br />I don’t have Win11 so I can’t say for sure. Just “reading between the lines” of the stack trace.<br /><br />What theater are you flying? Does WDP work ok with a stock KTO campaign?</p>
-
<p>You have WDP installed inside the Falcon BMS folder? Interesting. Perhaps move out of there and try it - maybe a windows thing.</p>
-
<p>@piston Try to copy the Lzssnative.ddl file from Mission Commander and put that into your WDP and see if that works…</p>
-
<blockquote>Ok, I’ve loaded many versions of C++ and many versions of .net framework, several different Lzssnative.dll and it still doesn’t work. Does anyone have WDP working in windows 11?</blockquote><p><br />Absolutely, been running fine for months…<br /><br /><img class=“ql-image” src=“https://i.imgur.com/yTzYOBL.jpg” /></p>
-
<p>@piston <br />Hello, dear mate.<br />I have Win 11 Pro running on my PC/system, and WDP running fine since its first installation… but on a different drive from C:.<br />What should I tell you? My advise would be: try to uninstall it and wipe any clue of it out with CCleaner <em>(or the like of your choice, of course)</em>. After that, try to install it on a different drive. If nothing good happens, I should think seriously to reinstall Windows, at that point.<br /><br />Sorry if I couldn’t help you more or in a different way. Good luck!<br /><br />With best regards.<br /><br /></p>
-
<p>@airtex2019 I’m flying the stock KTO campaign which seems to work fine in BMS. I’ve tried many different things, deleting and reinstalling WDP, copying all the WDP files over from a windows 10 machine that works and others. I will keep working on it.<br /></p>
-
<p>@NIL I’ve done this and also copied it over from a working version of WDP on a windows 10 machine. </p>
-
<p>@CriticalMass Good idea, will try this.<br /></p>
-