Quote:
Originally Posted by colin9876
what have i done wrong
|
Firstly it only works on the device - I have a different solution for the desktop - see the first post of this thread.
Ensure both dlls are in the same folder as your B4PPC app.
Add the fliteDevice.dll to your project by Tools->Components -> Add DLL
Add a fliteDevice object by Tools-> AddObject "SomeName"
Save the app to the folder where both dlls are located.
This should then work
SomeName.New1
SomeName.Say("Hello world")
If you get a complaint about P/Invoke then move the fliteDLL.dll to your Windows folder .
BTW just saying "it doesn't work" is not conducive to finding problems. A description of the
way in which it does not work (especially with any error message) will usually get you a solution much quicker.