ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
MFC bot (Bots)
MFC bot // BotssweNov 23, 2003, 6:10pm
hey, anyone have a sample MFC bot i can see? the change from console to mfc
confused me, and need something to help me figure out things :) thanx -SWE strike rapierNov 23, 2003, 6:29pm
There ain't much of a diff really... you use WM_TIMER to call a aw_wait
every x seconds and have the entire thing encapsulated into a class instead of just on its own in the main cpp file. - MR [View Quote] bowen ten.sardna@newobNov 23, 2003, 8:35pm
[View Quote]
> There ain't much of a diff really... you use WM_TIMER to call a aw_wait
> every x seconds and have the entire thing encapsulated into a class instead > of just on its own in the main cpp file. Well, show him how to do it then. -- --Bowen-- http://bowen.homelinux.com Give me ideas. sweNov 23, 2003, 9:10pm
its not that, i can get it logging in and all, but cant get the event
handling working. i manually(not sure if theres any other way) create a function, and use the event set thing, but the function never gets called! know what thats about? :) -SWE [View Quote] bowen ten.sardna@newobNov 24, 2003, 3:46am
[View Quote]
Microsoft Foundation Class. Microsoft's class, to the hell, I call
windows-GUI's a little easier. -- --Bowen-- http://bowen.homelinux.com Give me ideas. strike rapierNov 24, 2003, 7:29pm
Make sure your firing off an aw_wait every second or so using a WM_TIMER
message... n ensure that the functions you call aint in the actual class... but global funcs... class functions go boom cause theyre instanced. - MR [View Quote] sweNov 25, 2003, 10:28am
|