Click here to Skip to main content
15,921,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: EEPROM and BlueTooth Pin
CPallini14-May-08 21:04
mveCPallini14-May-08 21:04 
GeneralRe: EEPROM and BlueTooth Pin
IamPoojaa14-May-08 22:22
IamPoojaa14-May-08 22:22 
QuestionS-ATA and IDE/ATA hard drive Pin
Madan Chauhan14-May-08 18:33
Madan Chauhan14-May-08 18:33 
QuestionSMTP address, IP Address, username and password Pin
shruthi8214-May-08 18:08
shruthi8214-May-08 18:08 
QuestionCOM tutorial site... Pin
RYU^^14-May-08 16:32
RYU^^14-May-08 16:32 
AnswerRe: COM tutorial site... Pin
Rajesh R Subramanian14-May-08 18:27
professionalRajesh R Subramanian14-May-08 18:27 
AnswerRe: COM tutorial site... Pin
Hamid_RT14-May-08 18:28
Hamid_RT14-May-08 18:28 
GeneralRe: COM tutorial site... Pin
RYU^^15-May-08 18:18
RYU^^15-May-08 18:18 
What is possibly the cause of this?

Retrieving the COM class factory for component with CLSID {87109B64-4DA3-4D97-83B6-6FC6DAC78971} failed due to the following error: 80040154.


Here is my IDL declaration:
import "unknwn.idl";

[
    object,
    uuid(1221db62-f3d8-11d4-825d-00104b3646c0),
    helpstring("Test Interface")
]
interface ITestInterface : IUnknown
{
    HRESULT     TestReturnValue([out,retval] long *pBuffer);
};

[
    uuid(3ff1aab8-f3d8-11d4-825d-00104b3646c0),
    helpstring("Interfaces for Code Guru algorithm implementations .")
]
library MyTestLibrary
{
    importlib("stdole32.tlb");
    importlib("stdole2.tlb");
    [
        uuid(87109B64-4DA3-4d97-83B6-6FC6DAC78971)
    ]
    coclass MyTestObject
    {
        [default] interface ITestInterface;
    }
}


After convert it to Interop dll, I am using it in C#
MyTestLibrary.MyTestObjectClass testObj;
testObj = new MyTestLibrary.MyTestObjectClass();               //It fails here...


Thanks Smile | :)
AnswerRe: COM tutorial site... Pin
ShilpiP14-May-08 19:15
ShilpiP14-May-08 19:15 
Questionmigrating from socket programming in C to C++ Pin
ADTC#14-May-08 14:59
ADTC#14-May-08 14:59 
AnswerRe: migrating from socket programming in C to C++ Pin
Naveen14-May-08 15:09
Naveen14-May-08 15:09 
GeneralRe: migrating from socket programming in C to C++ Pin
ADTC#14-May-08 16:06
ADTC#14-May-08 16:06 
GeneralRe: migrating from socket programming in C to C++ Pin
Naveen14-May-08 16:14
Naveen14-May-08 16:14 
GeneralRe: migrating from socket programming in C to C++ Pin
ADTC#14-May-08 16:21
ADTC#14-May-08 16:21 
GeneralRe: migrating from socket programming in C to C++ Pin
Naveen14-May-08 16:25
Naveen14-May-08 16:25 
GeneralRe: migrating from socket programming in C to C++ Pin
ADTC#14-May-08 16:28
ADTC#14-May-08 16:28 
GeneralRe: migrating from socket programming in C to C++ Pin
Naveen14-May-08 16:31
Naveen14-May-08 16:31 
GeneralRe: migrating from socket programming in C to C++ Pin
ADTC#14-May-08 16:38
ADTC#14-May-08 16:38 
GeneralRe: migrating from socket programming in C to C++ Pin
Naveen14-May-08 16:42
Naveen14-May-08 16:42 
QuestionRe: migrating from socket programming in C to C++ Pin
ADTC#14-May-08 15:14
ADTC#14-May-08 15:14 
QuestionResource view with converted project Pin
Vancouver14-May-08 12:13
Vancouver14-May-08 12:13 
QuestionRe: Resource view with converted project Pin
CPallini14-May-08 21:08
mveCPallini14-May-08 21:08 
AnswerRe: Resource view with converted project Pin
Hamid_RT15-May-08 0:13
Hamid_RT15-May-08 0:13 
AnswerAnswers to the above questions, addendum Pin
Vancouver15-May-08 5:54
Vancouver15-May-08 5:54 
QuestionQuestions about subclassing controls. Pin
jonsey2984714-May-08 9:31
jonsey2984714-May-08 9:31 

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.