Question PHP.Net

0 views
Skip to first unread message

mari...@gmail.com

unread,
Aug 12, 2006, 1:48:23 PM8/12/06
to mono-soc-2006
Hello, I have a question: I am trying to use a extern dll, for php
extension, but when I execute the result of the compilation, it's has
the next error message:
Unhandled Exception: System.EntryPointNotFoundException: Unable to find
an entry
point named 'ctype_alnum' in DLL 'php_ctype.dll'.
at PHP.Runtime.Extensions.ctype_alnum(String text)
at PHP.Runtime.Extensions.ctype_alnum(Object o)
at __MAIN.__MAIN()
For use the dll I use the next code:


[DllImport("php_ctype.dll",EntryPoint="ctype_alnum",ExactSpelling=false,CallingConvention=CallingConvention.Cdecl)]
public static extern bool ctype_alnum(string text);
public static object ctype_alnum(object o)
{
Core.DeReference(ref o);
bool result = ctype_alnum(Convert.ToString(o));
return result;

}

someone know what could happend?

thanks for all

Reply all
Reply to author
Forward
0 new messages