fusion

MapGuide Fusion Viewer API 如何获取Fusion对象

若如初见. 提交于 2020-03-03 09:14:59
在使用MapGuide Fusion viewer时,经常会用Fusion API,而Fusion API中最重要的对象就是Fusion对象,Map或者其他Widget都是通过Fusion这个全局对象来获得的。 下面是如何获取Fusion对象的javascript代码,存在这里备用,也供大家参考: var mgApiMapWidgetId = ' Map ' ; var MainFusionWindow = GetFusionWindow(); var OpenLayers = MainFusionWindow.OpenLayers; var Fusion = MainFusionWindow.Fusion; alert(Fusion); /* locate the Fusion window */ function GetFusionWindow() { var curWindow = window; while ( ! curWindow.Fusion) { if (curWindow.parent && curWindow != curWindow.parent) { curWindow = curWindow.parent; } else if (curWindow.opener) { curWindow = curWindow.opener; } else { alert

When does the CLR try to load a referenced assembly?

人走茶凉 提交于 2020-01-11 05:38:09
问题 I want to write a small installer app that installs a web site and creates IIS virtual directories. The app should run on Windows XP/Server 2003 (IIS 6) as well as on Vista/2008 (IIS 7). The problem is: for IIS 6 we create virt dirs by calling WMI/Metabase API, for IIS 7 there is a much better API: Microsoft.Web.Administration, but its assembly is available only on IIS 7 systems. Naive approach: ... if (OperatingSystem == old) { call metabase API... } else { call Microsoft.Web.Administration.

When does the CLR try to load a referenced assembly?

怎甘沉沦 提交于 2020-01-11 05:38:09
问题 I want to write a small installer app that installs a web site and creates IIS virtual directories. The app should run on Windows XP/Server 2003 (IIS 6) as well as on Vista/2008 (IIS 7). The problem is: for IIS 6 we create virt dirs by calling WMI/Metabase API, for IIS 7 there is a much better API: Microsoft.Web.Administration, but its assembly is available only on IIS 7 systems. Naive approach: ... if (OperatingSystem == old) { call metabase API... } else { call Microsoft.Web.Administration.

Solving Assembly not Found | FileNotFoundException | Fusion Log

前提是你 提交于 2019-12-24 02:48:37
问题 I am trying to deploy my solution package (wsp) to SharePoint 2007 environment. The WSP contains a feature which loads the feature receiver class to deploy a timer job at run time. While deploying this WSP, I am consistently getting Feature 'fb631f6c-2c46-4ab5-b7b3-f3d0c949c5f0' could not be installed because the loading of event receiver assembly "XXX, Version=1.0.0.0, Culture=neutral, PublicKeyToken=bad6857072694970" failed: System.IO.FileNotFoundException I have double checked everything

No stream fusion with unsafeUpdate_ in unboxed vector

好久不见. 提交于 2019-12-23 11:46:16
问题 Is it possible to maintain stream fusion when processing a vector if unsafeUpdate_ function is used to update some elements of a vector ? The answer seems to be no in the test I did. For the code below, temporary vector is generated in upd function, as confirmed in the core: module Main where import Data.Vector.Unboxed as U upd :: Vector Int -> Vector Int upd v = U.unsafeUpdate_ v (U.fromList [0]) (U.fromList [2]) sum :: Vector Int -> Int sum = U.sum . upd main = print $ Main.sum $ U.fromList

How to ship gdiplus.dll but not have Windows use it?

孤者浪人 提交于 2019-12-23 05:37:10
问题 i have an application that has a dependancy on gdiplus. i need the application to also run on Windows 2000. i want to include GDIPlus in the application directory, so that Windows 2000 computers will function, but if the machine is Windows XP, Windows Vista, Windows 7, etc, i want it to use the version of GDIPlus that ships, and is updated, with Windows. Not possible? 回答1: From http://msdn.microsoft.com/en-us/library/ms997620.aspx Try adding the following to your manifest :- <?xml version="1

边缘保留滤波器

跟風遠走 提交于 2019-12-23 03:53:06
边缘保留滤波器(图像平滑方法) 1.多尺度边缘保留与分解 Z. Farbman, R. Fattal, D. Lischinski, Edge-preserving decompositions for multi-scale tone and detail manipulation, ACM Trans. Graph. 27 (3) (2008) 1–10. 2.均值滤波 S. Li, X. Kang, J. Hu, Image fusion with guided filtering, IEEE Trans. Image Process. 22 (7) (2013) 2864–2875.(引导滤波用的均值滤波进行的分解) 代码:https://www.mathworks.com/matlabcentral/fileexchange/68962-a-demo-for-image-fusion 3.非局部均值滤波 X. Yan, H. Qin, J. Li, H. Zhou, J.-g. Zong, Q. Zeng, Infrared and visible image fusion using multiscale directional nonlocal means filter, Appl. Opt. 54 (13) (2015) 4299–4308. 4.交叉双边滤波 B.

Alternative to Fusion Log Viewer?

人盡茶涼 提交于 2019-12-18 13:21:06
问题 Are there any alternative Fusion Log Viewer programs, other than Fuslogvw.exe, or directing the Fusion log output to your own directory and then examining the tons of HTM files by hand? My two main gripes are: I'd like an overview that showed which assembly loads succeeded and which failed. I'm unsure of the resolution of the timestamps on the logging files, so I'm unsure of which entry comes before another entry. For example, my program is apparently trying to load an assembly with both

Win32 App Compat: Is there a manifest entry to opt my application out of NoExecute?

北城以北 提交于 2019-12-13 17:03:34
问题 Is there an assembly manifest (or perhaps a PE Image flag) to opt-out of (or opt-in to) NoExecute protection? By default, Windows only protects its own binaries with NoExecute protection: But i might want to opt my executable into NX protection. i also might need to indicate to the user that my application is incompatible with NX protection. Rather than forcing the user to manually find, and add me, to a list, i can do it for them: Note: i liken this to my ability to opt-in to running my

.NET assemblyBinding configuration ignored in machine.config

偶尔善良 提交于 2019-12-11 17:39:38
问题 I have a situation where I need to be able to load assemblies in the GAC based on their partial names. In order to do this I have added the following to my app.config file: <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <qualifyAssembly partialName="MyAssembly" fullName= "MyAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0123456789abcdef"/> </assemblyBinding> </runtime> This works exactly the way I want it to. However, if I place the same element in my machine