all groups > dotnet compact framework > february 2006 >
You're in the

dotnet compact framework

group:

Inject ? a Compact Framework DLL


Inject ? a Compact Framework DLL leightonr
2/21/2006 10:35:29 AM
dotnet compact framework:
Is there a way for me to get a Compact Framework DLL loaded into the process
space of another compact Framework application (without loading it from the
app) - similar to injecting a normal C++ DLL into an application. The
purpose of this is so that my injected DLL can use IMessageFilter to capture
RE: Inject ? a Compact Framework DLL Alex Yakhnin [MVP]
2/21/2006 1:30:27 PM
If it is CF v2, you can use the NativeWindow.

--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com | www.opennetcf.org


[quoted text, click to view]
RE: Inject ? a Compact Framework DLL leightonr
2/22/2006 3:39:28 AM
Thanks Alex. Following your feedback I have looked at NativeWindow but the
drawback I see is that I would have to create a handler for every Window the
application creates whereas I could somehow inject my CF DLL that implemented
an IMessageFilter interface so I could interecept all application events.

[quoted text, click to view]
AddThis Social Bookmark Button