exe

Windows defender alert users from my pyinstaller exe [duplicate]

浪子不回头ぞ 提交于 2019-12-11 17:52:53
问题 This question already has an answer here : Pyinstaller .exe throws Windows Defender [no publisher] (1 answer) Closed 10 months ago . I used pyinstaller to create exe file and sent it to some friends. it is harmless, but because it's --onefile the windows defender alert about it. the user need to allow permission to activate it, and it works. but with inconvenience. Any solution how to make sure windows defender won't alert about it from the start? 回答1: It is necessary to exclude from check

How to Automatically start Application

微笑、不失礼 提交于 2019-12-11 17:38:22
问题 I work on C#.recently i work on Tcp server-client .I write a client application .want it's start automatically when client start os .Actually i have an exe,want it active when user start his computer.What i need to do?Thanks.if have any query plz ask. 回答1: There are many ways that you can make an application start at run time. For a list of locations. Check this article To summarize they are Start->Programs->StartUp folder HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run HKEY

How to get installed software details from windows registry?

本小妞迷上赌 提交于 2019-12-11 17:18:29
问题 I am developing an application for installing software from exe or msi file. After Installation I want installed software details from registry in C#, so that I can use that details for uninstallation of the software. 回答1: Answer to similar question You should look at uninstal registry entries: "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" "SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall" in current user and local machine 来源: https://stackoverflow.com/questions

Heap allocation failing in user DLL/EXE

孤人 提交于 2019-12-11 15:07:55
问题 Properly linked DLLs and EXEs are supposed to have one freestore from which they all can allocate heap-based objects. Here is Chis Becke’s Answer in Who allocates heap to a DLL?: … it is the C++ runtime that is responsible for creating its freestore and deciding how to allocate it. Specifically, if you use the Dll runtime option, then a single dll - msvcrtxx.dll - manages a single freestore that is shared between all dll's, and the exe, that are linked against that dll Since this is true,

How to send multiple parameters to exe from c# code

Deadly 提交于 2019-12-11 14:37:50
问题 I am trying to invoke exe from C# code . If I run the exe from command prompt like below , it works fine C:\abc\abc.exe -e dev -l line1 -q 1 I am trying to invoke the same exe by passing all three parameters but none of the parameter get pass to exe if I see it in Trace. Can someone tell me how to pass it . Here is the code string[] cParams = new string[] { "dev", "Line1", "1" }; ProcessStartInfo startInfo = new ProcessStartInfo(string.Concat(exePath, "abc.exe")); startInfo.Arguments = "\"" +

Vuforia augment reality windows

北战南征 提交于 2019-12-11 12:33:32
问题 Can you please tell me, if vuforia can run on a PC? I have tried to make an .EXE file, but it does not work. Please tell me how can I run vuforia apps on my PC? Should I build it for Windows store using Unity and then run it on Windows 8? 回答1: Can you please tell me vuforia can run on pc Answer is No . You cannot build windows or mac app with Vuforia. Vuforia is only supported on Mobile Platforms (iOS, Android). But you want to test on Windows, you can run your app and test in unity Editor

How to configure Inno Setup to check for Visual C++ Redistributable Packages

大城市里の小女人 提交于 2019-12-11 12:22:54
问题 I've created a Javafx 2 application, of relatively compact size, which is a lending library with database for free use in public primary schools. I have installed the Inno Setup and WiX and my application works well. I package my application (using presets) with an exe installer (inno setup). However, when I try to install my application on different Windows computers, I noticed that it was running well only in those computers that had fully updated their Windows version. On computers where

Executable that runs a .sql file to prompt for a username to unlock in a oracle database. Needs to close at the end

自古美人都是妖i 提交于 2019-12-11 12:07:54
问题 I have an executable that connects to an Oracle database and runs a SQL script, stored in a ".sql" file. When the script runs, it prompts for a username input, and then unlocks it. After it completes the unlock and it pops up: User Altered with no errors And it goes back to the sqlplus arrow. I would want the window to close after the script has run. It works perfectly on the remote server, without the connection details in the exe file. For some reason when I add the connection details in my

Invoke-Expression -Command Not Finding File Even Though It Exists

邮差的信 提交于 2019-12-11 10:43:34
问题 all, I am trying to run a command in Power Shell and I am told the file does not exist as it stands right now for the Power Shell code. If I do the same in DOS, it finds the file and executes correctly. The only difference is that there is an additional open and closed double quote around the file name. Can this be done in Power Shell the same way? If so, how can this be done as I am not familiar with Power Shell. DOS: IF EXISTS F:\lvcecstos.CSV F:\LaserVault\ContentExpress\ContentExpress.exe

how to create project for native c++ executable in visual studio 2012

安稳与你 提交于 2019-12-11 10:08:46
问题 how to create project for native c++ executable in visual studio 2012. In previous version New Project -> Visual C++ -> Win32 Project. I installed msvc 2012 RC and can't find anything like that. 回答1: What you see when you open the new project dialog depends on what setting you chose when you loaded VS for the first time. If you chose something other than C++ or General Development settings, C++ will be hidden by default. Then you may have to expand "Other Languages" to see it. If you chose C+