Hi,
I have just started coding a tiny application for Windows with
CodeWarrior Win 8.3 (on Windows 98SE).
Current probrem is GetCommandLine() ever returns invalid pointer,
therefore I cannot obtain what is passed to the application. It
occurs in runtime start-up routine (winmaincrt.c), of course, valid
pointer never be passed to WinMain().
It looks like linking problem, because everything goes well when I
build same code with VC++6.
Any idea?
Thanks in advance.
---------------------
Akira Nagata
Tokyo, Japan
Akira Nagata - 15 Dec 2003 17:26 GMT
> Hi,
>
[quoted text clipped - 4 lines]
> occurs in runtime start-up routine (winmaincrt.c), of course, valid
> pointer never be passed to WinMain().
I noticed that WinMain() was passed valid pointer but CodeWarrior
debugger just displayed 'Can't read the memory from the address'.
Now I can open a file D&D to my app.
---------------------
Akira Nagata
Tokyo, Japan