PInvoke SysFreeString on Compact Framework

G

Guest

What DLL do I need to import SysFreeString on the Compact Framework? I need to link with OleAut32.lib to build my native DLL, but I don't see a OleAut32.dll file on my PocketPC. I just need to know what DLL SysFreeString is in so I can correctly PInvoke it from my Compact Framework application. Thanks!
 
C

Chris Tacke, eMVP

It's in oleaut32.dll, which may be hidden. Try copying another file named
oleaut32.dll to your \Windows folder.

If you're able to allocate via SysAllocString, you should be able to free as
well.

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net


Brent Lang said:
What DLL do I need to import SysFreeString on the Compact Framework? I
need to link with OleAut32.lib to build my native DLL, but I don't see a
OleAut32.dll file on my PocketPC. I just need to know what DLL
SysFreeString is in so I can correctly PInvoke it from my Compact Framework
application. Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top