|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
CompactFramework applocation class nameI develop for SmartDevice using VS2005 I my application to be able to load multiple times. In VS2003 I used FindWindow with class name : "#NETCF_AGL_PARK_" But with VS2005 the FinsWindow cannot find the window. If I check with RemoteSpy And I see the class name is the same as I search. This is the code i use : [DllImport("coredll.dll", EntryPoint = "FindWindowW", SetLastError = true)] private static extern IntPtr FindWindowCE(string lpClassName, string pWindowName); string sName = Assembly.GetExecutingAssembly().GetModules()[0].FullyQualifiedName; string sClass = "#NETCF_AGL_PARK_"; IntPtr i1 = FindWindowCE(sClass, sName); How can I get the application window ? Thanks, Sharon Hi
This newsgroup is for desktop framework development issue. As for compact framework issue, please post in the newsgroup below. microsoft.public.dotnet.framework.compactframework or microsoft.public.pocketpc.developer Thanks for your understanding! Best regards, Peter Huang Microsoft Online Partner Support Get Secure! - www.microsoft.com/security This posting is provided "AS IS" with no warranties, and confers no rights. |
|||||||||||||||||||||||