Displaying 1 result from an estimated 1 matches for "statconnectorcharacterdevice".
Did you mean:
istatconnectorcharacterdevice
2001 Aug 12
1
R (D)COM automation server for windows, type mismatch?
...ons
within Excel, I can attach a graphics device but not a character device.
The controls I added to the form by means of the 'toolbox' both originate
from the client library (see below) and are named
'Gfx1' (of type StatConnectorGraphicsDevice) and
'CharDev' (of type StatConnectorCharacterDevice)
The code fragment working with them is:
Dim x As StatConnector
Dim gfxdev As ISGFX
Set x = New StatConnector
x.Init ("R")
Set gfxdev = Gfx1.GetGFX
x.AddGraphicsDevice "dev1", gfxdev ' <- this works
x.SetCharacterOutputDevice CharDev ' <- this does...