|
Thank you for reply, I will study more and more on DLL file.
|
|
|
|
|
sisovin168 wrote: Thank you for reply
You are always welcome, Happy khmer new year and wish you always success, healthy and wealthy during and after this happy khmer new year.
Kanel
|
|
|
|
|
hey yall i use masm32 i could someone,from the beginning,give a line by line explanation of what is happening becoz i still do not understand,pliz modify it to make very simple like for my p4 pc and after that how do i make it run??????
.386P
.MODEL TINY
OPTION M510
OPTION SCOPED
OPTION PROLOGUE :none
OPTION EPILOGUE :none
OPTION CASEMAP :none
OPTION OFFSET :SEGMENT
OPTION SEGMENT :USE16
assume cs:none, ss:none, ds:none, es:none, gs:none, fs:none
ORG 0
$BOOT SEGMENT USE16
;========================================
jmp short __CSIP
nop
; ================================================================= ;
;;;;;;;; Bios Parameters Block & Extended Block ;;;;;;;;;
; ================================================================= ;
OemString db "MYOS...." ; 0
BytesPerSector dw 512 ; 8
SectorsPerCluster db 1 ; 10
ReservedSectors dw 1 ; 11
TotalFATs db 2 ; 13
MaxRootEntries dw 224 ; 14
TotalSectorsSmall dw 2880 ; 16
MediaDescriptor db 240 ; 18
SectorsPerFAT dw 9 ; 19
SectorsPerTrack dw 18 ; 21
NumHeads dw 2 ; 23
HiddenSectors dd 0 ; 25
TotalSectorsLarge dd 0 ; 29
;;;;;;;; Extended Parameters ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
DriveNumber db 0 ; 33
Flags db 0 ; 34
Signature db 41 ; 35
VolumeID dd 23232 ; 36
VolumeLabel db "BOOT SYS" ; 40
SystemID db "FAT12 " ; 51
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
szHelloWorld db "HelloWorld", 0
__CSIP:
cli ; disable interrupts
db 0EAh
dw offset start ; jump far 07C0:start
dw 000h ; this is to ensure CS=7C0h for calls that returns from
;absolute address which is relative to CS segment
start:
mov ax, 07C0h
mov ds, ax ; DS=07C0h
mov ax, B800h
mov es, ax ; ES=B800h prepare ES to write to video memory
mov ax, 80h
mov ss, ax ; SS=80h (bottom of the stack is 800h linear)
mov ax, 800h
mov sp, ax ; SP=800h ( top of the stack is SS:800h == 1000h linear)
mov si, offset szHelloWorld
xor di, di ; start at ES:[0] == B8000 linear
mov ax, 0700h ; 15:8 attribute 7 text character
PrintLoop:
mov al, [si] ; load a character
test al, al
jz short HALT ; if(ZF==1) indicates test is zero, we are finished.
mov es:[di], ax ; copy attribute and character to vmem
add di, 2 ; adjust offset in video memory by 2 (attribute+character)
inc si ; adjust our offset by 1
jmp short PrintLoop ;continue
HALT:
hlt
jmp short HALT
ORG 1FEh
$BOOTSIG dw 0AA55h ; last two bytes must contain this signature
END
|
|
|
|
|
marto12 wrote: hey yall i use masm32 i could someone,from the beginning
Study more or ask the person that give you the code.
|
|
|
|
|
now when I am trying to connect to IIS it displays dialog asking for Computer Name when I do that it pop Up error : System Cannot Find the path specified
Please do help me at the Earliest.
Develop2Program & Program2Develop
|
|
|
|
|
Navneet Hegde wrote: now when I am trying to connect to IIS it displays dialog asking for Computer Name when I do that it pop Up error : System Cannot Find the path specified
Try to enter the IP address instead.
|
|
|
|
|
I have a problem with a user32.dll file and will extracting it to the system32 directory it prompts me for a password.
Does anybody know what that password is.
Because if i try to copy the file and paste it i get an error msg.
Pls Help
|
|
|
|
|
Why are you doing this?
User32.dll is a system file, and unless you're (re)installing the OS, a service pack or a hotfix, you shouldn't be changing it.
Copy and paste will fail because you can't overwrite a loaded DLL.
Steve S
Developer for hire
|
|
|
|
|
I have a computer here that gives the following error message upon startup:
"The system DLL user32.dll was relocated in memory. The application will not run properly. The relocation occurred because the DLL C:\\WINDOWS\System32\HHCTRL.OCX occupied an address range reserved for Windows system DLL's. The vendor supplying the DLL should be contacted for a new DLL."
H
|
|
|
|
|
From this, you can deduce that user32.dll is a system DLL, while HHCTRL.OCX is not. Have you considered replacing the HHCTRL.OCX file instead?
Steve S
Developer for hire
|
|
|
|
|
I have the same problem. It is, after some googlare skills, a microsoft issue. They updated the HHCTRL.OCX control (which is the HTML helper), which uses the same address range as user32.dll.
I guess a new fix for that came out already.. try doing windowsupdate again.
|
|
|
|
|
|
i'm now designing a linker for a software language..,for that i need to know about the linker structure..,how .obj files are linked to create .exe file(PE format file)...
any help..,thanx n advance..
mirraa
|
|
|
|
|
Wow
This is non trivial.
The MS Linker expects to see .OBJ, .DLL or .LIB files (amongst others) as input.
If you create a valid .OBJ or .DLL file then it will link fine.
Creating these files (as a compiler does) requires a lot of intricate code and is a significant part of any language compiler.
Microsoft document this in great detail in their MS COFF dicumentation (available online)
http://www.microsoft.com/whdc/system/platform/firmware/PECOFF.mspx[^]
Bear in mind that this now includes 32-bit and 64-bit support.
Hugh
|
|
|
|
|
How to get IPv4 Address in VISTA? when i tried to get the address in asp.net it is displayed the address "fe80::5efe:192..... like this
PLZ solve this Prob
Thanks in advance
|
|
|
|
|
What is the user group that you are belong to?
|
|
|
|
|
HI ALL
i m using HP 2214 UT it hsa 32 bit Vista can i use 64 bit vista on it
SP
--
Bugs can neither be created nor be removed from software by a developer. They can only be converted from one form to another. The total number of bugs in the software always remain constant.
|
|
|
|
|
Only if the CPU is a 64-bit CPU that is supported by Vista.
|
|
|
|
|
I would like to know how to prevent broadcasting between two NICs (NIC X 192.168.xx.1, NIC Y 192.168.yy.1)in Windows XP? I have a PC with two NICs in different VLAN. I found that many traffics in 192.168.xx.0 are generated by ip address of its NIC Y 192.168.yy.1. The source mac address of the traffics are its NIC X. The destination of the traffics are mac address FFFFFFFFFFFF.
So I would like to prevent it! Please help!
|
|
|
|
|
Which broadcasts are these?
i guess it will be your normal "NetBIOS announcements". If possible (and wont break anything), remove the "client for windows networks" on it.
|
|
|
|
|
Is it can prevent NIC X to forward the traffic that the NIC Y 192.168.yy.1 to send packets to 255.255.255.255?
Please help!
|
|
|
|
|
Well.. how do you see that this broadcast is going to the other subnet?
It would be very stupid for Microsoft to broadcast your presence coming from an IP to a network which will only route it onwards.
A packet of 192.168.xx.1 will never arrive anywhere on 192.168.yy.0/24 ....
How are you determine the delivery of this packet? Are you using a sniffer?
|
|
|
|
|
Something like sniffer!
It may be due to a class management software, it will generate the boardcast frame periodically. But it always send to 192.168.xx.1.
|
|
|
|
|
LaHaHa wrote: I would like to know how to prevent broadcasting between two NICs (NIC X 192.168.xx.1, NIC Y 192.168.yy.1)in Windows XP? I have a PC with two NICs in different VLAN. I found that many traffics in 192.168.xx.0 are generated by ip address of its NIC Y 192.168.yy.1. The source mac address of the traffics are its NIC X. The destination of the traffics are mac address FFFFFFFFFFFF.
Use router instead of 2 network card. Router will block broadcast by default.
|
|
|
|
|
The reason of using 2 network card is used to send a lot of data in a isolated network without affect the real network. The PC with two network card is the PC of teacher. So we can't use router instead of it.
|
|
|
|