🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #86076

--

#86076
From: Jeff-Relf.Me
Date: Tue, 08 Jul 2014 23:08
36 lines
2331 bytes
Darrin, Joshua,  The source code I wrote,
for my newsreader (X.EXE), has no .h file; it's just:

  http://Jeff-Relf.Me/X.CPP  http://Jeff-Relf.Me/X.PNG
  http://Jeff-Relf.Me/X.HTM  http://Jeff-Relf.Me/X.EXE

It's designed for Windows 8 only.
It might run on Windows 7, if you install:

  Platform Update for Windows 7
  http://support.microsoft.com/kb/2670838

Having only one source file, like that,
makes it much easier to maintain.

There's no modularity.
I use globals, goto, and "#define" liberally.
I use Visual Studio 2013, which few people have.

X.EXE employs a custom "console".
This example code outlines the basics of the console:

  http://Jeff-Relf.Me/DirectX.CPP,
  Visual C++ 2013, is a small (one-file)
  example of how to:
  -- Use DirectX 11.1, Direct2D 1.1, DirectWrite, and Direct3D.
  -- Replace DirectDraw/GDI+, etc.
  -- Draw to a back buffer at a high fps (frames per second).
  -- Draw properly scaled/smoothed .JPG files, hardware accelerated.
  -- Draw to/from/within bitmaps.
  -- Discover if a font exists or not ("FindFamilyName()").
  -- Discover if a glyph exists in a font ("HasCharacter()").
  -- Discover the width/height of a glyph ("GlyphWH()").

  Note: This code needs Windows 8 or later.
  ScreenShot (4K/UHD): http://Jeff-Relf.Me/Glyph.JPG
Technical Details
Message-ID: <Jeff-Relf.Me@Jul.8{16.08.Seattle.2014}>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!nntpswitch.blueworldhosting.com!not-for-mail
References: <lpep6v$ii6$1@dont-email.me> <lpf3mv$1o7$1@dont-email.me> <lpfhhq$gld$1@dont-email.me> <lpfo12$mnk$1@dont-email.me> <lph1bp$6p8$1@dont-email.me> <lphqpm$467$1@dont-email.me>

Show Full Headers
Complete Article Headers
Message-ID: <Jeff-Relf.Me@Jul.8{16.08.Seattle.2014}>
Subject: --
Date: Tue, 08 Jul 2014 23:08:33 +0000
From: Jeff-Relf.Me <@.>
References: <lpep6v$ii6$1@dont-email.me> <lpf3mv$1o7$1@dont-email.me> <lpfhhq$gld$1@dont-email.me> <lpfo12$mnk$1@dont-email.me> <lph1bp$6p8$1@dont-email.me> <lphqpm$467$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!nntpswitch.blueworldhosting.com!not-for-mail
Content-Type: Text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Newsgroups: alt.free.newsservers,news.software.nntp,alt.os.linux
User-Agent: Jeff-Relf.Me/X.HTM
X-Complaints-To: abuse@blueworldhosting.com
Organization: BWH Usenet NNTPSwitch-Cluster
Lines: 36
NNTP-Posting-Date: Tue, 08 Jul 2014 18:08:33 -0500
X-Trace: e2d4853bc79f1ec90b8a624830