我有一个Windows桌面应用程序(WPF + c ++).
我刚刚制作了一个ClickOnce安装程序.我在Windows 7上构建它,但我想为Windows应用商店认证应用程序,因此我在Windows 8上运行Windows应用程序认证工具包.
安装程序工作正常,它安装我的应用程序并在Windows 8启动屏幕上放置一个图标.我的应用运行良好.然后我卸载它准备运行认证.
当我尝试验证它时,应用程序兼容性工具包无法安装它(一些窗口闪存打开和关闭,因此我无法读取它们,我没有经历安装程序对话框,这通常需要我的一些交互) .
然后工具包弹出一个对话框:
Windows App认证工具包未检测到因安装而导致的任何新应用程序.除非成功安装了应用程序,否则无法继续测试).
以前有一个MSI安装程序似乎与兼容工具包一起工作(应用程序失败认证,但出于合法原因).现在我无法获得兼容工具包甚至安装我的ClickOnce应用程序.我如何认证我的桌面应用程序?
编辑桌面应用程序确实可以在商店中使用.看到这个.http://msdn.microsoft.com/en-us/library/windows/desktop/hh749939.aspx
我正在写一个MacOS音频单元扩展.当我谷歌搜索示例代码时,我在Apple的网站上只得到一个过时的页面,说明"重要:此文档不再更新.".那里的代码版本是V2.5
我也在github上找到了相同示例代码的3.0版...
https://github.com/Lax/iOS-Swift-Demos/tree/master/AudioUnitV3Example
我非常喜欢使用最新的代码,但我无法确信来自第三方的代码是真的还是绝对的最新版本.我希望Apple能够提供明确的示例代码.
我在哪里或如何从Apple获取最新的音频单元示例代码?
我目前正在提供32位Windows音乐软件.我的一些用户要求64位支持.我计划最终,但移植是一项重要工作,我还有很多其他重要的功能要求.我需要明智地分配我有限的时间.64位操作系统拥有多少市场份额?以及趋势是什么.
我有一个DLL,它导出一个函数...
extern "C"
int __stdcall
MP_GetFactory( gmpi::IMpUnknown** returnInterface )
{
}
Run Code Online (Sandbox Code Playgroud)
我用Code :: Blocks GCC编译器(V3.4.5)编译它.问题:导致dll导出装饰函数名称...
MP_GetFactory@4
Run Code Online (Sandbox Code Playgroud)
这无法加载,应该是老了......
MP_GetFactory
Run Code Online (Sandbox Code Playgroud)
我研究了大约4个小时.我认为--add-stdcall-alias是修复此问题的选项.我的代码::块日志显示...
mingw32-g ++.exe -shared -Wl, - out-implib = bin\Debug\libGainGCC.a -Wl, - dll obj\Debug\se_sdk3\mp_sdk_audio.o obj\Debug\se_sdk3\mp_sdk_common.o obj\Debug\Gain\Gain.o obj\Debug\Gain\gain.res -o bin\Debug\GainGCC.sem --add -stdcall-alias -luser32
..所以我认为这是正确的选择吗?但没有运气.Dependancy Walker仅显示正在导出的装饰名称.我通过使用__cdecl而不是__stdcall得到了它的工作,然后将该名称导出为ok,但该函数在被调用时会破坏堆栈(因为调用者期望其他调用约定).
我正在安装需要Visual C++可再发行组件(x64)的产品.首先我的bootstrapper试图检测是否已安装vcredist(x64)...
<util:RegistrySearch Root="HKLM" Key="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\11.0\VC\Runtimes\x64" Value="Installed" Variable="vcredist"/>
Run Code Online (Sandbox Code Playgroud)
关键是"虚拟化"(我认为),在注册表中它出现在...
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\11.0\VC\Runtimes\x64
Run Code Online (Sandbox Code Playgroud)
请注意,我没有在搜索中添加"Wow6432Node"位,因为我认为这意味着要被操作系统隐藏?这个搜索总是失败....
[131C:0BC0][2013-03-18T12:42:17]: Registry key not found. Key = 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\11.0\VC\Runtimes\x64'
Run Code Online (Sandbox Code Playgroud)
我尝试添加Win64="yes"到我的注册表搜索,没有成功.有什么建议?
更新:这是因为我安装了VS2012 RC.(对不起,应该说).我有一个WPF切换按钮.我想在上面画一幅画,所以我制作了一个绘图画笔,我想控制绘图的颜色,所以我把它绑定到ToggleButton的Foreground属性.似乎不工作?(在下面的例子中,图形是蓝色的,但它是黑色的).
<UserControl x:Class="SynthEditWpf.UserControl1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300">
<UserControl.Resources>
<DrawingBrush x:Key="Power" Stretch="None">
<DrawingBrush.Drawing>
<DrawingGroup>
<DrawingGroup.Children>
<GeometryDrawing Geometry="F1 M 11.9999,4.34296L 11.9999,9.57471">
<GeometryDrawing.Pen>
<Pen Thickness="3" StartLineCap="Round" EndLineCap="Round" LineJoin="Round" Brush="{Binding Path=Foreground, RelativeSource={RelativeSource AncestorType={x:Type Control}}}"/>
</GeometryDrawing.Pen>
</GeometryDrawing>
<GeometryDrawing Geometry="F1 M 7.60373,6.78986C 6.09436,8.03101 5.13317,9.90375 5.13317,11.999C 5.13317,15.7359 8.19123,18.7654 11.9635,18.7654C 15.7359,18.7654 18.7939,15.7359 18.7939,11.999C 18.7939,9.90375 17.8327,8.03101 16.3234,6.78986">
<GeometryDrawing.Pen>
<Pen Thickness="3" StartLineCap="Round" EndLineCap="Round" LineJoin="Round" Brush="{Binding Path=Foreground, RelativeSource={RelativeSource AncestorType={x:Type Control}}}"/>
</GeometryDrawing.Pen>
</GeometryDrawing>
</DrawingGroup.Children>
</DrawingGroup>
</DrawingBrush.Drawing>
</DrawingBrush>
</UserControl.Resources>
<Grid>
<ToggleButton Foreground="Blue" Width="30" Height="30">
<Rectangle Fill="{StaticResource Power}" Width="24" Height="24" …Run Code Online (Sandbox Code Playgroud)