Click here to Skip to main content
15,887,267 members
Home / Discussions / C#
   

C#

 
Generalerror progation from ATL to c# Pin
rana7415-Apr-04 16:24
rana7415-Apr-04 16:24 
GeneralRe: error progation from ATL to c# Pin
Mike Dimmick16-Apr-04 2:30
Mike Dimmick16-Apr-04 2:30 
QuestionCalling COM methods from a module NOT ALLOWED? Pin
normanordas15-Apr-04 15:28
normanordas15-Apr-04 15:28 
AnswerRe: Calling COM methods from a module NOT ALLOWED? Pin
Mike Dimmick16-Apr-04 0:59
Mike Dimmick16-Apr-04 0:59 
GeneralRe: Calling COM methods from a module NOT ALLOWED? Pin
normanordas16-Apr-04 3:00
normanordas16-Apr-04 3:00 
AnswerRe: Calling COM methods from a module NOT ALLOWED? Pin
Heath Stewart16-Apr-04 4:10
protectorHeath Stewart16-Apr-04 4:10 
GeneralRe: Calling COM methods from a module NOT ALLOWED? Pin
normanordas18-Apr-04 15:45
normanordas18-Apr-04 15:45 
GeneralRe: Calling COM methods from a module NOT ALLOWED? Pin
Heath Stewart19-Apr-04 2:22
protectorHeath Stewart19-Apr-04 2:22 
As I said in my reply, you use tlbimp.exe on the typelib - either an external .tlb or a typelib as a resource in an execute. A typelib, BTW, contains no executable code. There is still a COM server somewhere on your server that implements the interfaces that the typelib describes. That's all typelibs are - information about COM objects implemented in an executable (the COM server) that languages and frameworks can use to discover type information at design-time and compile-time.

Even VB only uses the typelib for type information. At runtime, the CLSIDs (class IDs) are used to find the executed and its class factory creates an instance of the COM object with that CLSID (this is a very basic overview). If tlbimp.exe doesn't see a certain object or method, it's probably because it violates some rules of COM and cannot be imported.

You should familiarize yourself with COM since VB hides all that from you, and run oleview.exe (part of the Platform SDK tools, which is installed by default with Visual Studio) passing the path to your typelib as the sole parameter. This will show you the IDL. Take a look at the method and, if you want, post back the method signature in this thread.

 

Microsoft MVP, Visual C#
My Articles
QuestionHow do you deal with checkboxes in C#??? Pin
adonisv15-Apr-04 10:43
adonisv15-Apr-04 10:43 
AnswerRe: How do you deal with checkboxes in C#??? Pin
Judah Gabriel Himango15-Apr-04 10:50
sponsorJudah Gabriel Himango15-Apr-04 10:50 
AnswerRe: How do you deal with checkboxes in C#??? Pin
Daniel Turini15-Apr-04 10:55
Daniel Turini15-Apr-04 10:55 
GeneralWhat a coincidence! Pin
adonisv15-Apr-04 12:01
adonisv15-Apr-04 12:01 
AnswerRe: How do you deal with checkboxes in C#??? Pin
Nnamdi Onyeyiri15-Apr-04 11:01
Nnamdi Onyeyiri15-Apr-04 11:01 
GeneralSetup Project with Crystal Pin
hxxbin15-Apr-04 10:22
hxxbin15-Apr-04 10:22 
GeneralRe: Setup Project with Crystal Pin
Heath Stewart15-Apr-04 11:10
protectorHeath Stewart15-Apr-04 11:10 
GeneralRe: Setup Project with Crystal Pin
hxxbin16-Apr-04 3:47
hxxbin16-Apr-04 3:47 
GeneralRe: Setup Project with Crystal Pin
hxxbin16-Apr-04 6:35
hxxbin16-Apr-04 6:35 
GeneralRe: Setup Project with Crystal Pin
Heath Stewart16-Apr-04 6:37
protectorHeath Stewart16-Apr-04 6:37 
GeneralRe: Setup Project with Crystal Pin
Braulio Dez15-Apr-04 23:40
Braulio Dez15-Apr-04 23:40 
GeneralRe: Setup Project with Crystal Pin
Braulio Dez15-Apr-04 23:41
Braulio Dez15-Apr-04 23:41 
GeneralRe: Setup Project with Crystal Pin
hxxbin16-Apr-04 3:46
hxxbin16-Apr-04 3:46 
GeneralRe: Setup Project with Crystal Pin
hxxbin16-Apr-04 4:37
hxxbin16-Apr-04 4:37 
GeneralRe: Setup Project with Crystal Pin
hxxbin16-Apr-04 7:22
hxxbin16-Apr-04 7:22 
GeneralCapitalize String in Grid Column Pin
Bitwise Gamgee15-Apr-04 10:05
Bitwise Gamgee15-Apr-04 10:05 
GeneralRe: Capitalize String in Grid Column Pin
Heath Stewart15-Apr-04 11:08
protectorHeath Stewart15-Apr-04 11:08 

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.