Here is an example of how to use SmartWin with
WinMain and NOT with int main( Application & app )
I haven't been looking too much at it, I see that there's
is returned an Application object (not by reference) from
the CreateContext (which should be impossible since
Application is a Singleton) plus some other minor things,
but it could probably serve as a starting to someone
who just HAVE to use SmartWin WITH the WinMain
function as the entry point...
All though I suspect that there probably want bee too
much use of it now since there now is a CommandLine
object...
The lack of CommandLine parsing was the initial reason
to why Tu Nam built this version...
Thanx to Tu Nam for writing the patch and for sending it
to me!
Great work!
:)
BTW!
you need to supply a WidgetWindow derived class called
WidgetTest1 to compile it...
BTW2!
Use at OWN risk!
Neither ME nor Tu Nam will take eny responsibility
regarding the functionality in these files!
Patch for using SmartWin with WinMain
Logged In: YES
user_id=1159765
This is only a test of the new configuration:
"on changes drop a email to the list "
Peter
Logged In: YES
user_id=1159765
Next attempt:
This is only a test of the new configuration:
"on changes drop a email to the list"
Peter