visual-studio-2012

Redemption Cannot add Item to Folder

假装没事ソ 提交于 2019-12-25 07:47:39
问题 I'm writing a program in C# using Redemption to iterate through the RDOMail objects in a RDOPstStore and copy the ones marked as relevant to a new RDOPstStore . I can modify the folders in the RDOPstStore.IPMRootFolder , and do so to only leave one folder (Results). However when I go to add RDOMail items to this folder (saved in a list previously) the items do not appear in the folders Items member. Is there something I am missing in order to ensure the "added" RDOMail object is saved in the

Compiling C++ for OSX from Windows

对着背影说爱祢 提交于 2019-12-25 07:43:07
问题 I have a small console based, standards compliant, C++ program that I developed in Visual Studio on Windows. Since it is in standard C++, is all I need to do is compile it for OSX? or am I being overly optimistic? I am looking for the easiest and most straightforward way to do this. Is it possible to do from Visual Studio 2012 Professional? If necessary I have access to a Mac. However, since my dev platform is Windows, it would be nice if I could do it from here. I'm not experienced with mac

Deploy SSIS Packages developed using SQL Server Data Tools for Visual Studio 2012

China☆狼群 提交于 2019-12-25 07:33:07
问题 So I have a suite of SSIS packages that we created using Visual Studio 2008 and are currently deployed on a SQL Server 2008R2 instance. However, I would like to upgrade these to 2012 via SQL Server Data Tools for Visual Studio 2012 which is easy enough, however, the company that I work for does not have any plans to upgrade the SQL Server to 2012 any time soon. So is there a way to create SSIS packages using SSIS 2012 and deploy them to a SQL Server 2008R2 instance while maintaining all of

Windows Phone 8 - Exception while loading designer

[亡魂溺海] 提交于 2019-12-25 07:24:54
问题 I have Windows 8 Enterprise Edition installed in my Machine. I am facing problem while designing windows phone 8 application development. The designer part throws an exception System.Exception Package failed updates, dependency or conflict validation. (Exception from HRESULT: 0x80073CF3) at Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.CreateDesignerProcess(String applicationPath, String clientPort, Uri hostUri, IDictionary environmentVariables, Int32& processId,

How to add items to XAML/WINRT Grid from Code

一曲冷凌霜 提交于 2019-12-25 07:16:55
问题 So, I am trying to create a grid that can be dynamically populated by 0 to X items depending on when the Frame is open. I read the MSDN article on how to create a grid and add to it in code: http://msdn.microsoft.com/en-us/library/ms752271.aspx Howeverm I want to create the Grid in the XAML and add to it in the code. Something like this: XAML: <Grid x:Name="ManagePhotosContent" Grid.Row="1" Visibility="Visible"> <!-- to be filled in by code --> </Grid> In C# code i am doing something like

How to add items to XAML/WINRT Grid from Code

百般思念 提交于 2019-12-25 07:16:02
问题 So, I am trying to create a grid that can be dynamically populated by 0 to X items depending on when the Frame is open. I read the MSDN article on how to create a grid and add to it in code: http://msdn.microsoft.com/en-us/library/ms752271.aspx Howeverm I want to create the Grid in the XAML and add to it in the code. Something like this: XAML: <Grid x:Name="ManagePhotosContent" Grid.Row="1" Visibility="Visible"> <!-- to be filled in by code --> </Grid> In C# code i am doing something like

VLC Api with C++ - linker error for .lib (even when I've added it to my VC++ project)

守給你的承諾、 提交于 2019-12-25 07:01:11
问题 I wanted to compile the sample C++ program that uses VLC Api, according to the https://wiki.videolan.org/LibVLC_Tutorial/, with my Visual Studio 2012 on Windows 7 x64 (I work with x86 anyway). In order to obtain a .lib file, I've followed: https://wiki.videolan.org/GenerateLibFromDll/. I had some problems at the start, but finally I got (I've noticed the warnings): And I do have my libvlc.lib created. I've moved it to the folder with my main.cpp , added the path to Project -> VC++ Directories

In shared classes how to use local resources?

我怕爱的太早我们不能终老 提交于 2019-12-25 06:59:53
问题 I have a Parent project and a child project. In the child project I have removed all the classes (MainPage.xaml and it's .cs file) and have linked the Parent Project's MainPage.xaml and it's .cs file using Add as a link. In my child Project I want to run the project using this project's resource files(like AppResources.resx). For example, I want to print a customised string value from AppResources.resx from child project, I use this code in my xaml.. <TextBlock x:Name="Txtblk"

WIndows Phone 8 Simulator not showing up

醉酒当歌 提交于 2019-12-25 06:45:46
问题 I am new with windows 8 development, I am running microsoft visual studio windows phone express 2012 and ran into a problem where when I try to run the application it just shows the default device selected and not the simulators. I read some msdn forms where they said to install the SDK 8.0 but windows phone express already comes with the SDK 8. I have tried chnagin the application debug properties but there too the only option that is visible to me is device and not simulator given below is

How to optimize object's memory size while using multiple inheritance with visual studio compiler?

你。 提交于 2019-12-25 06:45:41
问题 #include <iostream> class A {}; class B {}; class C : public A, public B { int a; }; int main() { std::cout << sizeof(C) << std::endl; return 0; } If I compile above code using cl, the output is '8'. While compiling with g++, the output will be '4'. Without multiple inheritance the output will be '4' with both compilers. Thanks. 回答1: Here is the answer why it is 8-byte: Why empty base class optimization is not working? The solution is to chain all base classes. To be elegant, we could write