Hi there,

I'm a newbee to activeX Dll programming, so this is probably an easy question for you guys.

I want to create a Dll that calculates the pieces of wood in a stocked piece.

So my input will be:
type Wood => sectionX, sectionY, Length, Number, Name
type InStock => sectionX, sectionY, Length, Number

and my output will be:
type Combined => sectionX, sectionY, Length, list of wood.name

My question is:
How can I declare the types Wood and Instock so that I can use it to store information, and make calculations with it. Also how can I make the type Combined so it can be read from my other applications.

I have read something about the property Get and Let, but that doesn't read/write my types.

Thanx in advance