Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

importing a COM dll

donkyhodonkyho Posts: 99Member
[b][red]This message was edited by donkyho at 2003-6-19 11:8:0[/red][/b][hr]
I can't for the life of me, create a simple object from my COM dll. I'm writing my page in C#, here's the line I'm using.

[code]
DbBus.IDbController db = (DbBus.IDbController)Server.CreateObject("DbBus.DbController");
[/code]

DbBus is the .dll name, IDbController is the interface and CDbController is the implementation class. PLEASE!!! SOMEONE GIVE ME THAT DAMN LINE OF CODE! :)

I know I know, it's sooo easy, but for some reason I can't figure it out. And yes, I referenced it

Thanks in advance


Sign In or Register to comment.