I have an old game (Beyond Protocol) that is written in VB.NET. The game is aged but works well. Since the begining, 10 years ago, switching from windowed to full screen, or changing the windowed resolution always pops a critical error on device reset. I've debugged all I can and have reached a lack of understanding as to where to go from here.
Is there anyone out there with legacy VB.NET and DX9 knowledge that could lend me a hand?
Thanks in advance.
== Here is where it errors ==
Dim uParms As PresentParameters = CreatePresentationParams(mfrmMain)
If uParms Is Nothing Then Return False
moDevice.Reset(uParms)
==
the last line pops a object not referenced exception yet moDEvice is valid, with details, and uParams is valid with details.
Oddly after several resets it eventually corrects itself.