By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,462 Members | 799 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,462 IT Pros & Developers. It's quick & easy.

How to Register COM Interop?

P: n/a
I asked this before, someone said I need use regasm, but it doesn;t seem to
work.

I am developing a class library which impelements a smtp sink. when I
compiled the project, the last statement is "Registering project output for
COM Interop", that registers the COM Interop on my develope machine. I am
trying to register the dll on other machine. Regsvr32 doesn't, and regasm
too. How could I register this type of dll?

Thanks!
Jul 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
I tried codebase, and it works, but I am not sure why. what is the tlb for?

"Jos?Joye" <jo*******@KILLTHESPAMSbluewin.ch> wrote in message
news:u7**************@TK2MSFTNGP11.phx.gbl...
If you type:
regasm /tlb:'yourDllName'.tlb 'yourDllName'.dll

Do you have any error?
If not, launch Ole/Com Viewer from Tool menu in VS.net and search for your
interface

Jos?

"davidw" <wy*****@hotmail.com> wrote in message
news:u5*************@tk2msftngp13.phx.gbl...
I asked this before, someone said I need use regasm, but it doesn;t seem

to
work.

I am developing a class library which impelements a smtp sink. when I
compiled the project, the last statement is "Registering project output

for
COM Interop", that registers the COM Interop on my develope machine. I am trying to register the dll on other machine. Regsvr32 doesn't, and regasm too. How could I register this type of dll?

Thanks!


Jul 19 '05 #2

P: n/a
..tlb is used by non managed application to get the interface definition.
When I was working with C++ and COM, a tool was provided to generate from
the .tlb file a set of classes that were providing "easier" programming
model to access the COM object.

Josť
"davidw" <wy*****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
I tried codebase, and it works, but I am not sure why. what is the tlb for?
"Jos?Joye" <jo*******@KILLTHESPAMSbluewin.ch> wrote in message
news:u7**************@TK2MSFTNGP11.phx.gbl...
If you type:
regasm /tlb:'yourDllName'.tlb 'yourDllName'.dll

Do you have any error?
If not, launch Ole/Com Viewer from Tool menu in VS.net and search for your
interface

Jos?

"davidw" <wy*****@hotmail.com> wrote in message
news:u5*************@tk2msftngp13.phx.gbl...
I asked this before, someone said I need use regasm, but it doesn;t
seem to
work.

I am developing a class library which impelements a smtp sink. when I
compiled the project, the last statement is "Registering project
output for
COM Interop", that registers the COM Interop on my develope machine.
I am trying to register the dll on other machine. Regsvr32 doesn't, and regasm too. How could I register this type of dll?

Thanks!



Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.