Click here to Skip to main content
Licence 
First Posted 28 Apr 2004
Views 36,247
Downloads 3,540
Bookmarked 23 times

PiGeOn mail server executable and client DLL

By Lymington | 7 Apr 2005
LAN/WAN wide task/process message server and user message function DLL
1 vote, 12.5%
1
1 vote, 12.5%
2
3 votes, 37.5%
3
2 votes, 25.0%
4
1 vote, 12.5%
5
3.33/5 - 8 votes
μ 3.33, σa 2.18 [?]

Introduction

This is a server program that runs a service on a node on the LAN, and a DLL, PGODLL.dll (which uses BOSDLL.dll), so that user-programs, that have been built to use the functions in this DLL, may converse.

C/C++ programs include PGOmail.h, PGOcalls.h and the resource PGODLL.lib. PGOmail.h, PGOcalls.h and PGOfuncts.doc explain how it is done.

VB programs include PGODLL.bas, and use the public functions therein. PGODLL.bas and PGOfuncts.doc explain how it is done.

Installation

The DLLs

Place the file PGOdist.zip in a directory of your choice, e.g., C:\whatever. Extract Here (using unzip). Go to the directory choice\PGOw\PGOdist where you will find the file PGOdist.bat. You may wish to edit this file to reflect your preferences. Double-click on this. Unedited, this will copy PGODLL.dll (and BOSDLL.dll), into %systemroot%\system32, so that C/C++ programs can use it (them), and register them so that VB programs can use it (them).

The Service

Place the file PGOsvrDist.zip in a directory of your choice, e.g., C:\whatever. Extract Here (using unzip). Go to the directory choice\PGOw\PGOsvrDist where you will find the file PGOsvrDist.bat. You may wish to edit this file to reflect your preferences. Double-click on this. Unedited, this will create a directory C:\Program Files\Lymington and two sub-directories \Data and \Exe. Go to C:\ Program Files\Lymington\Exe where you will find the file PGOsRS.bat. You may wish to edit this file to reflect your preferences. Double-click this and/or add to Scheduled Tasks to run once at boot-up. This will run PGOs.exe on the local node. PGOs.exe may be stopped by double-clicking StopPGOsvr.exe; or, at any time, stopped, if running and restarted, by double-clicking on PGOsRS.bat.

Using the code

VC 6.0 projects: Place the PGODLL.dll in a directory on your path variable. Add the library PGODLL.lib to the project resources. Add the modules PGOmain.h and PGOcalls.h to the project. Use the routines therein.

VB 6.0 projects: Register the PGODLL.dll with regsvr32. Add the module PGODLL.bas to the project. Use the public routines therein.

VB source code to produce the above windows is to be found in the demo VB project.

Points of Interest

PGO mail was developed as a 'Homer' and completed in Feb 2003. It found a use with three programmers, at separated offices (two offices 250 miles apart), who were developing:

  • A VB.NET GUI.
  • An OPC server add-on data-source.
  • A 48 modem line driver to capture region-wide data for the OPC server.
  • With PGOs.exe running on an agreed node, the programs were co-operating within three weeks. The feedback to the implementation design was unusually early. Because the message i/face de-coupled the programs, the modifications/developments were also de-coupled.
  • When the suite was moved to the target node, the service was confined to this node by using the IP 'localhost'.

History

  • 3.4 Comment/Logging maintenance.
  • 3.2 Server-side 'select' timeout is reduced from 50 to 1 millisecond. This allows faster transfer, though one's machine will get busier.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Lymington

Web Developer

United Kingdom United Kingdom

Member
BSc (St.Andrews(1963-67))
MSCE
Systems Programmer 39+yrs
Married to first wife 35yrs & counting, four grown-up children
Religious opinions similar to MelG's
It is not the gnosis, but the praxis must be the fruit. (Aristotle)

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralSome thoughts. Pinmembersolo23:11 10 May '04  
GeneralRe: Some thoughts. PinmemberLymington2:33 11 May '04  
GeneralRe: Some thoughts. Pinmembersolo19:44 11 May '04  
GeneralRe: Some thoughts. PinmemberLymington1:41 13 May '04  
GeneralMissing (at least) Pinmemberc2j20:24 4 May '04  
GeneralRe: Missing (at least) PinmemberLymington6:58 8 May '04  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web03 | 2.5.120210.1 | Last Updated 7 Apr 2005
Article Copyright 2004 by Lymington
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid