Click here to Skip to main content
15,914,452 members
Home / Discussions / COM
   

COM

 
AnswerRe: About Com:I need help with the following code(simplified)? Pin
Shadi Al-Kahwaji6-Oct-01 23:21
Shadi Al-Kahwaji6-Oct-01 23:21 
GeneralRe: About Com:I need help with the following code(simplified)? Pin
star_see20-Oct-01 5:34
star_see20-Oct-01 5:34 
GeneralBeginning - direction Pin
john john mackey5-Oct-01 7:37
john john mackey5-Oct-01 7:37 
GeneralCreating a new thread from within an MTA Pin
Jeremy Pullicino4-Oct-01 5:15
Jeremy Pullicino4-Oct-01 5:15 
GeneralRe: Creating a new thread from within an MTA Pin
Shadi Al-Kahwaji6-Oct-01 23:33
Shadi Al-Kahwaji6-Oct-01 23:33 
GeneralRe: Creating a new thread from within an MTA Pin
Jeremy Pullicino8-Oct-01 21:07
Jeremy Pullicino8-Oct-01 21:07 
GeneralRe: Creating a new thread from within an MTA Pin
13-Oct-01 16:18
suss13-Oct-01 16:18 
GeneralUsing COM object in a C++ software Pin
3-Oct-01 1:06
suss3-Oct-01 1:06 
Hi All!

I'm trying to add some Text To Speech and Speech Recognition capabilities to a VC++ software.

I've installed a TTS and a SR software, but they are accessible through COM objects.

The OLE View tool gives the description of these objects.

I've tried to add one of these COM objects into my software, using the following method :
- add it with the ClassView tool (choosing the corresponding DLL : ClassView
creates and adds the corresponding .h and .cpp files
- use the 'classical' COM client code :
1) OleInitialize()
2) CoCreateInstance()

The CoCreateInstance() fails and returns the following error 'ClassNotRegistered'.


As I'm a pure beginner in COM technology, I need some help for this part of my
project.

Thanks.


GeneralRe: Using COM object in a C++ software Pin
Michael P Butler3-Oct-01 1:09
Michael P Butler3-Oct-01 1:09 
GeneralRe: Using COM object in a C++ software Pin
4-Oct-01 22:47
suss4-Oct-01 22:47 
GeneralRe: Using COM object in a C++ software Pin
moliate9-Oct-01 2:15
moliate9-Oct-01 2:15 
GeneralCannot instantiate abstract class due to following members Pin
Shadi Al-Kahwaji2-Oct-01 22:10
Shadi Al-Kahwaji2-Oct-01 22:10 
GeneralRe: Cannot instantiate abstract class due to following members Pin
Michael P Butler2-Oct-01 22:24
Michael P Butler2-Oct-01 22:24 
GeneralRe: Cannot instantiate abstract class due to following members Pin
Shadi Al-Kahwaji2-Oct-01 22:43
Shadi Al-Kahwaji2-Oct-01 22:43 
GeneralRe: Cannot instantiate abstract class due to following members Pin
Michael P Butler3-Oct-01 0:06
Michael P Butler3-Oct-01 0:06 
GeneralRe: Cannot instantiate abstract class due to following members Pin
Michael Dunn2-Oct-01 22:57
sitebuilderMichael Dunn2-Oct-01 22:57 
GeneralRe: Cannot instantiate abstract class due to following members Pin
Michael A Barnhart3-Oct-01 3:19
Michael A Barnhart3-Oct-01 3:19 
GeneralRe: Cannot instantiate abstract class due to following members Pin
Shadi Al-Kahwaji3-Oct-01 4:44
Shadi Al-Kahwaji3-Oct-01 4:44 
GeneralGet windowmessages to a com object Pin
Christer2-Oct-01 1:16
Christer2-Oct-01 1:16 
GeneralRe: Get windowmessages to a com object Pin
NormDroid2-Oct-01 1:20
professionalNormDroid2-Oct-01 1:20 
GeneralRe: Get windowmessages to a com object Pin
Christer2-Oct-01 1:23
Christer2-Oct-01 1:23 
GeneralImporting TLB Problem Pin
Joseph Dempsey1-Oct-01 5:59
Joseph Dempsey1-Oct-01 5:59 
GeneralRe: Importing TLB Problem Pin
Rashid Thadha9-Oct-01 2:43
Rashid Thadha9-Oct-01 2:43 
GeneralTypes, types, types Pin
1-Oct-01 2:52
suss1-Oct-01 2:52 
GeneralRe: Types, types, types Pin
Aaron Schaefer1-Oct-01 4:45
Aaron Schaefer1-Oct-01 4:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.