Click here to Skip to main content
15,742,384 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have completed the com registration of a dll file and it is showing in the registry(which I got after entering regedit in command prompt)
If I use
$obj1 = new COM("Encryptiondll.ClsEncryption");
I am getting no error
But when I am trying to access a method(which is declared as public string in .net) I am getting the following error from my php code

Fatal error: Call to undefined method com::Encrypt12() in C:\xampp\htdocs\test1\index.php on line 12
Please help
Richard Deeming 6-Feb-23 10:41am    
Hopefully the OP managed to resolve their problem, or find a workaround, some time in the last eight years. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900