I'm trying to create an Activex control for smart devices using Visual Studio 2005..
I've created a small activex for smart device and registered with the Windows mobile emulator 6.0.
I've made a testing application which will use the created Activex.
In visual studio 2005 there is no direct way to include axtivex's created for smart device.(because it is registered with the mobile not desktop)
I've successfully added the activex into the application's dialogbox by using the class Id of the activex.
Now the problem is calling the function of the activex in my application.
(Whenever if you insert any OCX control developed in visual studio 6 for desktop OS the visual studio 6.0 compiler itself will add corresponding cpp and header file for the OCX. So we won't face any problem regarding function prototypes)
In case of Visual Studio 2005 if we create any activex control for smart device, corresponding cpp and header files are not added by default. If we manually add the cpp and header file while compiling i'm getting an linker error regarding the function prototype..
Anyone can help me to solve this problem and able to create an activex control for Windows mobile 6.0