Visual C++ :: Application Won't Start Once Installed On Other Computers

Sep 13, 2012

I use standard libraries and INNO Setup, wich is a free setup file creator.

I succeeded in adding NetFrameWork 4.5 installer into the setup (it runs it after installation, and before running my software (named GOFINDER).

Now, i remember that this happened to me, but after three months of programming, mine used to start and still does. But I know it sometimes doesn't start, and I don't know why exactly.

I checked to make sure that I needed only FrameWork 4.5.

But maybe it is because of Visual C++ Runtime wich is not added upon setup.

I will try to check this after posting cause this has just popped up in my mind.

I'm asking you how can I Make sure, that distributing my software won't do that anymore.

Is it because my application file is not set on Run as Administrator?

Cause normally, it opens without this necesity, except as a Shell (well I have to check back but I think it does if I check on the run as administrator checkbox.

The problem is not really with InnoSetup, but I also would like to know how I can check that box automatically upon setup.

they say they have a documentation but I don't find it on my computer.

And... why would it start on my computer, and not on my beta-testers's one?

View 3 Replies


ADVERTISEMENT

C# :: How To Start Application And Automatically Pass Input To That Application

May 9, 2012

I want to create an application that starts an application and passes input to that application. I know how to start a process using the classes in System.Diagnostics, but I don't know how to pass data to the process.

For example, and this is just an example, I would like to be able to automatically start an application that requires a username and password and automatically enter the username and password. Of course, that might open the door to security vulnerabilities, but that's not the point of the exercise.

How to implement the functionality I described? Is there a general way to go about doing this or does it depend entirely on the idiosyncrasies of the application in question?

View 2 Replies View Related

C++ :: Builder Application Start With Administrator Rights?

Jun 5, 2013

I would need to know how to make the c++ builder application to be started with administrator rights (it's common behaviour for installers - when it is started, it asks for administrator rights).

View 4 Replies View Related

C++ :: Application Will Not Start After Adding Extra Object File To Project

Aug 18, 2013

I'm working on a cross-platform threading project, the aim is to start 1 worker-thread that has a queue of worker-items which are serviced by the thread.

The threading framework works fine, both under Windows and LINUX, albeit as designed under Windows, and in a modified form under LINUX.

I have this CSnmpTrapd class which is designed as a worker-item for the worker-thread, it listens for incoming SNMP traps and decodes the packets, this is implemented in csnmptrapd.cpp and csnmptrapd.hpp.

1) When I add this piece of code to my makefile and re-compile the app successful... the app will start (or not?) but generates no console or file logging as is expected, it will not even show printf() output which was added as first statement in main(). My app handles CTRL-C to terminate and this works !?!? But I'm actually not sure my app works at that point.

2) When I compile the app without csnmptrapd.cpp and start it, it will generate console and logging output and behave as expected.

3) When I add the CSnmpTrapd class implementation to an existing cpp file in the project, it will compile and run as expected... the worker-thread handles the CSnmpTrapd worker-item as it should, incoming SNMP traps are captured and decoded, logging generated

View 6 Replies View Related

Visual C++ :: How To Start Process Without Loading Global Hook

Apr 21, 2014

I had created a global hook by SetWindowsHookEx with WH_CALLWNDPROC. It is used to create a new toolbar button in specific window in the specific (3rd party) program (named HOOKEE.exe for example), and it works perfectly fine most of the time. Normally HOOKEE.exe is launched by double clicking the shortcut icon on desktop. But this program could be also launched in another way (provided by the provider of HOOKEE.exe), with this new way, HOOKEE.exe is by conhost.exe (on Windows 7), and then I could see (via ProcessMonitor) my hook is loaded by conhost.exe, but not the process HOOKEE.exe. In my understanding global hook would be loaded by whatever process, I have no idea on the exception, and what conhost.exe does to the HOOKEE.exe.

View 13 Replies View Related

Visual C++ :: Auto Start Function After Cdialog Was Shown?

Nov 19, 2013

I want to start a time intensive function after showing a modal cdialog. How can I do this?

Starting the function in OnInitDialog do not work because the dialog is not shown, then.

View 10 Replies View Related

C++ :: Number Of Compilers Installed

Dec 23, 2013

I get the feel to install and try different types of C++ Compilers. Currently I have installed:

Visual C++ 2010 (Express)
Visual C++ 2013 (Express)
MinGW-GCC
Borland C++ 5.5

So is it just me or do you too have a bunch of compilers installed?

View 6 Replies View Related

C++ :: Where Is DirectX SDK Installed By Default

Feb 13, 2013

So a long time ago I messed around with DirectX but I don't remember where it gets placed by default. I want to just get rid of the SDK and get the up to date version of it.

View 4 Replies View Related

C/C++ :: SDL App Not Working On Other Computers

Jun 2, 2013

My SDL app which i made in visual c++ works properly on my pc, but it does not even starts on other computers. I have pasted all the required .dll files in my debug folder along with the pictures and sounds.

View 4 Replies View Related

C++ :: Turbo Code To Print String Through Installed Printer

Nov 10, 2013

C++ Code To Print String through Installed Printer. How to user Printer File Name?

View 9 Replies View Related

C++ :: Connecting 2 Computers Over Internet

Oct 19, 2014

I'm trying to make my 1v1 game playable online and I would like to have the 2 players connected directly rather than trough a server.

The problem I'm having is that I don't have any experience with server client communication or internet libraries in c++

View 4 Replies View Related

C++ :: Installed Cygwin - Mingw Install Required In Order To Use DirectX?

Jan 20, 2014

Goal: I want to use cygwin g++ to write DirectX applications.

I know that one of the mingw packages contain directx libraries.

Now that I have installed cygwin, can I use directx also?

BTW, does netbeans open a mingw project using cygwin tool chain?

View 5 Replies View Related

C :: Program Produces Different Results On Different Computers

Feb 13, 2013

I was doing problem 10 on project euler Project Euler. The following code produces two different answers on different systems:

Code:
#define INPUT 2000000
Bool isPrime(const int number) {
int i, sqr = sqrt(n);
if(n%2==0) return 0;
for(i=3;i<=sqr; i+=2)

[Code] .....

Computer A:
Linux 3.0.0-30-generic #47-Ubuntu SMP Wed Jan 2 22:39:01 UTC 2013 i686 i686 i386 GNU/Linux
gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
Ubuntu 11.10

Computer B:
Linux 3.2.0-31-virtual #50-Ubuntu SMP Fri Sep 7 16:36:36 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Ubuntu 12.04

Compiled by: gcc program.c -o run -lm

Computer A generates this answer: 1179908154 (wrong)
Computer B generates this answer: 142913828922 (right)

My guess might be because they are running on different architectures. But I really don't know.

View 3 Replies View Related

C++ :: Connect Computers To Play Game?

Nov 16, 2014

I have a Blackjack game that allows users to create a login account and it keeps track of their bet amount, and total bank,etc. How can I connect the program on 2 or more computers so that people can play together?

(A) How would I code it? (B) Can I just connect a USB or HDMI and use the appropriate code? (C) Do they need to be executables instead of just running out of Visual Studio? (D) Can this maybe done over Wi-fi? (E) Or is this something more complicated like over a VPN?

View 2 Replies View Related

C++ :: Program That Executes A Command Between Computers

Jul 28, 2014

I'm currently making something with C++ for a computer at my house. I have a program in which I let run minimized and hidden on my home computer which will save any application that is opened. It will log it so I know if my kids are on my office computer (they shouldn't be.).

I'm curious as to if I can make the program linked to a program I make on my work computer (at my workplace) and execute a command. I'm interested in making it so I can always be connected from the Workplace app to the Home Office App.

My idea for the program is to have a sort of administrative way of shutting the computer down or locking it remotely. If I see they are using the PC in my office, I want to be able to simply type a phrase and shut the computer off or lock them out.

View 1 Replies View Related

C++ :: Transfer Files (mainly Images) Between 2 Computers?

Oct 1, 2014

I need to transfer files(mainly images) between 2 computers using their RAM with some kind of FTP. I'm using C++. I guess it's pretty a lot to explain so if you have a clear and detailed articles/videos

View 8 Replies View Related

Visual C++ :: Run MFC Application From Console?

Feb 7, 2013

I have a question about to run an MFC dialog based C++ application from console: if I run my application from console, I see the application start and the console immediately back to prompt. I need that console wait the application exit before show me the prompt again. I tried on Visual Studio 6, 2005 and 2010 but the behavior is the same.

View 3 Replies View Related

Visual C++ :: Two ChlidFrames In One MDI Application?

Jun 23, 2014

I want to achieve such an efect like - one view which takes all MDI area and some views which arelike non modal dialogs

Two Child frames will be correct? one for "big" view which will be always visible and second for a "smal" views

View 2 Replies View Related

Visual C++ :: How To Fit MDI Application On Smaller Laptop

Mar 23, 2013

We have developed MDI application on 17 inch monitor in VC++ 2010 MFC. But now management wants application to run on 10 inch laptop.

Application does not fit,it goes out of screen. How to fit application on smaller screen

View 1 Replies View Related

Visual C++ :: How To Pass CStringArray From Application To DLL

Feb 11, 2013

I passed the CStringArray to dll & wrote the String in a file.

The error File: array_s.cpp, Line No: 420 was occured when i close the .exe file.

For your reference:

Code:
Function Declaration in DLL :
DECLDIR void SetParName(CStringArray& ParName);
Function Definition in DLL :
DECLDIR void SetParName(CStringArray& ParName){

ParName.Add("X1");
ParName.Add("X2");

[Vode] .....

My doubt is, CStringArray items are allocated in the DLL. So, when i release the CStringArray object in the application. Is it can release memory that are allocated in the DLL ?

View 1 Replies View Related

Visual C++ :: Developing A Form Application?

Jan 15, 2014

I have a HTML code and i need to developing a form application.

issue: i have a html code and a database table , how to put this together with code and link them and peu them on server ...

View 3 Replies View Related

Visual C++ :: Exit Application Using Thread In MFC SDI

Feb 4, 2014

I have a SDI application. I created a method OnClose to handle ON_WM_CLOSE of CMainFrm. This onclose() function calls a method in cmyview.cpp. Here, I created a thread that calls global function and from this function it calls another function in cmyview.cpp. At certain condition my application should close at here, I used postmessgae(WM_CLOSE (or) WM_DESTROY). I am having an error as object reference not set on postmessage(WM_CLOSE) it is going to afxwin2.inl page where exception occurs.

Below is code snippetHere, either j or k will only be true depneds on user input)

MainFrm.cpp:
void CMainFrame::OnClose()
{
CMyView* pview = (CMyView*)((CFrameWnd*)AfxGetMainWnd())->GetActiveView();
pview->method1();
}

[Code]...

View 3 Replies View Related

Visual C++ :: Replacing GUI In Win32 Application?

May 15, 2014

I have a Win32 C++ application which works pretty well, but I don't like the GUI and I want to replace it with one designed graphically, a la Windows Forms. What is the best strategy to port my code? I tried creating a new Windows Forms C++ application and got pretty far with it, but was stymied when trying to call my unmanaged functions on a button press. If I can't use Forms to add a GUI without completely rewriting the program, what's my best bet?

View 14 Replies View Related

Visual C++ :: How To Remove Application Name From Registry

Jan 16, 2013

In a typical MFC application I use SetRegistryKey(_T("My_Company")); to set the root registry entry for my application. The MFC application however creates an entry by the name of executable where it stores all the settings of that application. I don't want that because we often change the name of executable and I want it read registry from the same set location. As example if my application name is Calculator.exe and Calculator_debug.exe it creates two different registry settings.

My_CompanyCalculatorsettings
My_CompanyCalculator_debugsettings.

How can I stop that?

View 1 Replies View Related

Visual C++ :: MDI Application Client Window

Apr 17, 2015

I am developing a MDI application that will contain a RibbonBar and a Properties Pane window. The MDI documents are not tabbed. I am finding that when I try to move the client window around, it gets clipped by the RibbonBar and the Properties Pane window (shown in image). I know the client window cannot go outside the client area, but can the client window be on top of the ribbon bar and the properties pane window?

I am using VStudio 2008.

View 7 Replies View Related

Visual C++ :: MFC Child Windows Application

Nov 9, 2013

I am new in Visual C++ and I have to make an MFC application with "child" windows. Here is what i need to achieve - [URL] ..... As you can observe when you click on the cross of popup window or child window 2 both are closing.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved