Category Archives: Windows 7

Programming with FASM – test with CPUID .

First you need to take a look at this website.
The CPUID returns processor identification and feature information in the EAX, EBX, ECX, and EDX registers.
What the source code from my example do ?
First I start with the default assembly program .
The next step is to strat with reset xor eax,eax use cpuid.
The result of CPUID will be put into EBX.
Into section ‘.data’ data readable writeable make a structure named out_buffer.
The structure will be fill so you need to EBX, see example:
mov [out_buffer.vendor_ebx],ebx will give us “Genu”.
The next step for test EBX is this example:
test edx,00010000000000000000000000000000b
jz .NoHTT
mov [out_buffer.htt_arch4],’YES ‘
.NoHTT:

The structure of out_buffer is :
db ‘NoHTT’,2,9,’- ‘
.htt_arch4 dd ‘NO ‘
db 9,10

Because I used MessageBox to show us the out_buffer.
The result will be : No or Yes with the size of dd.
The db can define byte variables, as well as arrays of bytes.
Fasm documentation tell us: For example db 1,2,3 will define the three bytes of values 1, 2 and 3 respectively.
The dd has 4 bytes.
The result will be this text (the result is true so the text will be YES): “NoHTT – YES”.
Let’s see one screenshot:

This is the source code:

Posted in All, Assembler, Windows 10, Windows 7, Windows 8. Tagged with , , , , , .

Programming with FASM – Calendar Control.

I have not done a tutorial about the assembler programming language for a while, so today I had a good reason to write this tutorial.
The tutorial focuses on using Calendar Control (MSAA UI Element Reference).

The source code of the window made in fasm is used into this tutorial.
I added the window class name for a month calendar which is defined as SysMonthCal32.
The file if.inc is used for message selection.
When we close the program, a closing dialog is displayed.
To run the Go to today click is displayed but I did not implement execution code.
The IDD_DLG parameter is random and I put the year of my birth to be more fun.
The program contains comments to understand the source code.
For execution, you need to add it to the FASM editor and run it with the F9 key.
You also have the executable version in the Downloads section of the main page menu.

Posted in All, Assembler, Programming, Windows 10, Windows 7, Windows 8. Tagged with , , , , , .

Network and Windows – firefox browser and socks.

This tutorial will explain to you how it works the SOCKS and Firefox browser.
Open one firefox tab with about:config to see the network.proxy.socks_remote_dns value.
If you wan to route your DNS requests through the SOCKS, you’ll need to turn it on.
But because you don’t need to use that then you need to keep to false.
This two result of values will be:

This value controls whether DNS lookups for SOCKS v5 clients happen on the client or on the proxy server.
You can read more about the SOCKS here.
NOTE: Because this use proxy term then you need to know also this about proxy:
– the SOCKS server is a general purpose proxy server that establishes a TCP connection to another server on behalf of a client;
– HTTP proxy is similar, and may be used for the same purpose when clients are behind a firewall and are prevented from making outgoing TCP connections to servers outside the firewall;

Posted in All, web, Windows 10, Windows 7, Windows 8. Tagged with , , , , , .

Network and Windows – ipconfig command.

This is a short tutorial about the ipconfig command.
This command works with Windows operating system: Windows 10, Windows 8 and some old versions.
You can read all about this command from here.
Let’s start with basics:
– to read short info about your network, just use this:

– to see more info then you need to use this:

– to reset all to default network:

– send one message to release the current DHCP configuration and discard the IP address configuration for either all adapters:

– resets the contents of the DNS client resolver cache, with:

– show us the the contents of the DNS client resolver cache (example: clients.l.Google.com is Google in Mountain View, California, United States.)

NOTES:
If you use old windows versions like Windows Millennium Edition, Windows 98, and Windows 95 then is need to use winipcfg command.

Posted in All, Commands, Windows 10, Windows 7, Windows 8. Tagged with , , , , , .

Managing your bookmarks with xmarks.

This tool works by cloud-storing your bookmark files and synchronizing them between computers.
I used this tool from at least 7 years.
The tool synchronization allowing for full merges or overwrites from the server or any linked workstation.
Come with addons for Firefox and works well with Chrome,Internet Explorer and Safari.
The next image show you how data bookmarks from server will restore your bookmarks:
xmarks free tutorials

Posted in All, web, Windows 10, Windows 7, Windows 8, Windows XP. Tagged with , , , , , , .