I have been trying to get a DLL that I wrote to work on the Pocket PC in B4PPC. The DLL works on the PC in B4PPC and works in a VB.NET program on the Pocket PC.
As a test, I wrote a simple class that has only one function ("hello") that takes a string for a parameter. The DLL was written in VB.NET using SharpDevelop and compiled to DLL targeting the Compact Framework 2.0
On the PC in the B4PPC IDE, I can add the component ("test44.dll) and add an object "test" to the DLL object " NewClass1". In the B4PPC editor, I can instantiate the object ("test.new1") and execute the function
When I try this in the B4PPC IDE on the Pocket PC, I get a "An error occurred. NotSupportedException" error.
Any suggestions? (vb.net dll test solution attached)
As a test, I wrote a simple class that has only one function ("hello") that takes a string for a parameter. The DLL was written in VB.NET using SharpDevelop and compiled to DLL targeting the Compact Framework 2.0
On the PC in the B4PPC IDE, I can add the component ("test44.dll) and add an object "test" to the DLL object " NewClass1". In the B4PPC editor, I can instantiate the object ("test.new1") and execute the function
B4X:
test.new1
msgbox(test.hello("digitaldon") )
When I try this in the B4PPC IDE on the Pocket PC, I get a "An error occurred. NotSupportedException" error.
Any suggestions? (vb.net dll test solution attached)