Download Pelles C here: http://www.pellesc.se
#define WIN32_LEAN_AND_MEAN
#include <stdio.h>
#include <windows.h>
extern HANDLE __stdcall OpenFileToWrite(char *file);
extern int __stdcall WriteLine(HANDLE h,char *TextLine);
int main(int argc,char *argv[])
{
HANDLE hFile;
char *line1="This is a test.\r\n";
char *line2="Another test.";
hFile=OpenFileToWrite("Test.txt");
WriteLine(hFile,line1);
WriteLine(hFile,line2);
CloseHandle(hFile);
return 0;
}
Quote from: TimoVJL on October 26, 2026, 12:34:08 PMPowerBasic users have a GDIPLUS.chm
MessageBox
function creates, displays, and operates a message box
int MessageBox( HWND hWnd ,LPCTSTR lpText ,LPCTSTR lpCaption ,UINT uType );
//( Handle of owner window ,Address of text in message box ,Address of title of message box ,Style of message box )Page created in 0.039 seconds with 14 queries.