Questions tagged [windows]

3

votes
0

answer
44

Views

Wrong file reported as being used

the following problem is beyond my knowledge: On my Windows machine I'm trying to uninstall the application. Uninstaller reported that I need to close TotalCommander before continuing. The application I want to uninstall has nothing to do with TotalCommander. The only thing that connects my applicat...
sarabande
3

votes
0

answer
106

Views

How can a HID device control the description shown for it in Windows Device Manager?

I am writing the firmware for a USB HID device. When it is connected to a Windows PC (running Windows 8.1, if that makes any difference) it gets listed in Device Manager, under 'Human Interface Devices', as 'HID-compliant vendor-defined device'. For obvious reasons it would be preferable for a nicer...
Gareth McCaughan
3

votes
0

answer
39

Views

Java - difference in char something = 0; on Linux and Windows

I've got a problem - this code on Windows returns: UTF-8 >> > Can you help please to find out why? Thank You
kraosos
0

votes
0

answer
12

Views

Startup Registry with Shortcut won't Load

I add a shortcut of my .exe file to the startup registry using this code: RegistryKey rk = Registry.CurrentUser.OpenSubKey ('SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run', true); rk.SetValue('SlashA006', Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + @'\SlashA006\SlashA006 -...
J. Wilk
0

votes
0

answer
751

Views

Tomcat configure SSL error ERR_SSL_VERSION_OR_CIPHER_MISMATCH

I want my app on tomcat to be accessed using https:// url. For that I have followed these steps: Generated keystore: keytool -genkey -alias tomcat -keyalg RSA -keystore amazon.keystore Generated certificate request (csr file) keytool -certreq -keyalg RSA -alias tomcat -file certreq.csr -keystore ama...
Ankit S Parmar
0

votes
0

answer
36

Views

How do I write a Windows batch script to copy the newest version of a file from all sub-directories of a directory?

I need to copy the newest version (modified date) of a specific file from all sub-directories of a directory. I'm using the following but it takes the file from the first sub-directory that is found in alphabetical order. @echo off set source='C:\copytest' set target='C:\26Feb2016' FOR /F 'delims='...
Ronald A
0

votes
0

answer
10

Views

How to create a service on Windows 10?

I use a software that use the database PostgreSQL. The soft execute a service on Windows: 'C:\e-SUS-AB\e-SUS-AB PEC\PostgreSQL\9.3\bin\pg_ctl.exe' runservice -N 'e-SUS-AB-PostgreSQL' -D 'C:/e-SUS-AB/e-SUS-AB PEC/PostgreSQL/9.3/data' -w I need to change the name of the path for backup questions. Of:...
Italo Rodrigo
0

votes
0

answer
1.8k

Views

Unity3D error CS0246: The type or namespace name could not be found (are you missing a using directive or an assembly reference?)

This is the errors when i build my game for Universal Windows 10 (Unity3D) Unity3D error CS0246: The type or namespace name could not be found (are you missing a using directive or an assembly reference My Question is Unique because it has different Compiler Errors.
Ionas Aivatidis
0

votes
0

answer
131

Views

open an application and run a command in that application with a Batch script

Basically I am trying to open an application (mingwenv.cmd) and run a command in it /c/Users/jab/src/veins-4.4/sumo-launchd.py -vv -c /c/Users/jab/src/sumo-0.25.0/bin/sumo-gui.exe via Batch scripting, analogous to opening, say, python.exe in a new command prompt and running python -m pip install x...
Jeremiah Blackburn
0

votes
0

answer
355

Views

Export pfx file with private key to file using capi

Following Exporting PFX file from windows certificates store I am trying to export from windows key store a pfx file which contains both certificate and private key and dump it to PEM format file which shall be read by openssl. The private key was marked as exportable during import the file into WCS...
yes
0

votes
0

answer
1k

Views

Cannot connect to remote debugger

I'm not able to connect to Visual Studio remote debugger on remote machine (in the same network). The MSVSMON is running on the remote machine. When I try to list the process, there is a entry (in the remote machine) in the VS Remote Debugging Monitor saying the 'username' connected. But the on the...
ABC
0

votes
0

answer
89

Views

Cannot create neural network model in Keras (In Windows)

I have installed Keras and using Theano as backend. I am getting this error, when trying to develop simple Neural Network Model; ImportError: ('The following error happened while compiling the node', Elemwise{Composite{EQ(i0, RoundHalfAwayFromZero(i1))}}(dense_3_target, Elemwise{Composite{scalar_s...
Enno Victor
0

votes
0

answer
46

Views

Procedure Entry Point …__cxx1112basic_cstring… could not be located error

I am creating a program for school dealing with polymorphism and inheritance. My code has been compiled with g++ through console and compiles perfectly fine, and the program a.exe is created in the directory as a result. However, upon running the file, I get this full error: the procedure entry poin...
Esthyn
0

votes
0

answer
18

Views

C winsock program crashing whenever I free structure

I know this is kinda lame question, but what am I doing wrong in my code ? Basically, I wanna create communication on local IP using UDP, also send some files etc. The problem is, that when I get to freeing my structures after using them/converting them to/from char* the program just crashes. What i...
Lukas Anda
0

votes
0

answer
36

Views

Python subprocess on Windows: stderr output in stdout (but not if I run the command in cmd.exe)

I want my python script to process the result of the sigcheck.exe tool. The following command, when run in cmd.exe prints out a banner (this seems to be the stderr output) and writes the stdout output to a csv file: sigcheck64 -c c:\tmp\unsigned.exe > csv_output.csv This displays the stdout output a...
1

votes
0

answer
491

Views

java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

I have added the certificate in Keystore, and I am trying to connect to the email exchange server using Java code. when I connect it throws a exception. The same thing works fine when I execute the same Java code in eclipse but fails when i execute the same with the service it fails. Here is my code...
Satish
1

votes
0

answer
118

Views

service to service communication i.e. IIS wcf service and wcf hosted in Windows service

I am Implementing the service to service communication i.e. IIS wcf service and wcf hosted in Windows service one WCF service hosted in Windows service consume above service in windows application i.e. Exe which will have one access db behind it e.g. AccessDB1 then one wcf service hosted in IIS wh...
Anand
1

votes
0

answer
98

Views

How can I make the Openshift “Ruby on Rails 4” “instant app” work on Windows?

When I create the app using Openshift and then clone the repository to Windows and try to run it locally using 'rails server' it fails because the repository includes Linux symlink files: lib/openshift_secret_generator.rb -> .openshift/lib/openshift_secret_generator.rb config/initializers/secret_tok...
RobM
3

votes
0

answer
65

Views

“Shared” linkage works on Linux, not on Windows

Given a big project, which generates an executable on both Linux and Windows architectures, I would like to take some classes (name it BigProjectClassA, BigProjectClassB and BigProjectClassC) to make a kind of plugin and modify the state of objects created from these three classes. Hence, my tiny ow...
pacorrop
3

votes
0

answer
137

Views

How can I detect screenshots?

I was wondering if a program can check if another (unknown) process is taking screenshots regularly? System: windows 7 environment. My program is a java program that takes screenshots ( say 100 per hour) . Another process might be trying to detect this. I was wondering if this is possible
user1751017
1

votes
0

answer
127

Views

Tests are passing in jenkins command prompt and failing in jenkins windows service

Can someone please help regarding the following : Jenkins--Command Prompt: Start Jenkins in cmd prompt Run the selenium framework Chrome opens in full screen and test cases are passed Jenkins- Windows Services: Start Jenkins as windows services Run the selenium framework Chrome not opening in fu...
user8308856
2

votes
0

answer
21

Views

Windows touch screen support. Do I need to add “EnablePointerSupport=true” to app.config or will *.exe.config suffice

A recent article: https://blogs.msdn.microsoft.com/dotnet/2017/04/05/announcing-the-net-framework-4-7/ announces a possible fix for intermittent problems with touch screen support. As I read the document, one only needs to change the app.config file. See the line: 'You can opt-into the new touch...
Dave
0

votes
0

answer
149

Views

trying to install Sass on windows using ruby : gem install sass

I have installed rubyinstaller-2.4.3-1-x64 for my windows 7 machine.(not the latest 2.5 cause i feared some gems might not align) then i opened CMD and executed gem install sass I got this error C:\Users\user>gem install sass Temporarily enhancing PATH for MSYS/MINGW... Building native extensions....
user3093444
0

votes
0

answer
29

Views

Wait for process to finish, then move to the next command (Arduino/Digispark)

I've written a simple piece of code for my Digispark that changes the background of a Windows 10 PC. I just need to download an image and set it as the new background. The problem is that I have to wait until the download finishes and then run the other commands. How can I achieve this? This is my c...
sgrontflix
1

votes
0

answer
511

Views

CMD command not running in batch file

I am trying to create a batch file that runs a command. The first part of the command checks to see if a particularly named window is open on my desktop. If it is it then closes that window (by sending a command to the program with the window open - Virtual Audio Cable). @For /f 'Delims=:' %A in ('t...
Artoo
1

votes
0

answer
239

Views

Registry redirection on 64 bit

I'm running 64 bit version of Windows 8.1 Times ago I developed a win32 application that creates and access some keys in the windows registry, in a path like: HKEY_LOCAL_MACHINE\SOFTWARE\MY_SOFTWARE Today, in the 64 bit world, I've seen that without doing any changes in the source code, my old 32 bi...
ABCplus
0

votes
0

answer
464

Views

Building default wxWidgets project in Code::Blocks gives fatal error: iosfwd: No such file or directory message

BASIC INFO: OS = Windows 7 - 64 bit. Code::Blocks installed using codeblocks-13.12mingw-setup.exe wxWidgets installed using wxMSW-3.0.2-Setup.exe New project created using the following options: wxWidgets project wxWidgets 3.0.x Name: wxHelloWorld Preferred GUI builder: wxSmith Application type: Fra...
John_F
0

votes
0

answer
1.1k

Views

mingw update compile with -std=c++11

I've noticed that with a new mingw version, I can't compile anymore with -std=c++11. It will outputs a bunch of errors, which can be 'fixed' by using -std=gnu++11 ( MinGW / CxxTest bizarre errors ). This quick hack works, but it doesn't fix the actual problem. How do I compile with c++11 flag? A lot...
Aulaulz
0

votes
0

answer
151

Views

Windows Apache2.4 trying to enable mod_rewrite, but after restart unable to connect - no errors in error log

On Windows 7, I'm trying to enable mod_rewrite on Apache2.4. In conf/httpd.conf: I uncomment #LoadModule rewrite_module modules/mod_rewrite.so I find DocumentRoot directory and change AllowOverride None to AllowOverride All (although a comment below the question here How to enable mod_rewrite for Ap...
CodeVirtuoso
1

votes
0

answer
261

Views

How to use the latest version of WebKit when making a browser in Eclipse on Windows? And is it possible to by-pass the Safari requirement?

I made a browser before in Visual Studio. But events occurred and Visual Studio 2010 dosen't work the same with Win8. So I'm trying to make a browser now for the next version based on Webkit, and I'm wondering, if I follow the instructions here (http://www.eclipse.org/swt/faq.php#howusewebkit) would...
davidbuddy9
0

votes
0

answer
45

Views

Ruby tries to download from https://api.rubygems.org even with source key

I downloaded Ruby installer for Windows, Installed Ruby, then tried gem update --system ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://api.rubygems.org/specs.4.8.gz) gem update...
Paul
0

votes
0

answer
44

Views

E NETWORK [thread1] listen(): listen() failed An attempt was made to access a socket in a way forbidden by its access permissions

I am new to MongoDB. However, after installing it, in my command prompt, I typed md \data\db where it created a folder as said in my C drive. Now after it, I typed 'mongod' to start the mongodb server first. It showed the following in cmd. 2017-10-24T23:08:28.525+0530 I CONTROL [initandlisten] Mo...
Divya
1

votes
0

answer
93

Views

Rails cannot generate (Windows)

I keep encountering a bug when I execute 'rails generate'. Below is the error message I receive. I am using Rails 4.0.4 and ruby 2.0.0p451 (2014-02-24) [x64-mingw32] C:\Users\Phil\Sites\simple_cms>rails generate C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/mysql2-0.3.15/lib/mysql2.rb:8:in requir e': 126:...
user3419554
0

votes
0

answer
284

Views

QMainWindow fullscreen issue due to taskbar on windows

I am trying to make a fullscreen window (not just maximized one). QMainWindow *mainWindow; mainWindow->showFullScreen(); This works fine on Linux (tested on Ubuntu 16) and on windows(working on Windows 10) if taskbar is set to auto hide. If taskbar is not set to auto hide a white rectangular strip a...
wazza
0

votes
0

answer
120

Views

QApplication::aboutToQuit() not emitted when no windows is visible

I have a small Windows 7 application with a system tray icon (QSystemTrayIcon). Upon minimizing the window is hidden with hide() so that it is visible in the tray only, not in the task bar. The application needs to perform some cleanup when quitting. This is managed by a AppMgr QObject which does th...
galinette
0

votes
0

answer
183

Views

gcc libssh linking issue on windows

I am running into an issue where I am not able to compile an ssh client which is using libssh. This is taken from Wil Allsopp book. #include #include #include #include int main() { ssh_session my_ssh_session; int rc; char *password; my_ssh_session = ssh_new(); if (my_ssh_session == NULL) exit(...
avanzo
0

votes
0

answer
181

Views

ROracle install

I am having trouble getting the ROracle package to run on my computer. I have windows 10 and R 3.5.1 (it worked on windows 7). First Attempt: install.packages('ROracle') Installing package into ‘C:/Users/Documents/R/win-library/3.5’ (as ‘lib’ is unspecified) Package which is only available...
KatieM
3

votes
0

answer
187

Views

Who is owner of GWLP_USERDATA cell?

good known that GWLP_USERDATA can be used to associate some pointer size data with the specified window. but who has the right do it ? obviously if two piece of code independently do this - one piece is overwrite data of another - so there must only be one owner. but it must be clear determined a ge...
RbMm
1

votes
0

answer
911

Views

WinSock2 IPC Example

My task is to accept a tcp socket connection from one process and send it to another process using socket IPC mechanism of windows(according to msdn, socket, WinSock 2 to be specific, is one way to do inter-process communication on windows, maybe something like unix-domain socket, but it did not sta...
user2533131
0

votes
0

answer
4

Views

Robocopy backup- / restartmodus (/Z) doesn't work

I have problems with the restart-modus /resume of Robocopy. I use it with the '/Z' or '/ZB' switches and if my drive gets disconnected or I stop Robocopy with STRG+C the file(s) will not be resumed and the transfer starts at 0% next time. I could reproduce it very clearly, because : I copied a video...
98percentmonkey