Sign in to follow this  
eviltwigflipper

New DirectInput problem...

Recommended Posts

I compiled my program last night with .NET 2003, and it worked perfectlly inside of the IDE. I wake up today the application runs outside of the IDE, but crashes when its being run inside of the IDE in debug mode. It seems to crash here:
if (FAILED(DirectInput8Create(GetModuleHandle(NULL), DIRECTINPUT_VERSION, IID_IDirectInput8, (void**)&lpdi, NULL)))
		{
			common->Error(ERR_FATAL, "DirectInput8Create Failed\n");
		}
[/SOURCE]
With a user breakpoint(assembler int 3) in NTDLL.dll function 7c901230(). Ive tried rebuilding from scratch, nothing works. Ive tried passing a direct handle(inside of GetModuleHandle), and it does the same thing. THis works outside of debug mode. Any Ideas?

Share this post


Link to post
Share on other sites
Heres some of the debug output...it runs if I hit continue through the breakpoints.


'darklight.exe': Loaded 'C:\WINDOWS\system32\setupapi.dll', No symbols loaded.
HEAP[darklight.exe]: Heap block at 00165E90 modified at 00165E99 past requested size of 1
Unhandled exception at 0x7c901230 in darklight.exe: User breakpoint.
HEAP[darklight.exe]: Invalid Address specified to RtlFreeHeap( 00140000, 00165E98 )
Unhandled exception at 0x7c901230 in darklight.exe: User breakpoint.
'darklight.exe': Loaded 'C:\WINDOWS\system32\wintrust.dll', No symbols loaded.
'darklight.exe': Loaded 'C:\WINDOWS\system32\imagehlp.dll', No symbols loaded.
HEAP[darklight.exe]: Heap block at 00165CE0 modified at 00165CE9 past requested size of 1
Unhandled exception at 0x7c901230 in darklight.exe: User breakpoint.
HEAP[darklight.exe]: Invalid Address specified to RtlFreeHeap( 00140000, 00165CE8 )
Unhandled exception at 0x7c901230 in darklight.exe: User breakpoint.
'darklight.exe': Loaded 'C:\WINDOWS\system32\ntmarta.dll', No symbols loaded.
'darklight.exe': Loaded 'C:\WINDOWS\system32\wldap32.dll', No symbols loaded.
'darklight.exe': Loaded 'C:\WINDOWS\system32\samlib.dll', No symbols loaded.
'darklight.exe': Loaded 'C:\projects\darklight\bin\base\gamex86.dll', Symbols loaded.
[/SOURCE]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this