Hi,
Is it possible to build up a DLL by using EDGELIB? Since I only get the examples that implement executables (.exe) application. (I'd like to make a DLL by using EDGELIB in Windows Mobile platform)
Thanks!
Hi,
Currently it's not possible to build EDGELIB as a DLL. Can you tell me why you need to use a DLL?
Hi,
Thanks, we'll find another way.
Because we wanna make a DLL that is hooked by a exe program, no other special reason, just a design of our architecture.
Hi,
If we want to make it a Today plugIn, can it be DLL file ?
thanks
Hi,
Perhaps it's possible to build your application as a DLL with EDGELIB linked statically. However, the framework must be started manually through WinMain.
For creating a today plugin there could be problems, especially with drawing to the screen (such as window ordering and detecting which parts of the screen you should draw to).
We're working to make Hello.exe be part of today plug-ins.
If we set "fullscreen=true", the user operation on it is normal; however when we set "fullscreen=false" and appear the title bar where we can trigger,for ex., the volume icon to launch app, but the hello.exe screen will be gone and never came back.
I guess it's exactly,as you said,the window ordering problem, and there's no way to resolve it now ?
tks
Hi,
Yes, currently it's not possible to fix the window ordering problem. An alternative approach could be to create your own GDI bitmap buffer. Before blitting, copy the contents of the surface manually into this GDI bitmap (use surface lock to access its pixels directly). Also disable flipping by adding the EFL_MANUALFLIP flag to the framework configuration.
Hi Edge,
Can you offer more details about the approach?
Here I set flags in HelloWorld
- Code:
config->flags = EFL_MANUALFLIP;
config->focusminimize = false;
and
config->fullscreen = false;
Looks like I should update frame myself in OnNextFrame, coz I can't see any display as setting EFL_MANUALFLIP. can you please give me some code sample to update manully?
Hi Justin,
If you want to flip manually, call this at the end of OnNextFrame:
- Code:
display->Flip();