Website info
More info/contact
Unique visitors: 270181
Copyright 1999 - 2017
Bak-O-Soft (Poul Bak)
Rewards
Host
Hosted by:
PBSharePack demos
BasicDemo

BasicDemo demonstrates:

  • How to use PBShareSingle component to share program-settings between applications.
  • How changing settings in one application (caption or resizing) is synchronized between running applications.
  • How to use the OnDoReadAll and OnDoWriteAll events (using the Writer and Reader parameters).

The demo shares the forms caption, width and height. Changing the settings in one app will be reflected in the others.

A snapshot of the demo:

DLLDemo

DLLDemo demonstrates:

  • How to use PBShare components to share data between an exe and a DLL.
  • How to share a record type with PBShareSingle using the OnDoWriteAll and OnDoReadAll events.
  • How to use global procedures as eventhandlers (when using PBShare in DLLs).
  • How the InterProcess property works.

The demo just gets the current time from a dll.

A snapshot of the demo:

PBShareImagesDemo

PBShareImagesDemo demonstrates:

  • How to use PBShareImages component to share a list of DIFFERENT-SIZE bitmaps between applications with only one bitmap in local memory (makes it possible to share huge images).
  • How the applications run independently - all using the shared images - dynamically updated.
  • How auto-resizing of the share happens when needed.

The demo is a small animation program. Draw-add image, draw-add image. The other instances can show the animation while you draw.

The demo includes a sample animation, not beautiful, but shows the idea.

A snapshot of the demo:

PBShareMemIniDemo

PBShareMemIniDemo demonstrates:

  • How to use PBShareMemIni component to share A TMemIniFile between applications.
  • How to use AutoUpdate property.

A snapshot of the demo:

PBShareMultiDemo

PBShareMultiDemo demonstrates:

  • How to use PBShareMulti component to share a dynamic list of data between applications with only one element in local memory.
  • How to share a list of record type with PBShareMulti using the OnDoWriteItem and OnDoReadItem events.
  • How fast the components can resize the shared memory (resize performance).
  • How BeginUpdate and EndUpdate can influence performance.

The demo just displays the items (a record with a boolean, a TDateTime and a string).

A snapshot of the demo:

PBShareOneInstanceDemo

PBShareOneInstanceDemo demonstrates:

  • How to use PBShareOneInstance component to limit your application to one instance.
  • How the commandline for the second app is sent to the first app.
  • How the returned commandline can be scanned.

A snapshot of the demo:

PBShareSingleDemo

PBShareSingleDemo demonstrates:

  • How to use PBShareSingle component to share data between aapplications.
  • A great performance tester!
  • How to share an object with streaming capabilities with PBShareSingle..

The demo shares an image. The image updates in all apps while you draw. Every mousemove results in sending 0.5 Mb data to the other apps.

A snapshot of the demo:

PBShareStringListDemo

PBShareStringListDemo demonstrates:

  • How to use PBShareStringList component to share a TStrings object between applications.
  • How to share an external TStrings object and achieve AutoUpdate.
  • How to share variables using TStrings' Values property.

A snapshot of the demo:

ThreadDemo

ThreadDemo demonstrates:

  • How to use PBShareSingle component to share data between threads and main-thread (application).
  • How to create threads that process messages (the thread unit can be used as a prototype).
  • How to suspend the threads (in an alertable state) when no messages are present and no calculation is needed.
  • How to use the RemoteControl method.

The demo creates threads that shares the GetTickCount value.

A snapshot of the demo:

RemoteControlDemo

RemoteControlDemo demonstrates:

  • How to use PBShare components to remotely control other applications.
  • How you can remotely open and close other shares.
  • How to use the RemoteControl method.

A snapshot of the demo: