MSDN Webcast on hosting ActiveX controls

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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
.



Relevant Pages

  • Re: 7DRL Success: Nyctos
    ... From there you can download a zip file with the windows binary ... (compiled using py2exe), or check out the source code from subversion. ... ("python setup.py install"). ...
    (rec.games.roguelike.development)
  • Re: Installing software to SuSe
    ... If you download them I believe SuSE linux will ... >> install them if you click on them. ... smaller programs the source code is all you get. ...
    (comp.os.linux.misc)
  • Re: um i realy need help with linux.......
    ... > they come compressed i uncompress them and from there ... generally, when you download software to run on a linux system, what you ... get is a compressed file containing the source code for the application. ... look for a file called "INSTALL" or maybe "README" ...
    (comp.os.linux.questions)
  • Re: Maybe a stupid question but....
    ... I'm looking for tar.gz of the source code but ... > how I can download off the cvs site? ... If you install FreeBSD and during installation elect to install source ...
    (freebsd-questions)
  • Re: WindowsUpdate_80240016 error
    ... They guy has just directed you to download malicious or crapware. ... Update will not install and shows Error Code 80240016 - computer runs forever but nothing happens. ... - but Vista will not allow me to rename the folder even tho I am an Admin ... Stop the Windows Update service ...
    (microsoft.public.windows.vista.general)