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

COM

 
AnswerRe: How to handle huge strings and cross over calls?? Pin
soptest3-May-02 14:28
soptest3-May-02 14:28 
GeneralOCX invisible in Netscape Navigator Pin
maya25-Apr-02 20:36
maya25-Apr-02 20:36 
GeneralRe: OCX invisible in Netscape Navigator Pin
Amit Dey27-Apr-02 16:46
Amit Dey27-Apr-02 16:46 
GeneralPowerpoint and Launching External Apps Pin
jedidjab7925-Apr-02 2:13
jedidjab7925-Apr-02 2:13 
GeneralRe: Powerpoint and Launching External Apps Pin
Amit Dey27-Apr-02 16:55
Amit Dey27-Apr-02 16:55 
GeneralRe: Powerpoint and Launching External Apps Pin
Amit Dey27-Apr-02 19:14
Amit Dey27-Apr-02 19:14 
GeneralRe: Powerpoint and Launching External Apps Pin
jedidjab7928-Apr-02 15:33
jedidjab7928-Apr-02 15:33 
GeneralProblem with C# COM server Pin
Tunca Bergmen24-Apr-02 23:38
Tunca Bergmen24-Apr-02 23:38 
I have built a COM server with c# and tested it with VB 6.0. Everything has gone well with VB. But when I tried to use it with VC++ it didn't work. I imported the type library with and without the no_namespace directive. When I compiled the project it gave these errors:


c:\MyProjects\MFC\COMClient1\Debug\COMServer1.tli(57): error C2064: term
does not evaluate to a function

c:\MyProjects\MFC\COMClient1\Debug\COMServer1.tli(53): error C2501:
'_TypePtr' : missing storage-class or type specifiers

c:\MyProjects\MFC\COMClient1\Debug\COMServer1.tli(53): error C2433:
'_TypePtr' : 'inline' not permitted on data declarations

c:\MyProjects\MFC\COMClient1\Debug\COMServer1.tli(53): error C2143:
syntax error : missing ';' before '_QuoteServer::GetType'

c:\MyProjects\MFC\COMClient1\Debug\COMServer1.tlh(86): warning C4183:
'GetType': missing return type; assumed to be a member function
returning 'int'

c:\MyProjects\MFC\COMClient1\Debug\COMServer1.tlh(86): error C2501:
'_QuoteServer::_TypePtr' : missing storage-class or type specifiers

c:\MyProjects\MFC\COMClient1\Debug\COMServer1.tlh(86): error C2146:
syntax error : missing ';' before identifier 'GetType'



my COM server has only two methods:

string GetQuote ();

int GetInt ();


There is a problem with the type library. _TypePtr is not defined anywhere. The interesting thing is that this component works very well with Visual Basic. Does anybody know what this problem might be?


Thanks,


Tunca Bergmen
AnswerRe: Problem with C# COM server Pin
netcreator16-Apr-09 17:54
netcreator16-Apr-09 17:54 
GeneralPlease help me! Pin
StefanM24-Apr-02 11:01
StefanM24-Apr-02 11:01 
QuestionHow to pass a string into COM Pin
24-Apr-02 5:34
suss24-Apr-02 5:34 
AnswerRe: How to pass a string into COM Pin
Paul M Watt24-Apr-02 5:42
mentorPaul M Watt24-Apr-02 5:42 
GeneralRe: How to pass a string into COM Pin
Sayan Mukherjee24-Apr-02 21:30
Sayan Mukherjee24-Apr-02 21:30 
GeneralRe: How to pass a string into COM Pin
25-Apr-02 1:29
suss25-Apr-02 1:29 
GeneralRe: How to pass a string into COM Pin
Matt Philmon1-May-02 2:11
Matt Philmon1-May-02 2:11 
AnswerRe: How to pass a string into COM Pin
soup29-Apr-02 2:21
soup29-Apr-02 2:21 
GeneralA strange issue about custom interface Pin
maya24-Apr-02 4:08
maya24-Apr-02 4:08 
GeneralRe: A strange issue about custom interface Pin
Paul M Watt24-Apr-02 8:24
mentorPaul M Watt24-Apr-02 8:24 
GeneralTimer in DCOM server Pin
Hans Ruck23-Apr-02 23:11
Hans Ruck23-Apr-02 23:11 
GeneralRe: Timer in DCOM server Pin
Sayan Mukherjee24-Apr-02 21:38
Sayan Mukherjee24-Apr-02 21:38 
QuestionHow to uninstall a component(.dll) by C++ Pin
23-Apr-02 16:47
suss23-Apr-02 16:47 
AnswerRe: How to uninstall a component(.dll) by C++ Pin
bryce23-Apr-02 16:52
bryce23-Apr-02 16:52 
AnswerRe: How to uninstall a component(.dll) by C++ Pin
Vi223-Apr-02 21:01
Vi223-Apr-02 21:01 
AnswerRe: How to uninstall a component(.dll) by C++ Pin
Amit Dey27-Apr-02 16:49
Amit Dey27-Apr-02 16:49 
QuestionHow to uninstall a component(.dll) in a web page Pin
23-Apr-02 16:29
suss23-Apr-02 16:29 

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.