COM in custom control

Results 1 to 2 of 2

Thread: COM in custom control

  1. #1
    Join Date
    Dec 1969

    Default COM in custom control

    Hi,<BR>Can I use a COM or ActiveX component in my custom server control?<BR><BR>thanks in advance

  2. #2
    Join Date
    Dec 1969

    Default Yes, but

    1 - your control will probably be a real drag performance-wise. You will have at least 1 extra layer, COMInterop, or if the component uses Win32 libs, PInvoke, to go through whenever you want to access the interace of the COM component.<BR><BR>2 - This defeats the purpose of DotNet, IMHO. If its something you wrote, take the extra time to rewrite the component. Its well worth it.<BR><BR>3 - If its not your component, arent there licensing/royalty issues to consider?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts