Dec 182017
 
Handy Windows utility that lets you send debug message to a Server window that then displays them. Full source code is included.
File DBPUTS.ZIP from The Programmer’s Corner in
Category C Source Code
Handy Windows utility that lets you send debug message to a Server window that then displays them. Full source code is included.
File Name File Size Zip Size Zip Type
DBCLIENT.C 3878 1301 deflated
DBCLIENT.CFG 276 149 deflated
DBCLIENT.DEF 380 253 deflated
DBCLIENT.EXE 15149 6630 deflated
DBCLIENT.H 311 183 deflated
DBCLIENT.ICO 766 226 deflated
DBCLIENT.MAK 1252 560 deflated
DBCLIENT.RC 654 366 deflated
DBPUTS.C 4123 1529 deflated
DBPUTS.CFG 283 156 deflated
DBPUTS.DEF 647 369 deflated
DBPUTS.DLL 11839 5166 deflated
DBPUTS.H 206 136 deflated
DBPUTS.LIB 1024 158 deflated
DBPUTS.MAK 1236 568 deflated
DBPUTS.RC 105 92 deflated
DBPUTS2.C 4945 1581 deflated
DBSERVE2.C 5948 1637 deflated
DBSERVER.C 4988 1730 deflated
DBSERVER.CFG 229 128 deflated
DBSERVER.DEF 381 257 deflated
DBSERVER.EXE 14224 5679 deflated
DBSERVER.H 310 183 deflated
DBSERVER.ICO 766 226 deflated
DBSERVER.MAK 1205 538 deflated
DBSERVER.RC 699 376 deflated
MAKEFILE 357 119 deflated
READ.ME 2075 1116 deflated

Download File DBPUTS.ZIP Here

Contents of the READ.ME file


DBPUTS Version 2.0January 13, 1993


What it is
----------
Have you ever wanted to debug more than one task at a time? -Ever felt
a NEED to see what the order of messages were between two different
windows (perhaps adding a time-stamp or two?). Well, then DBPUTS is the
program for you!

(I shouldda been in igloo sales...)

DBPUTS was featured in the December 1992 issue of BYTE MAGAZINE,
under "Some Assembly Required". I wrote the article to help explain
how DLL's work in general, and how to use DBPUTS in particualr.

The program consists of three files, DBCLIENT.EXE, DBSERVER.EXE,
and DBPUTS.DLL. DBCLIENT is an example of how YOUR program should
look in order to use DBPUTS/DBSERVER. It is included for demonstration
purposes, only.


How it works
------------
In a nutshell, one or more DBCLIENT's use DBPUTS to sent string-messages
to DBSERVER using "dbprintf()" and "dbputs()". To use the program,
all you have to do is sprinkle "dbputs()" and "dbprintf()" calls around
your code, and link to DBPUTS.LIB. If DBPUTS is ever run without
DBSERVER.EXE running, DBPUTS will WinExec() a copy of the server
program for you to use automatically (Thanks, John Udell!!).

After you make sure that DBPUST.DLL is either in your `pwd` or in
\WINDOWS\SYSTEM, all you have to do is to run your program to see
the messages flow-into the DBSERVER listbox as you want to see them.

Note that the program will work with several flavors of BASIC and
PASCAL for Windows, so you can use DBPUTS as a common task-and-language
messaging backbone.


Don't Forget!
-------------
All that I ask is that if you modify these files, let me know so that
I can share your goodies with the rest of the world (I'll give you the
credit in the next READ.ME file)! Also, although I have tested this
stuff and it runs without any flaws that I can see, I am obliged to
mention that you have to USE THIS AT YOUR OWN RISK!



Have Fun!



Regards,


Randall A. Nagy


internet:[email protected]
compuserve:72561,2005



 December 18, 2017  Add comments

Leave a Reply