Sponsored Content
Top Forums Programming The application was unable to start correctly(0xc0150002). Post 302992087 by jim mcnamara on Tuesday 21st of February 2017 11:39:41 AM
Old 02-21-2017
Hmm. I do not have a great answer. This Visual code grepper:
CERN Computer Security Information

found some problems for me. It might help. But I think your linking is at fault.

Assuming your Windows is correctly patched and updated:
Your question is devoid of specifics.
Did you try Dependency Walker?
Did you verify the PGP (or other digital) signatures on ALL of your 3rd party libraries? If none are available you could be in for real trouble long term.
Did you check thoroughly for malware?
Did you run this from MS?:
Microsoft Safety Scanner - Free Virus Scan with the Microsoft Safety Scanner

Did you try a static link, which forces the linker to place dll's in the code?
Walkthrough: Creating and Using a Static Library (C++)

If you have a linux box, install wine on it. Winedebug allows you to look in detail at a lot things in an .exe file, including dependencies and versions.

AFAIK: There is no ldd-like command line tool in windows. If someone knows differently please respond.

Edit: as close as I can get:
install cygwin - unix like windows environment
Code:
objdump.exe -p myfile.exe

ldd myfile.exe

objdump will show ??? for libraries it cannot load correctly.
See
Code:
objdump --help


Last edited by jim mcnamara; 02-21-2017 at 01:18 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Start application after Oracle has started

Who can tell me how I can see to it that a application doesn't try to start it's processes untill Oracle has completely started. Thanx. (3 Replies)
Discussion started by: Piet
3 Replies

2. UNIX for Dummies Questions & Answers

how do i auto start application upon startup?

sorry, i'm a newbie to unix... but how do i or rather where do i write scripts that auto start my application e.g. Informix? in Windows it would be services but in UNIX where can i auto start my informix program? To run informix i just type "oninit". And do i have to login to any user before... (2 Replies)
Discussion started by: doofie
2 Replies

3. Linux

where to put an application if i want to start it on start up

hi i want to know the way by which i put any file somewhere and it get s started when the system restarts or bots i mean whenever my system starts that application must also start thanks (3 Replies)
Discussion started by: shukla_chanchal
3 Replies

4. Shell Programming and Scripting

Start and stop of an application thru shell scripts.

Hi, I just learnt the shell scripting and got working on that right now. I have one problem. Here i am having a java application that needs to be start and stop using two shell scripts, i.e., starting the java application using one shell script and stopping the application using another... (1 Reply)
Discussion started by: sadha
1 Replies

5. Shell Programming and Scripting

Unable to display correctly the contents of a file without a line feed

I am using AIX and ksh. I need to display the contents of a file that has a pid (process id). Because the file is open, it doesn't have the line feed or new line, so for some reason if I do this: `cat $pid` , where $pid is the name of the fully qualified file, it displays test3.sh: 426110:... (1 Reply)
Discussion started by: Gato
1 Replies

6. Shell Programming and Scripting

How can I start a SH application when someone makes a ssh connection?

Hello everyone, I'm trying to control the access in my server. I did an application that can read audit logs and sys logs with the purpose to send me a report by email with important information about the user. It's a SH file. My problem is start the program when someone makes a ssh connection.... (4 Replies)
Discussion started by: journey
4 Replies

7. UNIX for Dummies Questions & Answers

How to start application and keep script running

What I'm looking for is best explained with a little example. #!/bin/bash gedit echo "I need this message to appear while gedit is still running, but it appears only then when I close gedit." Of course most of the times you want the script to wait, but in this case I want to start a new... (5 Replies)
Discussion started by: MrZehl
5 Replies

8. UNIX for Advanced & Expert Users

script to remotely start an application instance

just wanted to ask if anybody have script template for the subject above so I can make ti as my guide? example a. server 1.1.1.1: restart script located at /etc/init.d/glassfish.sh b. server 2.2.2.2: central script that support admin will use to execute to restart the /etc/init.d/glassfish.sh... (0 Replies)
Discussion started by: lhareigh890
0 Replies

9. UNIX for Dummies Questions & Answers

Shell Scripting Stop/Start Application

I did a search of these forums but couldnt find a suitable resolution. I am attempting to script a stop and start of an application on AIX. Such as: However it has authentication where username and password prompts will appear after running the above command requiring input from a... (2 Replies)
Discussion started by: Soupy
2 Replies

10. Shell Programming and Scripting

Want to backup dirs on application start and close.

Hi I want to write a script that will back up one directory if a certain application launches and then backs up another directory if that same application is closed down. NFI where to start. It seems like cron isn't the tool for this because that is time based. I'm thinking I need... (6 Replies)
Discussion started by: zorrokan
6 Replies
scdsconfig(1HA) 					       Sun Cluster Commands						   scdsconfig(1HA)

NAME
scdsconfig - configure resource type template SYNOPSIS
scdsconfig -s start_command [-u start_method_timeout] [-e validate_command] [-y validate_method_timeout] [-t stop_command] [-v stop_method_timeout] [-m probe_command] [-n probe_timeout] [-d working_directory] DESCRIPTION
The scdsconfig command configures the resource type template that you created with the scdscreate(1HA) command. The scdsconfig command enables you to configure C, Generic Data Service (GDS), or Korn shell-based templates for both network aware (client-server model) and non- network aware (clientless) applications. The scdsconfig command configures application-specific commands to start, stop, validate, and probe the application. You can also use the scdsconfig command to set timeout values for the start, stop, validate, and probe commands. The scdsconfig command supports both network aware (client-server model) and non-network aware (clientless) applications. You can run the scdsconfig command from the same directory where the scdscreate command was run. You can also specify that same directory by using the -d option. The scdsconfig command configures the resource type template by placing the user-specified parameters at correct locations in the generated code. If C was the type of gener- ated source code, this command also compiles the code. The scdsconfig command puts the output into a Solaris package that you can then install. This command creates the package in the pkg subdirectory under the $vendor_id$resource_type_name directory created by the scdscre- ate command. OPTIONS
The following options are supported: -d working_directory Specifies the directory where the scdscreate command was run. You must specify this option if you run the scdsconfig command from a directory other than the directory where the scdscreate command was run. -e validate_command Specifies the absolute path to a command to invoke to validate the application. If you do not specify an abso- lute path, the application is not validated. The validate_command returns with an exit status of 0 if the application is running successfully. An exit status other than 0 indicates that the application is failing to perform correctly. In this case, one of two results occur, depending on the failure history of the application in the past: o The resources of this resource type are either restarted on the same node or zone. o The resource group that contains the resource has failed over to another healthy node or zone. -m probe_command Specifies a command to periodically check the health of the network aware or non-network aware application. It must be a complete command line that can be passed directly to a shell to probe the application. The probe_com- mand returns with an exit status of 0 if the application is running successfully. An exit status other than 0 indicates that the application is failing to perform correctly. In this case, one of two results occur, depending on the failure history of the application in the past: o The resources of this resource type are either restarted on the same node or zone. o The resource group that contains the resource is failed over to another healthy node or zone. -n probe_timeout Specifies the timeout, in seconds, for the probe command. The timeout must take into account system overloads to prevent false failures. The default value is 30 seconds. -s start_command Specifies the command that starts the application. The start command must be a complete command line that can be passed directly to a shell to start the application. You can include command-line arguments to specify host names, port numbers, or other configuration data that is necessary to start the application. To create a resource type with multiple independent process trees, you specify a text file that contains the list of com- mands, one per line, to start the different process trees. -t stop_command Specifies the stop command for the application. The stop command must be a complete command line that can be passed directly to a shell to stop the application. If you omit this option, the generated code stops the application by issuing signals. The stop command is allotted 80 percent of the timeout value to stop the appli- cation. If the stop command fails to stop the application within this period, a SIGKILL is allotted 15 percent of the timeout value to stop the application. If SIGKILL also fails to stop the application, the stop method returns with an error. -u start_method_timeout Specifies the timeout, in seconds, for the start command. The timeout must take into account system overloads to prevent false failures. The default value is 300 seconds. -v stop_method_timeout Specifies the timeout, in seconds, for the stop command. The timeout must take into account system overloads to prevent false failures. The default value is 300 seconds. -y validate_method_timeout Specifies the timeout, in seconds, for the validate command. The timeout must take into account system over- loads to prevent false failures. The default value is 300 seconds. EXIT STATUS
The following exit status codes are returned: 0 The command completed successfully. nonzero An error occurred. FILES
working_directory/rtconfig Contains information from the previous session. Facilitates the tool's quit and restart feature. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscdev | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
ksh(1), scdsbuilder(1HA), scdscreate(1HA), attributes(5) Sun Cluster 3.2 27 Mar 2006 scdsconfig(1HA)
All times are GMT -4. The time now is 03:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy