- Making use of Static Libraries in BB

From: edruszki <"edruszki">
Date: Fri, 07 Jul 2006 13:37:47 -0400

----boundary-LibPST-iamunique-1287487106_-_-
Content-type: text/plain

Good day,

We are building a digital acquisition board for physical experiments. I am at
point where I need to talk to the board via BlackBox. We are using and FX2LP
Cypress USB chip. With the chip the company provided a CyApi.lib static library
and a header file with all the function calls, available in two versions Visual
C++ 6&7 and Bodland C++ Builder 6.

I am looking for an efficient way to make use of the CyApi.lib and CyApi.h files
to call the functions from blackbox. Can you help me?

I am thinking of writting a wrapper first in C++ and compiling a DLL out of it
and then write another wrapper in BlackBox. But since I am not a fan of C++ and
I don't know much about it, I hope there is a less complex way of reaching the
goal.

Thank you for your time,
With regards,
Eryk Druszkiewicz

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy



----boundary-LibPST-iamunique-1287487106_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEdvb2QgZGF5LFxwYXINClxwYXINCldlIGFyZSBi
dWlsZGluZyBhIGRpZ2l0YWwgYWNxdWlzaXRpb24gYm9hcmQgZm9yIHBoeXNpY2FsIGV4cGVyaW1l
bnRzLiBJIGFtIGF0XHBhcg0KcG9pbnQgd2hlcmUgSSBuZWVkIHRvIHRhbGsgdG8gdGhlIGJvY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NlbmQgc3ViamVjdCBIRUxQ
IG9yIFVOU1VCU0NSSUJFIHRvIGJsYWNrYm94QG9iZXJvbi5jaH19AAAAABoMAADwkVI=


----boundary-LibPST-iamunique-1287487106_-_---
Received on Fri Jul 07 2006 - 19:37:47 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:27:49 UTC