Win32 Assembly Programming Using RosAsm

Welcome! Here you can find Win32 assembly programs (and source codes embedded in the PE) built using RosAsm. :-) You can also find my RosAsm programs at http://groups.yahoo.com/group/rosasm-users/ in the files section. Or you can download all the programs in one zip (~3.90 MB) here: Download Zip.
Or, more FREE downloads at http://www.yeohhs.com

My Programs Available for Download

DescriptionDownload URLFile Size (KB)
Rcdata: Inserts and Extracts Rcdata in PEs.

Download

5 KB

ChooseColor: Displays the standard Color dialog and gets user's choice.

Download

4 KB

BitmapButton: Use bitmaps as buttons. Bitmap changes with mouse clicks and mouse hover over it.

Download

13 KB

CleanExit: Clears documents opened list and shuts down.

Download

5 KB

SnapShot: Saves screen as bitmap in ClipBoard.

Download

4 KB

QueryPerformance: Use QueryPerformanceCounter and QueryPerformanceFrequency API to time code execution.

Download

5 KB

StringsArray: Create and manipulate array of strings using hidden listbox.

Download

5 KB

PlayMP3: plays a MP3 file using WinMM.dll.

Download

29 KB

Base3Unicode: Base3 Unicode version plus testing display of Russian text.

Download

6 KB

Chinese: Displays Chinese Characters in a Window.

Download

4 KB

TimePicker: Displays an Timepicker control on dialog and gets value selected.

Download

13 KB

Updown: Displays an Updown control on dialog and gets value selected.

Download

12 KB

TrackBar: Displays a trackbar or slider control on dialog and gets value selected.

Download

13 KB

AnimateAVI: Plays an AVI file in a dialog.

Download

17 KB

TestTomCrypt: Uses tomcrypt.dll to encrypt and decrypt a file. tomcrypt.dll included in zip.

Download

128 KB

Shuffle: Proc to shuffle numbers or strings or any contents of a listbox.

Download

4 KB

GetCommandLineV3: Another way to get command line arguments.

Download

4 KB

StrTok: Tokenize a string and store in hidden list box.

Download

5 KB

ShareWRegV1: Updated SDI Template Application, with a toolbar plus simple Shareware Notice and Registration.

Download

29 KB

SDIAsmV1.1: Updated SDI Template Application, now has a toolbar.

Download

25 KB

ProgressDlg: Using a progress control in a dialog-based application.

Download

11 KB

Tables: A set of four RosAsm programs that handle static records, dynamic records using VirtualAlloc, static table of strings and uninitialized table of strings.

Download

16 KB

Base64DecodeStr: Decodes a Base64 encoded string.

Download

5 KB

Base64EncodeStr: Encodes a string in Base64 format.

Download

5 KB

SMTP: Send simple authenticated e-mail via ESMTP. Winsock code blocking mode.

Download

5 KB

POP3: Gets e-mail stats from POP3 server. Winsock code blocking mode.

Download

5 KB

NNTP: Post article to UseNet groups. Winsock code blocking mode.

Download

5 KB

Zip: Zip files into a zip file. Uses Info-Zip's Zip32.DLL. Package includes Zip32.dll and a RosAsm program to zip files.

Download

83 KB

UnZip: Unzip the contents of a zip file. Uses Info-Zip's Unzip32.DLL. Package includes Unzip32.dll, sample zip and a RosAsm program to unzip the zip file.

Download

74 KB

DecLZMA: Decode a LZMA file. Package includes declzma.dll based on ANSI-C LZMA decoder source, sample lzma file and a RosAsm program to decode the lzma file.

Download

578 KB

Random: Procs to generate pseudo-random numbers using C Runtime library functions.

Download

4 KB

FTPDownloadASCII: Proc to download ASCII files from FTP site. Uses Wininet DLL.

Download

4 KB

FTPDownloadBin: Proc to download binary files from FTP site. Uses Wininet DLL.

Download

4 KB

FTPUploadASCII: Proc to upload to ASCII files to FTP site. Uses Wininet DLL.

Download

4 KB

FTPUploadBin: Proc to upload to binary files to FTP site. Uses Wininet DLL.

Download

4 KB

XML: A package that contains libexpat.dll, scew040.dll and two RosAsm programs to read and write to a XML file.

Download

92 KB

DownloadRosAsmFullZip: Program that downloads RosAsmFull.zip.

Download

4 KB

GetDesktopSize: Proc to get desktop workarea size.

Download

4 KB

HTTPDownloadASCII: Proc to do a HTTP download of an ASCII file using WinInet.DLL functions.

Download

4 KB

HTTPDownloadBin: Proc to do a HTTP download of a binary file using WinInet.DLL functions.

Download

4 KB

RunApp: Proc to call CreateProcess and wait for program to finish.

Download

4 KB

ShellApp: Proc to call ShellExecuteEx and wait for program to finish.

Download

4 KB

MindCon: Program to influence your subconscious mind through auto-suggestion.

Download

6 KB

Mantra: Simple program to play mantra while you meditate.

Download

68 KB

EnumPrinters: Gets default printer.

Download

4 KB

PageSetupDlg: Display Printer Page Setup Dialog.

Download

4 KB

GetPrinterDC: Gets printer DC and do test print.

Download

4 KB

GetOSVersion: Gets OS Type.

Download

4 KB

PrintDlg: Displays Print Dialog.

Download

4 KB

CharNamer: A program that generates random character names for RPG, avatars, fantasy characters for fiction writers.

Download

18 KB

RemindMe: This is a simple way for me to keep track of important events on certain dates. Using this program, I enter my up-coming important dates and events in the text file, remindme.txt. The format is: first line is the date in DD/MM/YYYY format and the second line can be any text describing the important event. When I run this program every morning, it retrieves my computer's date and reads in the remindme text file. It compares the date in the first line with today's date and if there is a match, loads the second line text into the list box, thereby reminding me of this important event due.

Download

294 KB

DrawEllipse: Proc to draw ellipses.

Download

4 KB

DrawArc: Proc to draw arcs.

Download

4 KB

LineTo: Another proc to draw a line.

Download

4 KB

DrawLine: Proc to draw a line.

Download

4 KB

SetPixel: Draws a pixel.

Download

4 KB

SetWinColor2: Sets a hatched colour as background of a window.

Download

5 KB

SetWinColor: Sets the background colour of a window.

Download

5 KB

SetFormColor: Sets the background colour of a dialog.

Download

12 KB

Min: Proc to return the smaller of two floating point numbers.

Download

4 KB

Max: Proc to return the larger of two floating point numbers.

Download

4 KB

CreateIPAddressControl: Creates and displays an IP address control in a dialog.

Download

12 KB

CreateButton: Creates and displays a push button in a dialog.

Download

13 KB

CreateBMPButton: Creates and displays a button with a bitmap in a dialog.

Download

8 KB

BCX_Icon: Creates and displays icon in a static control.

Download

13 KB

Abs: Proc to return the absolute value of a floating point number.

Download

4 KB

BCX_DatePick: Proc to create and display a datepicker control in dialogs.

Download

12 KB

BCX_Combobox: Proc to create and display a combobox control in dialogs.

Download

12 KB

BCX_Checkbox: Proc to create and display a checkbox control in dialogs.

Download

12 KB

BCX_Listbox: Proc to create and display a listbox control in dialogs.

Download

12 KB

BCX_Group: Proc to create and display a group box in dialogs.

Download

12 KB

BCX_Radio: Proc to create and display radio button controls in dialogs.

Download

11 KB

BCX_Edit: Proc to create and display multi-line edit control in dialogs.

Download

12 KB

BCX_GrayRect: Proc to create and display static gray rectangles in dialogs.

Download

13 KB

BCX_BlackRect: Proc to create and display static black rectangles in dialogs.

Download

13 KB

BCX_WhiteRect: Proc to create and display static white rectangles in dialogs.

Download

13 KB

BCX_Label: Proc to create and display static labels in dialogs.

Download

13 KB

MyInstance: Allows only one instance of the program to run.

Download

4 KB

Sgn: Tests whether a number is positive, zero or negative.

Download

3 KB

WSockinfo: Gets and displays some Winsock DLL information.

Download

4 KB

SDLfullscreen: Initialize SDL and then go full screen.

Download

4 KB

SDLshowbmp: SDL- Displays bitmap.

Download

6 KB

SDLpollevent: SDL- Poll events and respond.

Download

3 KB

SDLsetvideomode: SDL- Sets video mode in SDL and displays window.

Download

3 KB

SDLinit: Initialize SDL and then quits.

Download

3 KB

CharUpper: Converts string to upper case.

Download

2 KB

CharLower: Converts string to lower case.

Download

2 KB

GetAppExePath: Retrieves path of current running program.

Download

3 KB

GetAppExeName: Retrieves exe name of current running program.

Download

3 KB

GetUserName: Retrieves PC's user name.

Download

2 KB

TempFileName: Create *.tmp files.

Download

4 KB

HexOctBin2Str: Procs to convert decimal number to hex, oct and bin strings.

Download

4 KB

GetFileSize: Get a file's size in bytes.

Download

4 KB

FontDlg: Displays font dialog and gets user selections.

Download

6 KB

FindFiles: Procs for findfirst and findnext

Download

4 KB

SetText: Set title text of window.

Download

4 KB

IsFileLocked: Tests whether file is locked.

Download

3 KB

GetDriveType: Retrieves type of drive: floppy, hard disk, CDROM, network drive, etc.

Download

3 KB

GetComputerName: Retrieves name of computer.

Download

3 KB

EnvironmentVariable: Sets and Gets Environment Variable.

Download

3 KB

GetTempPath: Retrieves temp directory.

Download

2 KB

GetSystemDirectory: Retrieves the system directory.

Download

3 KB

GetCurrentDirectory: Retrieves current directory for current process.

Download

3 KB

Center: Proc to center a window on the desktop.

Download

5 KB

BitOperations: Shows various operations on bits.

Download

3 KB

BinPrint: Converts a hex number to binary and display it.

Download

3 KB

ArrayOfIntegers: Shows some basic operations on array of integers.

Download

4 KB

LoadBitmap: Loads bitmap from file or resource into a static control and displays it in a window.

Download

24 KB

GenBarcode: Use GNU Barcode DLL to generate a barcode, output as EPS file.

Download

41 KB

Frame3D: Draws 3D Frame in a dialog, translated from an example in MASM32 package. :-) Also displays a bitmap in a dialog.

Download

12 KB

GettextDemo: Saying hello in 5 different languages, using GNU Win32 Gettext with RosAsm. :-) Download the Win32 Gettext distribution here: http://home.a-city.de/franco.bez/gettext/gettext_win32_en.html

Download

15 KB

MyDlg: a dialog-based program to be used for exploring Win32 controls and common controls, etc.

Download

11 KB

FloatDiv: floating point number division

Download

3 KB

FloatMul: floating point number multiplication

Download

3 KB

FloatSub: floating point number subtraction

Download

3 KB

FloatAdd: floating point number addition

Download

3 KB

FloatPrint: formats a floating point number and displays it in a message box.

Download

3 KB

IntegerDiv: Integer division example.

Download

3 KB

IntegerMul: Integer multiplication example.

Download

3 KB

IntegerSub: Integer subtraction example.

Download

3 KB

IntegerAdd: Integer addition example.

Download

3 KB

DecPrint: formats a number as a decimal and displays it in a message box.

Download

3 KB

MyBase: a simple template program to be used in coding snippets.

Download

3 KB

NetworkPresent: code to detect presence of network card and network drivers loaded

Download

2 KB

DBCSEnabled: code to detect whether double-byte character set (DBCS) version of USER.EXE is installed

Download

2 KB

MousePresent: code to detect presence of mouse. No, not the rodent. ;-).

Download

2 KB

HowBoot: code that shows how system was booted: Normal, Safe-mode or Safe-mode with Network support.

Download

2 KB

StoryStarter: A simple tool for fiction writers. It generates a combination of random story elements which serve as a writing prompt.

Download

337 KB

GetVolumeSerialNo: A very simple program to get the hard disk volume serial number. Could be useful for copy protection routines.

Download

5 KB

Whatodo: A program that keeps track of daily to-do tasks. The daily to-do tasks from a text file are loaded into a list box. When a task is completed, user can double-click on the list box item and it is transferred to the Tasks Completed list box. So, user can monitor which tasks have been done and which yet to be completed. The program does not modify the to-do file so items can be carried forward to the next day. User can edit the list of to-do tasks in a plain text file.

Download

291 KB

ReadingList: A program that keeps a collection of documents name and full path in a list box. When the list box item is double-clicked, ShellExecute is called to open the document for viewing. User can edit the list of documents in a plain text file.

Download

287 KB

ViewChm 1.0.0: Calls htmlhelp function located in HHCTRL.OCX and also implements Accelerator Keys. Press the F1 key to view chm file or Control X to exit program.

Download

7.61 KB

Beer : A very simple program that uses mciSendString to open and eject CDROM drive tray and quits immediately. This program is closely based on beer.asm in the FASM distribution.

Download

5.06 KB

ODBCDemo1 : A very simple program that uses ODBC to read and display data from an Access database. The user need not setup the DSN. This program is based on ODBC3.exe SpAsm code written by mzamateo and Iczelion's ODBC tutorials. A copy of test.mdb is included in the zip file.

Download

13.3 KB

PC1256Test Version 1.0: A simple program to test the freeware encryption code: Alexander Pukall's PC1 Encryption algorithm. The PC1 cipher uses a 256-bit key. The C source code is included in this distribution, The PC1256.dll was compiled using Dev-C++ 4.9.8.0 (GCC 3.2).

Download

25.2 KB

VMySQLDB Version 1.0: A tool that allows you to view the structure of MySQL databases. This program requires libmysql.dll which is included in your MySQL distribution.

Download

291 KB

VSQLiteStruc Version 1.0: A tool that allows you to view the structure of SQLite databases. This package also includes SQLite.DLL. For more information on SQLite, please visit http://www.sqlite.org

Download

389 KB

TrayIcon Version 1.0.0: A simple Tray Icon application template.

Download

16 KB

SDIAsm Version 1.0.0: A simple SDI (Single Document Interface) application template.

Download

25 KB

DlgAsm Version 2.0 A simple dialog-based application template.

Download

22 KB

QLogoff Version 1.0.0: Logoff Windows

Download

2 KB

QShutdown Version 1.0.0: Shutdown Windows

Download

2 KB

QReboot Version 1.0.0: Reboot Windows

Download

2 KB

GetCommandLine Version 1.0.0: Get command line and display full string (program name and path with command line string) in a message box.

Download

4 KB

GetCommandLine Version 2.0.0: Get command line and displays the second part, that is, without the program name and path. This version will extract only the command line string enclosed in quotes.

Download

5 KB

SetWallpaper Version 1.0.0: Set desktop wallpaper with bitmap.

Download

5 KB

RmWallpaper Version 1.0.0: Remove desktop wallpaper.

Download

1.5 KB

Bell Version 1.0.0: Play a Wav File.

Download

65.9 KB

Sprintf Version 1.0.0: Call sprintf from msvcrt.dll.

Download

1.55 KB

MCal 1.0.0: Displays monthly calendar using ComCtl32.dll.

Download

4.59 KB

 

Programs Contributed by Other RosAsm Users

DescriptionDownload URLFile Size (KB)
RobotBobNTLogoff Version 1.0.0: Logoff/Shutdown Windows, an enhanced version of QLogoff, now works on NT based OSes. This program is contributed by RobotBob. Thanks Eric for the NT related routines. :-)

 

Download

3 KB

Note: If you are an experienced RosAsm user, I would appreciate your comments on my programs, Thanks.:-)

If you are looking for more RosAsm programs, check out this website by The Half a Wannabee at: http://www.szmyggenpv.com/RosAsm.htm

 

What is RosAsm? It is an IDE for Win32 assembly programming. In my opinion, it is also a RAD tool for building Win32 programs using assembly. It has built-in source code editor, assembler, debugger, dis-assembler and visual resource editor.

You can download RosAsm from this site:

http://www.rosasm.org

More FREE downloads: Assembly, C, and C++ tips, tutorials, source codes and sample ebooks at http://www.yeohhs.com

My E-mail: yeoh@yeohhs.com

This page was last updated on 6 November 2005. It was created using HTMLGen, my RosAsm program that auto-generates html pages.


free hit counter