|
Index
|
|
General
|
|
|
|
|
CC = gcc RM = -rm -fr
TARGET = install_driver
OBJECTS = $(TARGET).o
CFLAGS = -O2 -Wall -mno-cygwin LDFLAGS = -mwindows -mno-cygwin -L. -lsetupapi -lnewdev -lcfgmgr32
.PHONY: all all: $(TARGET).exe
$(TARGET).exe: $(OBJECTS) # create an import library for newdev.dll, mingw is missing this dlltool --dllname newdev.dll --kill-at --def newdev.def --output-lib libnewdev.a $(CC) -o $@ $(OBJECTS) $(LDFLAGS)
%.o: %.c $(CC) -c $< -o $@ $(CFLAGS)
Criptografia
/
Cryptography
Recursos / Resources
Multimedia
Timers (see also Linux
kernel
preemption)
Empaquetadors
/
Packagers
- Inno
- OnceClick (*.application)
Debug
MinGW
/ MSYS (Minimalist GNU for Windows)
IDE
(Integrated Development Environment)
- Deployment of
applications:
- Service
Packs
- CRT
(C Run Time) link options
- What
are
the C and C++ libraries my program would link with?
(Microsoft)
- How
to
link with the correct C Run-Time (CRT) library
(Microsoft)
- Linker options:
include |
single-threaded
/ML[d] |
multithreaded
/MT[d] |
multithreaded DLL
/MD[d] |
libraries
(libc_[D].lib) |
libraries
(libc_mt[D].lib) |
libraries
(msvc_rt[D].lib) |
dependencies
(msvc_[r][t,##][D].dll) |
- |
libc.lib |
libcmt.lib |
msvcrt.lib |
msvcrt.dll
msvcr[80,71,70].dll |
Standard C++ / STD
<use_ansi.h>
(eg. <iostream>)
(infix: p) |
libcp.lib |
libcpmt.lib |
msvcprt.lib |
msvcp[80,71,70,60,50].dll |
Old IOStream *
<useoldio.h>
(eg. <iostream.h>)
(infix: i) |
libci.lib |
libcimt.lib |
msvcirt.lib |
msvcirt.dll |
|
|
|
|
|
<boost/X> |
libboost-X-vc[71,80]-s[gd].lib |
libboost-X-vc[71,80]-mt-[gd].lib
libboost-X-vc[71,80]-mt-s[gd].lib (static runtime) |
boost-X-vc[71,80]-mt[-gd].lib |
boost-X-vc[71,80]-mt[-gd].dll |
*: deprecated in MSV2002; deleted in MSV2003, MSV2005
- Versions:
IDE |
.net |
directories |
name |
ver |
free version |
ver |
Windows Forms |
ASP.net |
compact framework |
dlls for deployment |
Visual
Studio |
|
6.0 |
|
|
|
- |
|
|
.net (2002) |
7.0 |
|
|
|
1.0 |
|
.net 2003 |
7.1 |
Visual C++ Toolkit 2003 |
1.1 |
|
1.1 |
|
- C:\WINDOWS\system32
- ...\Microsoft Visual Studio .NET
2003\SDK\v1.1\Bin
|
2005 |
8.0 |
Express
Edition |
2.0 |
|
2.0 |
|
- ...\Microsoft Visual Studio
8\VC\redist\x86\Microsoft.VC80.CRT\
- ...\Microsoft Visual Studio
8\VC\redist\x86\Microsoft.VC80.MFC\
|
2008 |
9.0 |
|
3.5 |
|
|
|
|
2010
|
|
Express
|
|
|
|
|
|
- Problems and solutions:
- "...already defined in...":
- libraries and executables that use them must be
compiled with the same run-time
option (single-threaded / multithreaded /
multithreaded DLL):
- Properties / C/C++ / Code generation / Runtime
Library
- std::string accross DLL crashes ("Send to Microsoft" /
"Unhandled win32 exception") in release mode:
- STL
problems with MSVisual 2003
- Problems
with Xerces and wchar
- "Could
not
delete temporary file", "Cannot open ... .rsp" (in
computers with more than one core/processor)
- set 1 parallel
process (Tools / Options / Project and Solutions / Build
and Run / Maximum number of parallel project builds: 1)
- "The operation could not ne completed":
- Problems
with Web Services
- Visual 2005 exclude folders
- Tips
- Adding a path to PATH environment variable
- Visual 2003
- Visual 2005
- Properties / Configuration Properties / Debugging
(added to ...vproj_MACHINE_USER)
- Environment: PATH=c:\toto\bin
- Merge Environment: Yes
|
|
|
|
|
|
|
Teclat / Keyboard
|
|
|
|
|
|
Serveis / Services
|
|
|
- Windows XP fixes, tips
and tweaks
- System account
cmd.exe
at xx:xx /interactive cmd.exe
taskmgr (es pot matar absolutament qualsevol
procés)
- gestió d'usuaris en MS Windows XP / users management
|
Virus
|
|
Usuaris / Users
|
|
Xarxa / Network
|
- hosts
- c:\WINDOWS\system32\drivers\etc\hosts
|
IIS / ASP.NET
|
ASP.NET |
IIS
authentication |
local user for ASP.NET application
worker process (aspnet_wp.exe) |
user for applications
execution |
Web.config
(each dir) |
user for applications execution |
anonymous |
basic |
digest |
integrated Windows authentication |
client certificate mapping |
machine.config (root config
directory (1)) |
<processModel
userName= |
impersonate |
userName |
SYSTEM |
MACHINE |
domain\user (2) |
account for IIS. Default: NT
AUTHORITY \ SYSTEM (LocalSystem) |
ASPNET |
user |
local user |
false |
- |
|
|
|
NT AUTHORITY \ ANONYMOUS LOGON |
- user
- NT AUTHORITY \ ANONYMOUS LOGON (when no matching user
on remote machine)
|
remote user |
|
true |
- |
local user
|
IUSR_machine
(default) |
|
|
|
|
anonymous_user
(IIS config) |
auth_user |
|
|
|
remote user |
anonymous_user |
auth_user |
|
|
|
domain\user |
local user |
domain\user |
|
|
|
|
remote user |
user |
|
|
|
|
delegation: if remote computer has
a user identical to the local user, with the same password.
- \%windows%\Microsoft.NET\Framework\Version\Config\
- several
access
rights must be granted to specific directories for this
user
|
|
http://www.francescpinyol.cat/windows.html
Darrera modificació: 1 de juny de 2023 / Last update: 1st June
2023
Cap a casa / Back home. |