home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
utility
/
oemclip.zip
/
READ.ME
< prev
Wrap
Text File
|
1993-06-03
|
3KB
|
74 lines
/////////////////////////////////////////////////////////////////////////
// OEMCLIP.CPP (C) Alberto R. Lopez Siemens, 1993
//
// Freeware, Public domain - Also included OEMCLIP.PRJ
//
// OEM-Text to ANSI-text automatic clipboard translator
//
// This program has been developed to fix a problem I encountered when
// tried to copy a portion of a DOS screen into my Word Processor.
//
// The problem is the following:
// ----------------------------
//
// Supose you have a DOS application running in a Window. and want to
// copy its screen (or a portion of it) into a Windows application such as
// a Word Processor.
//
// The first thing you'd do is select Edit|Mark from the system bar menu,
// select the portion of the screen and press Enter. Then, switch to your
// word processor and paste the data.
//
// It simply doesn't work as expected !
//
// If the screen capture has ASCII characters greater than 127, as
// line-drawing, or international characters, you'll find that when pasted
// into a Windows application that caracters are translated. The good-
// looking line-drawing characters are transformed in ugly character
// equivalences as '-', '|' and '+'.
//
// That's not what I want. I want my screen as I see it. This is a
// Windows feature where "What you see is NOT what you get".
//
// People at Microsoft wasn't be able to give me a solution. They said
// that Windows uses ANSI character set only. Period. And that I can't
// do what I want. So here is the solution. (Actually they gave me some
// trivial solutions as search-and-replacing the characters or use
// Alt-PrtScrn to get a bitmap representation of the screen).
//
// This program works registering itself as a Windows Clipboard Viewer.
// When it detects that a DOS application pastes data into the clipboard
// it simply translates it from ASCII to ANSI.
//
// To install OEMCLIP just double-click its icon or File|Run from
// Program Manager. As default it run minimized. You can maximize it but
// the contents of the window is meaningless. It is only a poor
// representation of the data in the clipboard.
//
// To use pasted text You'll need a Windows font with ASCII character set.
// At this moment I know two: LotusLineDraw (comes with AmiPro or Lotus 123
// for Windows) and Video Terminal Screen (You can find it in DTPFORUM,
// Lib 9, File: VTSR-T.ZIP (Shareware)
//
// Not too bad since this is my first Windows Program (I didn't even try
// a WinHello.CPP).
//
// You need BC++ 3.1 and ObjectWindows library to recompile this program.
//
// Suggestions & comments are welcome:
// Mail Address:
// DigiSoft SRL
// Ing. Alberto R. Lopez Siemens
// Sarmiento 1426 6to Piso
// (1042) Buenos Aires
// Argentina
//
// Voice/Fax #'s:
// (541) 40-5714
// or
// (541) 46-2151 (Remember we'll answer the phone in spanish !)
//
// CIS Mail: 70501,1574
//
/////////////////////////////////////////////////////////////////////////