V
Virajitha Sarma
Hi,
I have a code in C which i am rewritting it in C#.
I am facing problem with the following two lines :
char *cipher;
(DWORD*)cipher(C) and (uint*)cipher(C#) are giving different values
though both DWORD(which is unsigned long) and uint occupy 4 bytes
Why is it happening ? Any insight into this topic would be highly
helpful.
cipher is pointing to
" ;Configurationpage
[InstalledPersonalitiesAndOptions]
Personality=7
[ProductInformation]
ProductName=HP Laser Tablerock
FormatterNumber=HA0001s
PrinterNumber=Q1234A
ProductSerialNumber=XXXXXXXXXX
ServiceID=1001
FirmwareDatecode=0629_07:30:39 Phoenix Firmware
MaxPrintResolution=0
ControllerNumber=1
TeleconVersion=06-015-001
ADFInstalled=1
[EventLog]
NumberEntriesUse=9
MaximumNumberEntries=10
[ProductSettings]
DeviceDescription=HP Laser Tablerock
DeviceLanguage=1"
Thank You
I have a code in C which i am rewritting it in C#.
I am facing problem with the following two lines :
char *cipher;
(DWORD*)cipher(C) and (uint*)cipher(C#) are giving different values
though both DWORD(which is unsigned long) and uint occupy 4 bytes
Why is it happening ? Any insight into this topic would be highly
helpful.
cipher is pointing to
" ;Configurationpage
[InstalledPersonalitiesAndOptions]
Personality=7
[ProductInformation]
ProductName=HP Laser Tablerock
FormatterNumber=HA0001s
PrinterNumber=Q1234A
ProductSerialNumber=XXXXXXXXXX
ServiceID=1001
FirmwareDatecode=0629_07:30:39 Phoenix Firmware
MaxPrintResolution=0
ControllerNumber=1
TeleconVersion=06-015-001
ADFInstalled=1
[EventLog]
NumberEntriesUse=9
MaximumNumberEntries=10
[ProductSettings]
DeviceDescription=HP Laser Tablerock
DeviceLanguage=1"
Thank You