CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2001
    Location
    Kerala,India
    Posts
    650

    Issue with Active X Component

    I have created an active x component using wizard in Visual studio 2010. I am consuming the OCX control in a .net desktop application. Now the problem is that. I have modified a particular function exposed from the control after using the control some days in the .net application. i have changed the number of parameters in the function by directly editing that from code file. the
    Code:
    dispinterface _DXXX	{
    		properties:
    		methods:
    			[id(1)] // Here
    
    DISP_FUNCTION_ID( FnName, .. //Here
    And implementation and declaration of the function. The issue now is that the changes are not reflecting in the .NET code side. What to do for that
    Do rate this post if it find useful to you

  2. #2
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,620

    Re: Issue with Active X Component

    Re-import type library?
    Best regards,
    Igor

  3. #3
    Join Date
    Nov 2001
    Location
    Kerala,India
    Posts
    650

    Re: Issue with Active X Component

    Sorry it was my fault, i was using the wizard and forget to remove the old imported assembly reference before adding the new ocx control to the application. Thanks for remembering about the import option Igor :-)
    Do rate this post if it find useful to you

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured