Questions tagged as 'windows'

1
answer

Install Laravel Site on Windows Server

I've never had this experience of putting a website on the air using Windows Server 2012 on Locaweb. I placed the site in a folder called 'sitenovo'. And when I run the site, it does this:    HTTP Error 500.0 - Internal Server Error   C: \...
asked by 02.07.2016 / 16:50
1
answer

Why is it possible to open serial ports (COM) on windows using file functions?

How does this happen? There are other ways to open or just say this, in languages like C, PHP, Python, etc.     
asked by 19.10.2015 / 07:18
1
answer

Close console window in C

I need to create the old woman's game. I want to know how to close the black little window that appears without needing to click any key, for example: When you run the program it appears:    1 to play       0 to exit If the user types 0,...
asked by 15.06.2016 / 23:36
2
answers

Windows Ping should return only the response values

I am making a script and need Ping or Fping in windows to return only the time values, without ms , type: ping 8.8.8.8 Disparando 8.8.8.8 com 32 bytes de dados: Resposta de 8.8.8.8: bytes=32 tempo=29ms TTL=58 Resposta de 8.8.8.8: bytes=32...
asked by 04.05.2014 / 22:09
2
answers

How to run a code without open page in PHP [duplicate]

I have PHP code that uses FSOCKOPEN to check the port of a server, and depending on the response it logs ... But for that the page has to always remain open, I would like to know if it exists some way I'd leave this running automaticall...
asked by 12.09.2016 / 22:31
1
answer

How to get data processing and memory of Windows system in Java?

How do I in Java code show use of Windows memory and processing?     
asked by 24.11.2015 / 00:05
3
answers

Time measurement in Windows

I would like to know how to best measure the execution time of a C ++ program. I found several solutions on the internet, each with an approach. Suggestions?     
asked by 16.03.2014 / 02:53
1
answer

How to connect a script made in PHP LDAP with Windows AD using SSL connection?

I have the PHP code in LDAP to change password in Active Directory: <?php $usuario="xxx"; $senha_atual="0000"; $senha_nova="11111"; $pessoas="casa.cafe.br"; $servidor="1.1.1.1"; $porta=389; $portas=636; $base="CN=$usuario,CN=Users,DC=casa,...
asked by 05.05.2017 / 18:44
1
answer

How to compile this code in Assembly on Windows?

I was seeing a creation of a basic little window in Assembly that displays a message, I already installed the NASM compiler but the error to compile. .386 .MODEL FLAT, STDCALL INCLUDE windows.inc INCLUDE kernel32.inc INCLUDE user32.inc INC...
asked by 28.04.2015 / 23:19
1
answer

How do the visual components of Delphi 2010 follow the visual pattern of Windows?

In Delphi 2010 the interface components (buttons, etc) are all square, Windows 95/98 style. How do I adapt the visual pattern to the latest versions of Windows?     
asked by 10.04.2014 / 13:15