Upload
cortez-henslee
View
220
Download
1
Embed Size (px)
Citation preview
Your Ace up the Sleeve
Enhancing Applicationswith SRP Utilities
A Good Utility
• Fast– Increases speed of routine– Increases speed of development
• Easy to use• Easy to remember• Well documented• Does what it should
Things to consider…
1. Not the only player on the field2. Experiences may vary3. Free means free4. WYS-MNB-WYG5. Please interrupt6. Anrbasicprogramersayswhat?
000101010001001111011010110100010110101001
How many people can read hex if only you and dead people can read hex?
• Encode binary data into a printable format• Decode printable-encoded data into a variable• Generate a cryptographic hash for a given string
SRP_EncodeSRP_DecodeSRP_Hash
Ans = 1 + 0xDEADAns = 1 + 57005Ans = 57006
1+1=2
2+2=5 (for extremely large values of 2)
• Perform arbitrary precision math operations• Decimal numbers with more than 16 digits• 40 different operations
SRP_Math
REGEDIT
RegEdit This• Read & modify the Windows registry
– Delete, Exists, ListKeys, ListValues– Read, Write
SRP_Registry
C:\>
The Days of DOS
• Run a DOS executable• Redirect the output to:
– Variable– OpenInsight Editline/Box– DOS Window
SRP_Run_Command
MDICHILD
Maximize Windows, Minimize Effort• Display a hidden window and adjusts the
size to account for themes• Establish the resize limits of a window• Automatically update a window when the
system colors change
SRP_Show_WindowSRP_Set_MinMaxInfoSRP_Set_SysColorChange
@MV
Give me a venti, nonfat, quadshot Array• Remove blanks and duplicates• Move elements into any explicit order• Change LIST formatted into an ARRAY format• Sorting, without data preparation
SRP_Clean_ArraySRP_Rotate_ArraySRP_Reorder_ArraySRP_Sort_Array
DEMONSTRATION
Thank You
Any Questions?