        :NNN'Y[qQTcTcؚzb/g(Wdkbyr+RQNُ{b/gech0
 
 ,gech-N\S+T,gz^vRnNxNSlʑfNOؚ~(u7bS0
 
 vQ-NRNxegnNQ~0
 
         T h i s   t e c h n i c a l   d o c u m e n t   i s   m a d e   t o   s h a r e   i n f o r m a t i o n   a b o u t   p r o g r a m m i n g .   I t   c o n t a i n s   s o m e   p a r t s   o f   s o u r c e   c o d e   a n d   c o m m e n t s   o f   t h i s   p r o g r a m m e .   T h i s   d o c u m e n t   m i g h t   b e   o n l y   s u i t a b l e   f o r   e x p e r i e n c e d   u s e r s .   S o m e   o f   t h e   f o l l o w i n g   c o d e   i s   f r o m   I n t e r n e t . 
 
 
 
         D i r e c t X O
Y]wQV 1 . 0 Hrv _SsX:NM i c r o s o f t   V i s u a l   S t u d i o   2 0 0 8  _S 
 
 V i s u a l   B a s i c . N E T   F r a m e w o r k Hr,g2 . 0  _S|~W i n d o w s   7   e0Hr3 2 MO0
 
 KmՋsXW i n d o w s   X P   H o m e   E d i t i o n ( 3 2   b i t ) 0W i n d o w s   X P   P r o f e s s i o n a l   E d i t i o n ( 3 2   b i t ) 0
 
 W i n d o w s   7   e0Hr( 3 2   b i t ) 0W i n d o w s   7 e0Hr( 6 4   b i t ) 0W i n d o w s   8   P r o ( 6 4   b i t ) 0
 
 W i n d o w s   8 . 1   P r e ( 6 4   b i t ) 0W i n d o w s   1 0   p r o   ( 3 2   b i t ) 0W i n d o w s   1 0   p r o   ( 6 4   b i t ) 0
 
         T h e   e n v i r o n m e n t s   f o r   d e v e l o p i n g   D i r e c t X   R e p a i r   V 1 . 0   a r e   s h o w n   a s   f o l l o w i n g :   M i c r o s o f t   V i s u a l   S t u d i o   2 0 0 8 ;   L a n g u a g e :   V i s u a l   B a s i c ;   . N E T   F r a m e w o r k :   2 . 0 ;   D e v e l o p m e n t   O S :   W i n d o w s   7   U l t i m a t e   3 2 - b i t ;   T e s t e d   O S :   W i n d o w s   X P   H o m e   E d i t i o n   ( 3 2   b i t ) ,   W i n d o w s   X P   P r o f e s s i o n a l   E d i t i o n   ( 3 2   b i t ) ,   W i n d o w s   7   U l t i m a t e   ( 3 2   b i t ) ,   W i n d o w s   7   U l t i m a t e   ( 6 4   b i t ) ,   W i n d o w s   8   P r o   ( 6 4   b i t ) ,   W i n d o w s   8 . 1   P r e   ( 6 4   b i t ) ,   W i n d o w s   1 0   p r o   ( 3 2 b i t ) ,   W i n d o w s   1 0   p r o   ( 6 4   b i t ) . 
 
 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 
 
         z^-NvRNx
 
         S o m e   p a r t s   o f   s o u r c e   c o d e : 
 
 
 
 1 0hKmd\O|~Hr,g0
 
 1 .   T o   d e t e c t   t h e   v e r s i o n   o f   t h e   c u r r e n t   O S . 
 
 	 I f   V a l ( M y . C o m p u t e r . I n f o . O S V e r s i o n )   <   6   T h e n 
 
                         ' X P 02 0 0 0 I{l	g. N E T vd\O|~
 
 	 E l s e 
 
 	         ' V i s t a 0W i n   7 I{&^. N E T vd\O|~
 
                 E n d   I f 
 
 
 
 2 02bkz^͑
YЏL0
 
 2 .   T o   a v o i d   r e - r u n n i n g   o f   t h e   p r o g r a m m e . 
 
 	 D i m   p r o c N a m e   A s   S t r i n g 
 
                 p r o c N a m e   =   S y s t e m . D i a g n o s t i c s . P r o c e s s . G e t C u r r e n t P r o c e s s ( ) . P r o c e s s N a m e 	 
 
 	 I f   ( S y s t e m . D i a g n o s t i c s . P r o c e s s . G e t P r o c e s s e s B y N a m e ( p r o c N a m e ) ) . G e t U p p e r B o u n d ( 0 )   >   0   T h e n 
 
                         M s g B o x ( " z^]~(WЏL" ,   M s g B o x S t y l e . C r i t i c a l ) 
 
                         M e . D i s p o s e ( ) 
 
                         E x i t   S u b 
 
                 E n d   I f 
 
 
 
 3 0Sd\O|~
TSHr,gS0
 
 3 .   T o   a c q u i r e   t h e   s y s t e m   n a m e   a n d   v e r s i o n   i n f o r m a t i o n . 
 
 	 M y . C o m p u t e r . I n f o . O S F u l l N a m e   &   M y . C o m p u t e r . I n f o . O S V e r s i o n 
 
 
 
 
 
 4 0(u|~vD i r e c t X   ʋe]wQ0
 
 4 .   T o   c a l l   t h e   D i r e c t X   D i a g n o s t i c   T o o l   f r o m   t h e   O S . 
 
 	 S h e l l ( " d x d i a g . e x e " ,   A p p W i n S t y l e . N o r m a l F o c u s ) 
 
 
 
 5 0S5uP[N0
 
 5 .   T o   s e n d   t h e   E - m a i l   a s   a   f e e d b a c k . 
 
 	 ' bNb@b	gQ N v0WehQbcb m a i l  @b	gQ 
gR v0WehQbcb s m t p  
 
                  P l e a s e   s w a p   " N"   t o   " m a i l " ,   a n d   s w a p   " 
gR"   t o   " s m t p " . 
 
                 ' ۏL
NfbcvSV/f2bkgN@gkoN\NNx:N/fv`az^0
 
                  T h e   r e a s o n   f o r   m a k i n g   s u c h   r e p l a c e m e n t s   i s   t o   a v o i d   b e i n g   c o n s i d e r e d   a s   m a l i c i o u s   c o d e   b y   s o m e   a n t i - v i r u s   s o f t w a r e . 
 
                 D i m   
gR  A s   N e w   S y s t e m . N e t . N. 
gRC l i e n t ( " 
gR. 1 6 3 . c o m " ,   2 5 ) 
 
                 
gR. C r e d e n t i a l s   =   N e w   S y s t e m . N e t . N e t w o r k C r e d e n t i a l ( / / E - m a i l   n a m e / / ,   / / E - m a i l   p a s s w o r d / / ) 
 
                 D i m   N  A s   N e w   S y s t e m . N e t . N. NM e s s a g e ( ) 
 
                 N. S u b j e c t   =   / / Y o u r   s u b j e c t / / 
 
                 N. S u b j e c t E n c o d i n g   =   S y s t e m . T e x t . E n c o d i n g . G e t E n c o d i n g ( " G B 2 3 1 2 " ) 
 
                 N. B o d y E n c o d i n g   =   S y s t e m . T e x t . E n c o d i n g . G e t E n c o d i n g ( " G B 2 3 1 2 " ) 
 
                 N. F r o m   =   N e w   S y s t e m . N e t . N. NA d d r e s s ( / / Y o u r   E - m a i l   a d d r e s s / / ) 
 
                 N. P r i o r i t y   =   S y s t e m . N e t . N. NP r i o r i t y . N o r m a l 
 
                 N. I s B o d y H t m l   =   T r u e   ' H T M L <h_vN, :Nf a l s e RS~e,g{                
 
                 N. B o d y   =   / / m a i l   b o d y / /   ' NQ[
 
                 I f   D i r ( / / DNMOn/ / )   < >   " "   T h e n 
 
                         N. A t t a c h m e n t s . A d d ( N e w   S y s t e m . N e t . N. A t t a c h m e n t ( / / DNMOn/ / ) 
 
                 E n d   I f 
 
                 N. T o . A d d ( / / 6eNN/ / ) ' mR6eNN, Yg	gY*N, SNY!kmR
 
                 
gR. S e n d ( N) 
 
                 N. D i s p o s e ( ) 
 
 
 
 6 0_ _/T0sQW i n d o w s 7 -NvA e r o yrHe|~TlxN_{Te/ecA e r o eMb	gHe	0
 
 6 .   T o   a c t i v a t e   o r   d e a c t i v a t e   A e r o   i n   W i n d o w s   7   ( o n l y   a v a i l a b l e   w h e n   b o t h   t h e   O S   a n d   h a r d w a r e   s u p p o r t   t h i s   f e a t u r e ) . 
 
                 S h e l l ( " s c . e x e   s t a r t   u x s m s " )   ' _ _/TA e r o yrHe
 
                 S h e l l ( " s c . e x e   s t o p   u x s m s " )   ' _sQA e r o yrHe
 
 
 
 7 0z^SNQW i n d o w s 8 0W i n d o w s 8 . 1 0W i n d o w s 1 0 |~Hr,gS(Wa p p . m a n i f e s t eN-NmRYNNx	0
 
 7 .   L e t   t h e   p r o g r a m m e   r e a d   O S   v e r s i o n   n u m b e r s   i n   W i n d o w s   8   O S ,   W i n d o w s   8 . 1   O S ,   a n d   W i n d o w s   1 0   O S   ( T h e   c o d e   b e l o w   s h o u l d   b e   a d d e d   t o   a p p . m a n i f e s t ) . 
 
 	 < c o m p a t i b i l i t y   x m l n s = " u r n : s c h e m a s - m i c r o s o f t - c o m : c o m p a t i b i l i t y . v 1 " > 
 
         	 	 < a p p l i c a t i o n > 
 
             	 	   < ! - -   W i n d o w s   1 0   - - > 
 
             	   	   < s u p p o r t e d O S   I d = " { 8 e 0 f 7 a 1 2 - b f b 3 - 4 f e 8 - b 9 a 5 - 4 8 f d 5 0 a 1 5 a 9 a } " / > 
 
             	 	   < ! - -   W i n d o w s   8 . 1   - - > 
 
             	 	   < s u p p o r t e d O S   I d = " { 1 f 6 7 6 c 7 6 - 8 0 e 1 - 4 2 3 9 - 9 5 b b - 8 3 d 0 f 6 d 0 d a 7 8 } " / > 
 
             	 	   < ! - -   W i n d o w s   V i s t a   - - > 
 
             	 	   < s u p p o r t e d O S   I d = " { e 2 0 1 1 4 5 7 - 1 5 4 6 - 4 3 c 5 - a 5 f e - 0 0 8 d e e e 3 d 3 f 0 } " / > 
 
             	 	   < ! - -   W i n d o w s   7   - - > 
 
             	   	   < s u p p o r t e d O S   I d = " { 3 5 1 3 8 b 9 a - 5 d 9 6 - 4 f b d - 8 e 2 d - a 2 4 4 0 2 2 5 f 9 3 a } " / > 
 
             	   	   < ! - -   W i n d o w s   8   - - > 
 
             	   	   < s u p p o r t e d O S   I d = " { 4 a 2 f 2 8 e 3 - 5 3 b 9 - 4 4 4 1 - b a 9 c - d 6 9 d 4 a 4 a 6 e 3 8 } " / > 
 
         	 	 < / a p p l i c a t i o n > 
 
     	 < / c o m p a t i b i l i t y > 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 
 
         z^-Nvz``
 
 
 
 1 0:NNHNnb!h
 
         @bvb!h1\/fhgz^-NveN/f&T:NSYveN0
 
         ~_vN[OSsz^D a t a eN9YN	g'Yϑvd l l eNُN/fD i r e c t X v~N0z^O
Ye1\/fNُNeN:N݄,g[
 
 |~-NveNۏLhKmTO
Y0Yg	g+R	g(u_vN\vQfbc:N	gu	gv`aNxveNTS^0RQ
NGPYz^l	gb
 
 !hRv݋z^1\ONُN	gveN:N݄,gۏLO
YO
Y[bT|~[OQsuaguk0Vdk,g@w:N(u
 
 7b[hQv҉^QSz^nNb!h0ُ7hSz^hKm0RN^SYeN1\O\PbkO
Yc:yb!h1Y%0
 
         z^-N(uv:_!he_/fM D 5 !h_N/fk8^(uv!he_KN N0he_vOp/fSNhKmQeNv_\]+R:p
 
 /f['YeN!hba0wQSOvStSz^-Nv~ُ̑
NQX0
 
 
 
 2 0:NNHNz^vLubw
NS
N_0N[
 
         ُ1\N,goNvRwwN0,goNvKNR:NNeOTy6kvNO(uVdkoNvW1\/f{~0{US0{m0
 
 
Nv{UScv/fd\Ov{USFO/fR
N{US0S	gُ7hMbzQ͑peONUON_
NKb0S_`O	geN~TsTe
 
 `OSOSsz^܏
NbkNNO
YD i r e c t X HN{US0fe|~-Nvc + + lQ|~-N@b	gd l l eN:Nd l l eNS.܃USmRlQTxS}
 
 yI{RONSsz^vQ[؏	g_Y\oR	g_Sc0
 
 
 
 3 0	gsQNz^-NS+TvD i r e c t X Hr,gvf0
 
         (Wz^f̑QN,gz^S+T[tevD i r e c t X ~NN[
N,gz^S+TNdD i r e c t X   f o r   V i s u a l   S t u d i o YvQN@b	gvD i r e c t X 
 
 ~N(WO(uf̑HNQ/f:NNQ\[ N,(u7bvq_T0KN@bN,gz^*gS+TD i r e c t X   f o r   V i s u a l   S t u d i o ;N	g$NebQ
 
 ,{ NُN~NO(uv^8^\ N,(u7b[hQ
NOSO(uYgS+T[SXRz^
YBg^TSOyv^
NR{,{Nb:NO(u
 
 V i s u a l   S t u d i o vN N[	gR]RKb㉳Q
N ,goNvR0,gz^ g~WN
N$NebQ0