Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

HX v2.16 released | MediaInfo | GlobalMemoryStatusEx (DOSX)

posted by Japheth Homepage, Germany (South), 17.11.2009, 14:00

> No problem, you don't need any media file to reproduce, just
> ---help is very sufficient :-)
>
> > Since you've become an "assembly guru" by
>
> YES, just not yet a DEBUG-guru.

The debugging part isn't hard: the app crashes shortly after a call of GetCommandLineW(). It uses the return value of this function to call SHELL32.CommandLineToArgvW() and tries to work with the return value. However, the latter function is implemented as stub only in HX and hence the call returns NULL.

possible fix: implement SHELL32.CommandLineToArgvW(). It's in HXSRC, directory SHELL32, file Utils.asm. Enjoy!

---
MS-DOS forever!

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 232 users online (1 registered, 231 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum