RE: [GD-Windows] getmainwindow...
Brought to you by:
vexxed72
From: Brian H. <bri...@py...> - 2001-12-05 22:23:54
|
> for example maybe i'll port this code to a different platform.... Cross platform programming isn't about NOT using an API, it's about isolating API specific features in appropriate places and abstracting things to a higher level so that your core games. Not keeping your app's HWND around for a Windows app is NOT the way to go -- my code is very cross platform, but my Windows-centric portion still knows what the HWND is. You should probably try to structure things similarly. Brian |