Just a quick question, is it possible to use PF without ATL?
Cheers.
Phil.
Cheers.
Phil.
A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.
Kzinti wrote:Why would you want to remove ATL from PocketFrog?
Kzinti wrote:Why would you want to remove ATL from PocketFrog?
Marcus wrote:1) Optimization:
I saved from 1 to 4 fps after replacing the ATL stuffs by Win32 ones.
Marcus wrote:2) The CComModule object:
The fact that its needed to compile PF projects makes it difficult to build your own DLL on top of PF.
Kzinti":1a7xnsq5]Marcus wrote:1) Optimization:
I saved from 1 to 4 fps after replacing the ATL stuffs by Win32 ones.
Can you elaborate on that one? 200 to 204 FPS? or 10 to 14 FPS? Why would ATL be any slower then straight Win 32?
As far as I can remember (it's quite old now), it was something like 160->164 for the iPAQ H3900 and 16->17 for the Acer n310. If you need accurate figures, I will do some benchmarking soon...
Kzinti wrote:[quote="Marcus wrote:2) The CComModule object:
The fact that its needed to compile PF projects makes it difficult to build your own DLL on top of PF.
How so?
Marcus wrote:As far as I can remember (it's quite old now), it was something like 160->164 for the iPAQ H3900 and 16->17 for the Acer n310. If you need accurate figures, I will do some benchmarking soon...
Marcus wrote:When you build a DLL or an EXE with PF, you need to instanciate that COM server (if not, you get an unresolved external symbol).
So, when building a DLL on top of PF you provide an instance of that _Module. And when building the application that will use this DLL, you provide a 2nd instance of _Module. Depending on what you export or not, you end up with either a duplicate symbol at link or 2 servers.