Creating *.dll in Visual Studio (using c++) for JNI
Hi,
I'd like to ask, if anybody has experience how to make *.dll using Visual studio (2003) and use c++.
I make *.dll library in C ( in DEV-C++), it is no problem in C , but when I use C++, it doesnt work (it is the same in Visual studio)
I have the same code like in C ( the same header , and the "same" code - in dev-c++ it works well ) but when I try to create this same project using C++ it doesn work.
Visual studio throws exeption:
c:\Documents and Settings\patak\Dokumenty\Visual Studio Projects\jniknihovna\jniknihovna.cpp(13): error C2227: left of '->GetStringUTFChars' must point to class/struct/union
type is 'JNIEnv'
did you intend to use '.' instead?
c:\Documents and Settings\patak\Dokumenty\Visual Studio Projects\jniknihovna\jniknihovna.cpp(13): error C2819: type 'JNIEnv_' does not have an overloaded member 'operator ->'
Well does anybody have any idea how to solve this problem?
Well I think I use my compiler (dev-c++) corectly:
My codes :
*.h file (that is produced by javah)
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class IntArray */
#ifndef IncludedIntArray
#define IncludedIntArray
#ifdef __cplusplus
extern "C" {
#endif
* Class: IntArray
* Method: sumArray
* Signature: ([I)I
JNIEXPORT jint JNICALL Java_pole_IntArray_sumArray
(JNIEnv *, jobject, jintArray);
#ifdef __cplusplus
#endif
#endif
And *.cpp
#include <jni.h>
#include <stdio.h>
#include "dll.h"
JNIEXPORT jint JNICALL
Java_pole_IntArray_sumArray(JNIEnv *env, jobject obj, jintArray arr)
jint buf[10];
jint i, sum = 0;
(*env)->GetIntArrayRegion(env, arr, 0, 10, buf);
for (i = 0; i < 10; i++) {
sum += buf;
return sum;
and in Java : private native int sumArray(int[] arr);
and again error : 10 C:\Dev-Cpp\dllmain.cpp base operand of `->' has non-pointer type `JNIEnv_'
(when I compile it as C library, it works , but I need to use C++ in other code, I can find only examples where only *.C is used )
Maybe here is an error, but I don't know how to solve this problem
Edited by: patakm1 on Apr 4, 2008 2:28 PM
Similar Messages
-
How to create dll in Visual Studio 2008 in Visual C++
Hello,
I have insatlled Visual Studio 2008. I have to create DLL in Project
type Visual C++.
Which Template i have to select to reate dll, MFC DLL or Class
Library?.
I have to call or import this dll in Windows Forms Application. How
can i do this. Please give details procedure to do this.If we look at how AFX_CLASS_EXPORT and AFX_CLASS_IMPORT are defined in afxv_dll.h we see the following.
#define AFX_CLASS_EXPORT __declspec(dllexport)
#define AFX_CLASS_IMPORT __declspec(dllimport)
So, when exporting our classes from our DLL we want the class declarations from the DLL to look like this:-
class __declspec(dllexport) CMyClass : public CObject
And, when importing our C++ classes into our application we want the class declarations from the DLL to look like this:-
class __declspec(dllimport) CMyClass : public CObject
OK, so here's how I do things.
In the stdafx.h file for the export DLL, include two #defines at the bottom of the file like this:-
#define _MYLIB_DLLAPI_
#define _MYLIB_NOAUTOLIB_
Now, in the main header file for your DLL, say mylib.h (the main 'point of entry' header for your DLL that you will include in you application later), add the following at the top:-
// The following will ensure that we are exporting our C++ classes when
// building the DLL and importing the classes when build an application
// using this DLL.
#ifdef _MYLIB_DLLAPI_
#define MYLIB_DLLAPI __declspec( dllexport )
#else
#define MYLIB_DLLAPI __declspec( dllimport )
#endif
// The following will ensure that when building an application (or another
// DLL) using this DLL, the appropriate .LIB file will automatically be used
// when linking.
#ifndef _MYLIB_NOAUTOLIB_
#ifdef _DEBUG
#pragma comment(lib, "mylibd.lib")
#else
#pragma comment(lib, "mylib.lib")
#endif
#endif
Now, just declare all the C++ classes you want exported from the DLL like this:-
(Note: Any C++ classes not declared with MYLIB_DLLAPI will not be exported from the DLL)
class MYLIB_DLLAPI CMyClass : public CObject
regards,
Matt John
complete variety of quilts is availabale here!
PR: wait...
I: wait...
L: wait...
LD: wait...
I: wait...
wait...
Rank: wait...
Traffic: wait...
Price: wait...
C: wait... -
How do I create a view in SQL Server in Visual Studio Express 2013 for Desktop?
Hi
I've got a SQL Server database set up using the internal SQL Server in Visual Studio Express 2013 for Desktop. I want to create a view (using tables with one to many relationships) but I don't
know how to do it.
Where can I find a good tutorial on creating views in SQL Server in Visual Studio Express 2013 for Desktop? I think Visual Studio Express 2013 for Desktop doesn't have some view designer that
exists in the non-express version of Visual Studio (if I'm not mistaken). So I think I'd need a tutorial on how to do the actual SQL, unless there is some tool I don't know about.
ThanksHi ,
According to your description, if you install SQL Server SQL Server 2014 Express and SQL Server Manager Studio tools (SSMS), if you want to create a view, you can use SSMS. Then if you want to connect to and Diagram your SQL Express Database in Visual Studio
2013, you can attach the database file by using the .NET Framework Data Provider for SQL Server in Visual Studio, and create a database diagram via expanding the “Database Diagrams” node.
For more information, there is similar issue about how to connect to and Diagram your SQL Express Database in Visual Studio 2012 , you can review the following article,
http://blogs.msdn.com/b/bethmassi/archive/2011/10/27/how-to-connect-to-and-diagram-your-sql-express-database-in-visual-studio-lightswitch.aspx.
Regards,
Sofiya Li
Sofiya Li
TechNet Community Support -
SSIS script task using visual c# 2012 language when creating package in Visual Studio 2013
Is it right or my installation was all wrong.
When I am trying to use a script task in an SSIS package using Visual Studio 2013, the available languages are visual c# and VB 2012.
I was expecting to find visual c# and VB 2013 since I was using Visual Studio 2013.
I already installed the "Microsoft SQL Server Data Tools - Business Intelligence for Visual Studio 2013" available for sql 2014
Please help clarify this. Thanks beforehand.
PaulinoHi Paulino,
According to your description, the ScriptLanguage property of C# script tasks show "Microsoft Visual C# 2012” in SSDT-BI for VS 2013.
After testing the issue in my environment, I can reproduce it in SSDT-BI for VS 2013. And I find that the ScriptLanguage property of C# script tasks show "Microsoft Visual C# 2010” in SSDT, and show "Microsoft Visual C# 2012” in SSDT for SSDT –
BI for VS2012. It only appear in SSDT-BI for VS 2013.
The issue is by design. But we can check "Do not show this again." to ignore the dialog and the task can be executed without any problem.
The following feedback is for your reference:
https://connect.microsoft.com/SQLServer/feedback/details/1027035/ssdt-bi-for-vs-2013-compatibility-issue
Regards,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
An error occured while creating a project Visual Studio 2010 & CVI 2012
While creating a project from VS2010, with CVI 2012 install. I get this error after attempt to convert or create a CVI project. Also the CVI dialog has no details.
Solved!
Go to Solution.I did installed Labwindows 3 weeks ago. I installed visual studio yesterday. I updated labwindows for Visual Studio supprt. I was tried to create anew project from Visual Studio using CVI app wizards. Both wizards end with same results
Thanks for posting reply -
Installation Problem Visual Studio Express 2013 for Web on Windows 8.1
Hi,
I am new to Microsoft developing tools and I have spent the last two days trying to install VS Express 2013 for Web on my laptop that's running windows 8.1 (X64,Intel
Core i5 3337U (1.80GHz)).
I run it as an administrator and have enough space on the disk. However, I keep on getting the same error.
Microsoft Visual Studio Express 2013 for Web - ENU Fatal error during installation.
After uninstalling and deleting the temp files, I get an additional error.
Entity Framework 6.1.1 Tools for Visual Studio 2013
User cancelled installation.
In my log files here are some of the problems that I saw:
[0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\WebFrameworksTools\Servicing\5.0\VisualStudio12'; variable = 'AspNetWebFxTools_VS2013_Version'
[0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\WebFrameworksTools\Servicing\5.0\VWDExpress12'; variable = 'AspNetWebFxTools_VWD2013_Version'
[0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Classes\Installer\Dependencies\Microsoft.VS.Bliss_Core,v12'; variable = 'bliss_core_DetectKeyExists'
[0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'bliss_core_DetectKeyExists' to value 0
[0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Policies\Microsoft\SystemCertificates\AuthRoot'; variable = 'DisableRootAutoUpdate'
[0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft Corporation\DataFxTools\12.0.0.0'; variable = 'EFTools_2013_VersionKey'
[0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Help\v2.1\Setup'; variable = 'help3vs_49_DetectKey'
[0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Help\v2.1\Setup'; variable = 'help3vs_49_DetectKeyExists'
[0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'help3vs_49_DetectKeyExists' to value 0
[0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'IEsvcVersionExists' to value 1
[0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'IEsvcVersion' to value '11.0.9600.17631'
[0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\SystemCertificates\AuthRoot\Certificates\3B1EFD3A66EA28B16697394703A72CA340A05BD5'; variable = 'MicrosoftRootCertificateAuthority2010AuthRootExists'
[0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'MicrosoftRootCertificateAuthority2010AuthRootExists' to value 0
[0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'MicrosoftRootCertificateAuthority2010RootExists' to value 1
[0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\SystemCertificates\AuthRoot\Certificates\8F43288AD272F3103B6FB1428485EA3014C0BCFE'; variable = 'MicrosoftRootCertificateAuthority2011AuthRootExists'
[0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'MicrosoftRootCertificateAuthority2011AuthRootExists' to value 0
[0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'MicrosoftRootCertificateAuthority2011RootExists' to value 1
[0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'netfxfullredist_43_CBSValue' to value '1'
[0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'netfxfullredist_43_DetectKey' to value '4.5.51641'
[0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'NetFxFullRedist_InstalledRelease' to value '378675'
[0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'NetFxFullRedist_InstalledReleaseExists' to value 1
[0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'OS_BuildNumber' to value '9600'
[0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'ssceruntime_x64_msi_DetectKey' to value '4.0.8876.1'
[0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'ssceruntime_x64_msi_DetectKeyExists' to value 1
[0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'ssceruntime_x86_msi_DetectKey' to value '4.0.8876.1'
[0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'ssceruntime_x86_msi_DetectKeyExists' to value 1
[0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\SSDT\12.0\1033'; variable = 'ssdt_lang_detect_enu'
[0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\vs\Servicing\12.0\teamExplorerCore'; variable = 'teamExplorercore_DetectKeyExists'
[0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'teamExplorercore_DetectKeyExists' to value 0
[0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'VSComponentPathVariable' to value ''
[0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Updates\Microsoft Visual Studio 2013\vsupdate_kb2829760'; variable = 'vsupdate_DetectKey'
[0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Updates\Microsoft Visual Studio 2013\vsupdate_kb2829760'; variable = 'vsupdate_DetectKeyExists'
[0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'vsupdate_DetectKeyExists' to value 0
[0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'webdeploy_x64_en_usmsi_902_DetectKey' to value '9.0.1764.0'
[0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'webdeploy_x86_en_usmsi_901_DetectKey' to value '9.0.1764.0'
[0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Web Tools\Visual Studio 12'; variable = 'WebTools_VS2013_VersionKey'
[0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Web Tools\Visual Studio 2013'; variable = 'WebTools_VS2013_VersionKey_2'
[0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Web Tools\Visual Studio Express 12 for Web'; variable = 'WebTools_VWD2013_VersionKey'
[0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Web Tools\Visual Studio Express 2013 for Web'; variable = 'WebTools_VWD2013_VersionKey_2'
The last line of my log file contained this:
[0354:1418][2015-02-23T14:02:26]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart: No
I really need to have this up and running as soon as possible. Any help would be greatly appreciated.
Thanks!Hi,
By the errors:
[0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\WebFrameworksTools\Servicing\5.0\VisualStudio12'; variable = 'AspNetWebFxTools_VS2013_Version'
[0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\WebFrameworksTools\Servicing\5.0\VWDExpress12'; variable = 'AspNetWebFxTools_VWD2013_Version'
[0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Classes\Installer\Dependencies\Microsoft.VS.Bliss_Core,v12'; variable = 'bliss_core_DetectKeyExists'
It maybe a registry or administrator issue.
Please install VS with administrator.
What's more, it maybe a corrupt registry issue. And you can't install any version of Visual Studio, I think you can use the tool to fix problems that programs cannot be installed or uninstalled. It also can fix the corrupted registry keys.
http://support.microsoft.com/mats/program_install_and_uninstall/en-us
Best Wishes!
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey. -
No JavaScript Intellisense in Visual Studio Express 12 For Windows Phone
I'm developing mobile app for windows phone using Windows phone 8 SDK (Visual Studio Express 12 For Windows Phone). I want to use code auto-Complete facilities when coding in Javascript. For that I need to use Intellisense for JS.
According to my knowledge, To configure Intellisense according to my knowledge,It have navigate to the [Tools] > [Options] > Text Editor > JavaScript > IntelliSense >
But in my [Tools] > [Options] > Text Editor > list there is No item called JavaScript.
Please help me for solve this.Hi AmilaEranga,
I try to test it in my side, I could get the JavaScript Text Editor in my side.
So I doubt that it would be your VS IDE issue. If possible, please download it from the official site here:
http://www.microsoft.com/en-us/download/details.aspx?id=30664
And then repair your VS, test it again.
Or you could run the following command lines with the Developer Command Prompt of VS2012:
devenv /setup
devenv.exe /InstallVSTemplates
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Hi,
I have recently downloaded Visual Studio 2013 Express for Windows (Windows Store App version), with Update 1.
I create a blank app. I right-click on InitializeComponent() in the MainPage.xaml.cs and select Go To Definition. It brings me to the .g.i.cs file where this method resides.
I go into the designer for MainPage.xaml and create a grid of 2 rows and 2 columns (all at 1*). I add one button, doesn't matter where. I double click on that button to add a click method to MainPage.xaml.cs. Without entering anything into the button click
method, I scroll up and InitializeComponent() has an error and tells me there is not definition, even though I was looking at the definition a minute ago. I found I could unload the project and reload it and InitializeComponent() would have the definition
in the .g.i.cs file but as soon as I add another button click or anything else I run into the same error. It seems as if the .g.i.cs file is not automatically regenerating, or it is being deleted all together when the button click method is added to the xaml.cs
file.
Everything I have done up to this point is very vanilla. I installed VS '13 Express for Windows, didn't change any VS setting, created a project and ran into this issue. I installed Update 1 thinking there might be a fix from the update--no luck. The xaml
file Build Action is Page and the Xaml.cs file is Compile.
I have tried deleting the MainPage.xaml file, after the creation of a project, and adding a new MainPage file with the added templates VS wants to include, and I still run into the same issue.
I have searched for answers the past few days but haven't found anything that addresses my issue (most of what I found addresses VS '10 but their InitializeComponent() issues aren't the same as mine). Any help the MSDN community can provide would be
a great help. If worst comes to worst, I will re-install VS and see if that corrects it--this would be a last-ditch effort though.
Thank you for any help you may be able to provideIntellisense has a bug in VS2013 where it doesn't recognize InitializeComponent when you start working on the XAML. My feeling is that if you try to compile this app, it will run fine (as long as there are no actual errors).
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
objects and unknown namespaces. -
Microsoft Visual Studio 2010 Tools for Office Runtime installation Error
Hi Team,
Am facing error while installing Microsoft Visual Studio 2010 Tools for Office Runtime installation. Request you to please check and let me know.
Component Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64) has failed to install with the following error message:
"User cancelled installation. "
The following components failed to install:
- Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)
See the setup log file located at 'C:\Users\ALAKKOJU\AppData\Local\Temp\VSDF353.tmp\install.log' for more information.
The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [InstallMode] = HomeSite {string}
Property: [ProcessorArchitecture] = AMD64 {string}
Property: [VersionNT] = 6.1.1 {version}
Running checks for package 'Windows Installer 3.1', phase BuildList
The following properties have been set for package 'Windows Installer 3.1':
Running checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.1': true
Result of checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
'Windows Installer 3.1' RunCheck result: No Install Needed
Running checks for package 'Microsoft .NET Framework 4 (x86 and x64)', phase BuildList
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full'
Read string value '4.0.30319'
Setting value '4.0.30319 {string}' for property 'DotNet40Full_TargetVersion'
The following properties have been set for package 'Microsoft .NET Framework 4 (x86 and x64)':
Property: [DotNet40Full_TargetVersion] = 4.0.30319 {string}
Running checks for command 'DotNetFX40\dotNetFx40_Full_x86_x64.exe'
Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': true
Result of checks for command 'DotNetFX40\dotNetFx40_Full_x86_x64.exe' is 'Bypass'
Running checks for command 'DotNetFX40\dotNetFx40_Full_setup.exe'
Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'DotNet40Full_TargetVersion' and value '4.0.30129': true
Result of checks for command 'DotNetFX40\dotNetFx40_Full_setup.exe' is 'Bypass'
'Microsoft .NET Framework 4 (x86 and x64)' RunCheck result: No Install Needed
Running checks for package 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)', phase BuildList
Reading value 'Version' of registry key 'HKLM\SOFTWARE\Microsoft\VSTO Runtime Setup\v4R'
Unable to read registry value
Not setting value for property 'VSTORuntimeVersionInstalled'
The following properties have been set for package 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)':
Running checks for command 'VSTOR40\vstor40_x86.exe'
Skipping ByPassIf because Property 'VSTORuntimeVersionInstalled' was not defined
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': true
Result of checks for command 'VSTOR40\vstor40_x86.exe' is 'Bypass'
Running checks for command 'VSTOR40\vstor40_x64.exe'
Skipping ByPassIf because Property 'VSTORuntimeVersionInstalled' was not defined
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'AMD64': false
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of checks for command 'VSTOR40\vstor40_x64.exe' is 'Install'
'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)' RunCheck result: Install Needed
EULA for components 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)' was accepted.
Copying files to temporary directory "C:\Users\ALAKKOJU\AppData\Local\Temp\VSDF353.tmp\"
Downloading files to "C:\Users\ALAKKOJU\AppData\Local\Temp\VSDF353.tmp\"
(1/7/2015 12:47:44 PM) Downloading 'VSTOR40\vstor40_x64.exe' from 'http://go.microsoft.com/fwlink/?LinkId=158918' to 'C:\Users\ALAKKOJU\AppData\Local\Temp\VSDF353.tmp\'
Download completed at 1/7/2015 12:48:26 PM
Verifying file integrity of C:\Users\ALAKKOJU\AppData\Local\Temp\VSDF353.tmp\VSTOR40\vstor40_x64.exe
WinVerifyTrust returned 0
File trusted
Running checks for package 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)', phase BeforePackage
Reading value 'Version' of registry key 'HKLM\SOFTWARE\Microsoft\VSTO Runtime Setup\v4R'
Unable to read registry value
Not setting value for property 'VSTORuntimeVersionInstalled'
The following properties have been set for package 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)':
Running checks for command 'VSTOR40\vstor40_x64.exe'
Skipping ByPassIf because Property 'VSTORuntimeVersionInstalled' was not defined
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'AMD64': false
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of checks for command 'VSTOR40\vstor40_x64.exe' is 'Install'
'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)' RunCheck result: Install Needed
Verifying file integrity of C:\Users\ALAKKOJU\AppData\Local\Temp\VSDF353.tmp\VSTOR40\vstor40_x64.exe
WinVerifyTrust returned 0
File trusted
Installing using command 'C:\Users\ALAKKOJU\AppData\Local\Temp\VSDF353.tmp\VSTOR40\vstor40_x64.exe' and parameters ' /q:a /c:"install /q /l"'
Process exited with code 1602
Status of package 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)' after install is 'InstallFailed'
Thanks,
AnilHi Anil,
According to the error message "User cancelled installation" and the log "Process exited with code 1602", it seems that it is you cancelled the installation that cause the install fail. Is that true? If yes, please reinstall
it without cancelling it. You can take the following steps:
Download "Visual Studio 2010 Tools for Office Runtime" from
http://www.microsoft.com/en-us/download/details.aspx?id=42513 .
Run the downloaded vstor_redist.exe with admin.
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Is there a profiler in Visual Studio Express 2013 for Windows Desktop?
Is there a profiler in Visual Studio Express 2013 for Windows Desktop? I can't seem to find the option anywhere.
Hi gnychis1,
I install it in my Environment, It doesn't have the profiler tool in this express version.
My suggestion is that you could use the VS2013 Community version, it is also free, but it has the profiler tool in this version.
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Can't see table data from Visual Studio Express 2013 for Web
Hello!
I have a problem and I can't see neither the table data nor the table definition for my database inside Visual Studio Express 2013 for Web, Server Explorer. When I right click it just says refresh, copy or properies.
Does anyone know what's wrong?
Thanks a lot!Hi J1m,
According to your description, I make a test on my computer and I am able to reproduce your issue. Firstly, I install the Visual Studio 2013 express for web successfully, create a project and connect to SQL Server database. Then I right click one table,
and I can see all the options including ‘Show Table Data ’, ‘Open Table Definition ’, ‘Copy’, ‘Refresh’, and ‘Properties’. Next, I uninstall the SQL Server data tools, and restart the Visual Studio, right click on table, and only find the three options
‘Copy’, ‘Refresh’, ‘Properties’ as the following screenshot, which is the same scenario with yours.
Based on my test, the issue could be due to the missing or corrupt SQL Server Data Tools. To work around the issue, you should install the latest SQL Server data tools for Visual Studio 2013. You could download the
ISO file for SQL Server data tools and extract the ISO files to your hard drive following the methods in this
article, and install the data tools. Please restart your computer after you complete the installation.
Regards,
Michelle Li -
Displaying a 3DSmax model in Microsoft Visual Studio using Direct X
I was wondering if there is a way I can display a scene that I have created in 3DS max in Visual Studios using Direct X
Many ThanksCan you explain more clearly what you are trying to do? What part of your code have you implemented and what specifically do you need help with?
Are you writing a Direct3D application? If so, are you targeting Windows Store apps or desktop apps?
You cannot directly open a scene in Visual Studio, but you can certainly write an application which can parse and display one. See
Getting Started with Direct3D .
--Rob -
Error of heads when build the .dll by visual studio 2003
I am trying to call the dll function in labVIEW which build by visual studio 2003.
while I compile the basic program in visual studio 2003,the dll will be built successfully,but if I include heads like or in my program, etc.Compiling has the error of ,so the dll can not be built.
I have trued to look for the solution in NI Discussion Forums,but havent seen the related article about the error of including .
If someone can answer this for me,that will be a great help,and I'll be so appreciate if anyone get me out
of the trouble.
SeanI'm a little unclear about your question. What is the exact error that you are receiving and at what point are you receiving it? Is the error occurring when calling the DLL in LabVIEW or is it occurring when building the DLL in Visual Studio? Further clarification about exactly what the problem is and where it is occurring would be a big help!
Regards,
E. Sulzer
Applications Engineer
National Instruments -
How can I create a new entry without using LOV for foreign keys.
Referring to TUHRA sample application based on HR database schema. JDeveloper 10.1.3.0.4
How can I create a new employee without using LOV for the foreign key "job_id".
On the first page I would like to choose the job_title from adf read-only table.
After clicking on the "create new employee button" a creation form appears in which the job_id field is set with previous selection.
Regards M.Winkler
Edited by: user3541283 on 06.10.2008 03:44
Edited by: user3541283 on 06.10.2008 03:50Hi,
usually the foreign key is only set if the VO you select is dependent from a master. If e.g. you have DepartmentsVO1 that has an EmployeeVO3 as its nested VO, then creating a new instance of employees automatically add the foreign key. If you add EmployeesVO1, which is not dependent to DepartmensVO1, then the foreign key is not set. So if this is the case in THURA (keep in mind that this is not an Oracle demo but a sample used in a book about ADF) then all you need is to take the independent VO when building the new employee form.
Frank -
If you install Visual Studio Express 2015 for Windows 10 on a machine with Visual Studio 2015 Community, Professional, or Enterprise, these editions will not work as expected.
To resolve this, uninstall Visual Studio Express 2015 for Windows 10. Then, repair Visual Studio Community, Professional, or Enterprise.
Maybe you are looking for
-
We share a laptop but have separate accounts. Recently we have noticed that our data is crossing; ie. my music on his account, apps, etc. I logged into his account to see what it looks like and it is showing my phone listed under his account (two und
-
Copying and updating Data from a table to new table using Merge command
Hi , Can anyone please tell me how to do this? I have a table : EMP(empno(pk),ename,sal,dept) another table is EMP_CLASS(empno(pk),ename) I want to insert corresponding rows from emp to emp_class table if that row does'nt exist in emp_class otherwise
-
Adobe Premiere Pro CC and Intel Iris Pro Graphics in Macs
Hey everyone, Does anyone know if Premiere Pro CC supports GPU acceleration with Intel Iris Pro Graphics from the new Macbook Pros? This video from Intel clearly shows that it's possible for Windows but what about Macs? http://software.intel.com/en-u
-
Hi, I have to create a Dummy House Bank for France. As bank account number and control key is required field, I tried to put any 11 digit number for Bank Account Number and 2 digit control key arbitrarily. But, I am getting an error message: "Bank co
-
How to access json data posted to a CF webservice
Hi All, I have a ExtJS app that makes a call to a Coldfusion webservice and sends a json object as part of the POST request. In Firebug I can see the json object being posted but I can't seem to access it in Coldfusion. Anyone know how or if this is