James,
If I check with OleView it is listed under "Type Libraries"
Jeff
Jeff Barnes
(FWH 16.11, xHarbour 1.2.3, Bcc730)
James,
If I check with OleView it is listed under "Type Libraries"
Jeff
Jeff,
It does not look as an ActiveX control. I thought it was a DLL to be used with OLE automation, but after some tests I think it is an ActiveX library (it provides an activex interface, but no a visual control interface).
I got the provided EXE running, but it gives an error when pressing the "Get Version" button. Don't know if it should work ok without the hardware. Could you ask the manufacturer about this ?
I am trying on Vista 32. Now I am going to try on XP.
Jeff,
Same error on XP when pressing the "Get Version" button, testing their provided EXE.
Please contact the manufacturer about it, thanks
Antonio,
The "Get Version" does require the hardware to be connected.
Antonio,
Is it possible to use an ActiveX Library with FWH?
Is yes, how would I make a call to the functions inside the DLL?
Thanks,
Jeff,
> Is it possible to use an ActiveX Library with FWH?
We have never tested it before and it seems as something goes wrong
We have tried to build a test with Borland C++ builder, using your DLL, but we can't get it working too
We keep doing tests
Jeff,
Couldn't you ask the manufacturer if they could provide you a plain standard DLL with exported functions, not an ActiveX one ?
I just sent them an email.
Enrico had mentioned in another post:
"As far as I know, you can't return a string from a DLL function"
These are communication functions that need feedback from the device.
Will a standard DLL work?
Jeff,
>
Enrico had mentioned in another post:
"As far as I know, you can't return a string from a DLL function"
>
You can do it using a GlobalAlloc() chunk of memory, that the DLL client will free later on
> Will a standard DLL work?
Yes, why not ?
Antonio,
Here is the reply from the manufacturer
>>
our DLL files are in Visual Basic or ActiveX DLL as you described. We are presently not working in "C" code. You might be able to try installing MSI and this might assist you.
<<
Jeff,
ok, thanks for the info. We are going to do some tests with VB
Jeff,
We are unable to build and run their sample using Visual Basic Express(free from Microsoft).
Do they expect that their users will just use the latest Visual Basic version ? They should consider to deliver a standard C DLL so everyone can use it, not just Visual Basic users