We need to pass the lpszCmdLine that is usually supplied in winmain to a special initiation routine for a module that we include in our projects.
However the app global var does not supply this.
We use pb8 with firefly version 2.00
I have tried using a dummy asciiz pointer and whilst this works to some extent, it makes the whole app run like a tortoise.
Where do i get this from (properly)?
Hi Jonathan,
Use the special FF_WinMain function to get the lpCmdLine. It can be accessed from the "FireFly Workspace", "Explorer", "Special Functions" branch.
Thanks, it now works.
I must say that FF 2.00 is really excellent, and it doesn't seem to display the blank form canvas (as the earlier version did occasionally(in design mode)) although still really missing any debug facilities. Sticking msgbox's into the code is just so slow and laborious.