OpenH323 in VB

Build Instructions For Visual C++ 6

First download the latest snapshot from OpenH323. Follow the build instructions given there.

Once Openh323 is successfully learnt on how to build openH323 with no errors, proceed.

NOTE: WHEN SETTING UP THE INCLUDE DIRECTORIES FOR VISUAL C, PUT THE C:\OPENH323\INCLUDE BEFORE ANY OTHER DIRECTORIES. This is because VisualC also distribtures rtp.h which is different to the Openh323\include\rtp.h

Modification To PTLib Thread class for COM

win32.cxx - Initialise each thread for appartment model.  This allows us to marshall Onx() callbacks back onto VB thread later.  We will static link again PWLib with this modification, so there are no mismatch DLLs to get wrong.

 

Building OpenH323.ocx

Download and unzip VC project.  Requires OpenH323 NoTrace build, and PWLib.

Build static debug or release versions.

VC Should register ocx.  If it doesn't, from cmd prompt type: regsvr32 openh323.ocx