The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: ossama on June 15, 2009, 03:15:37 PM

Title: ActiveX controls in asm: minimum interface implementation requirements
Post by: ossama on June 15, 2009, 03:15:37 PM
what is the minimum interface that a ole control must implement to give the following:
1- properties and methods.
2- events
Title: Re: ActiveX controls in asm: minimum interface implementation requirements
Post by: Biterider on June 15, 2009, 04:14:18 PM
Hi
Here you can find all the info you need
http://msdn.microsoft.com/en-us/library/ms693753(VS.85).aspx

If you want a working example, you can look at Japheth's homepage www.japheth.de (http://www.japheth.de) or into the ObjAsm32 project.
In the last one, you have a project called OCX_Led that implements all the interfaces to fully interact with VB6.

Regards,

Biterider
Title: Re: ActiveX controls in asm: minimum interface implementation requirements
Post by: ossama on June 16, 2009, 09:06:32 AM
thank you for your reply, :bg

Quote from: Biterider on June 15, 2009, 04:14:18 PM
If you want a working example, you can look at Japheth's homepage www.japheth.de (http://www.japheth.de)
i had tried the example of Japheth (asmctrl.ocx), yes it works in vb 6,but it does not work in ms vs 2008.

any idea why?
Title: Re: ActiveX controls in asm: minimum interface implementation requirements
Post by: Biterider on June 16, 2009, 09:48:12 AM
I don't know what you are doing in VS2008. Maybe a better description of your container app and the error that is happening can clarify the situation a bit.
Have you checked Japheth's OCX container?

Biterider