Issue Details (XML | Word | Printable)

Key: BOO-1003
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Cedric Vivier
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Boo

Support CoClassAttribute

Created: 22/Apr/08 04:03 AM   Updated: 22/Apr/08 04:03 AM
Component/s: Compiler
Affects Version/s: 0.8.1
Fix Version/s: 0.9

Time Tracking:
Not Specified


 Description  « Hide
On C#/VB it is valid to instantiate a COM object through its interface.
Internally the constructor of the type defined by interface's CoClassAttribute is invoked.

For instance with SAPI :

import Interop.SpeechLib

voice = SpVoice() #doesn't work because it is an interface => compiler should automatically replace it by SpVoiceClass instantiation



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.