WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Articles
Programming Quick Start
32-bit Assembler is Easy
Porting Iczelion tutorials
What is FASM
Hard Drive Recovery
Wiring your own LAN
 
Forum
 

How can i make program that build NEW textfile, How can i make program that build NEW textfile

VBGuru
Quote Post


New Member
*

Group: Members
Posts: 2
Member No.: 41130
Joined: 14-January 11


Sponsored Links
Hello winasm forum guys

Im Greenhorn in MASM plz help or must i spend
100 $ Paypal for a basic example ?

I have a problem i want to make a program
that generate a Textfile "Newtext.txt" inside
the Textfile this string "Newtext"

i use The WinAsm v5.1.8.0 and TRY it with the Base Example

I NEED Command for OK Button

And the Correct for .Data

For each Language are BASIC examples available why not for MASM ?

P L E A S E Help ...
PMEmail Poster
Top
shoorick
Quote Post


Extremely Active Member
******

Group: Admins
Posts: 2309
Member No.: 160
Joined: 22-June 04


you can use CreateFile API function for this (look MSDN or MS win32.hlp for parameters and their meanings). just create new file and write there whatever you want. if you will write there a sequense of bytes which represents a string in certain encoding, you can be sure it is a text file. there are many examples for masm where you can see how to build simple applications with it and how to use many of API functions. CreateFile is kinda general function.
PMEmail PosterUsers Website
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll

 

Sponsors
Computer Science

Internet
C/C++
Hardware & PC maintenance

HiEditor

General Discussions
Suggestions/Bug Reports
WinAsm Studio

General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Announcements & Rules

Announcements

General

Online Degrees - Distance Learning
The Heap
Russian