Archived from groups: rec.photo.digital (More info?)
Canon's RC-SDK (v8.1 / 8.2) allows developers control over their EOS range
of cameras and the images they take. The functions contained in the SDK
are not COM, but c++ api-like.
I've had few problems using the SDK, execpt for one function which is
defined as:
RCMakeImageItem( cdStgMedium StgMedium,
cdImageFormat format,
cdHImaeItem* phImageItem )
stgMedium is a user-defined type passed ByVal
format is a long passed ByVal
phImageItem is a long passed ByRef (to return a handle)
There's obviously no problems passing a long ByVal or ByRef, but my
problem is that VB6 won't compile complaining that UDT's (StgMedium) can't
be passed ByVal & the SDK won't accept it being passed ByRef.
From a programming point of view does anyone know a fancy-assed workaround
to allow udt's to be passed ByVal, or whether this is permitted in vb.net
(or c#) ??
More generally, does anyone have experience of developing with this SDK ??
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.