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!