MSDN Webcast on hosting ActiveX controls
- From: "Andreas V via DotNetMonster.com" <u4670@uwe>
- Date: Thu, 03 Nov 2005 13:45:37 GMT
Hi!
I found a great webcast on the Net presenting how to host ActiveX controls in
CF 2.0. It was also possible to download a source code project that could be
deployed on VS 2005.
It can be found here:
http://blog.opennetcf.org/afeinman/CommentView,guid,1dfc3c39-d3cc-4faa-b5f6-cb5c9aed61dd.aspx
I have downloaded and deployed the project on both a Pocket PC 2003 SE
Emulator and a Windows Mobile 5.0 Emulator using Visual Studio 2005 Beta 2.
But I cant get it to work!
Everytime I press the Media Player Demo-button I get the same error:
"Method not found: AllocHGlobal
System.Runtime.InteropServices.Marshal."
I have renamed the two methods:
Marshal.AllocHGlobal() ==>
Marshal.AllocCoTaskMem()
and
Marshal.FreeHGlobal() ==>
Marshal.FreeCoTaskMem()
but it still complains that "Method not found: AllocHGlobal..."
Have someone got the same problem or got this to work? Alex?
Have I forgotten to change or install anything.
Do I have to install something more or do any other configurations on the
emulator to get the project to work?
Best Regards
Andreas Viklund
SWeden
--
Message posted via http://www.dotnetmonster.com
.
- Follow-Ups:
- Re: MSDN Webcast on hosting ActiveX controls
- From: Peter Foot [MVP]
- Re: MSDN Webcast on hosting ActiveX controls
- Prev by Date: Re: Clarification required on using VS Standard Edition and PDA
- Next by Date: Re: VS2003 and VS2005 can coexist ? (chris tacke ?)
- Previous by thread: Re: Clarification required on using VS Standard Edition and PDA
- Next by thread: Re: MSDN Webcast on hosting ActiveX controls
- Index(es):
Loading