Re: [BLACKBOX] BB and .NET

From: [at]} <Rainer>
Date: Wed, 25 Jul 2012 21:13:13 +0200

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

Chris,
thanks a lot for your quick answer.
Let's say, I might have got an audio analyzer with its libraries based on .NET. Let's further assume, I have to call just a couple of procedures to do my analysis.
Would it be feasible to write some wrapper procedures in VB which do the parameter passing, pack them into a DLL and import this DLL in BlackBox ?
Does this approach make sense ?

Best regards,
Rainer

Am 23.07.2012 um 16:14 schrieb Chris Burrows:

>> -----Original Message-----
>> From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
>> Neubauer
>> Sent: Monday, 23 July 2012 11:18 PM
>> To: BLACKBOX{([at]})nowhere.xy
>> Subject: [BLACKBOX] BB and .NET
>>
>> Hi all,
>> there is .NET for some years now but I have no idea what it is about and
>> how it works.
>>
>> I expect to get some measurement equipment (an oudio analyzer) in the near
>> future, and as far as I know it comes with huge libraries based on .NET.
>> Do I have to use a .NET language (e.g. C#) to be able to use these
>> libraries or will it be possible to import and use them with BlackBox ?
>>

>
> It is *possible* to access .NET libraries from Win32 applications with
> hybrid schemes (e.g. using Delphi and CrossTalk). However, I would only
> recommend considering that approach if you had extensive Win32 code that you
> wanted to reuse. Even then, I don't know anything that would work 'out of
> the box' with BlackBox.
>
> When we use .NET libraries we use a mixture of Gardens Point Component
> Pascal (GPCP) and C#. The main reason for using C# is because that (or VB)
> is the code that the visual form designer in Visual Studio generates for
> you. It is also possible to write GUI code in GPCP (which we have also done
> extensively) but it is usually easier to 'drag and drop' visual components
> onto forms. We've included a number of simple examples with our Component
> Pascal IDE (CPIDE) to show you how to use the .NET examples in a Component
> Pascal program:
>
> http://www.cfbsoftware.com/cpide/examples.aspx
>
> Regards,
> Chris
>
> Chris Burrows
> CFB Software
> http://www.cfbsoftware.com/gpcp
>
>
> ----
> To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-527534543_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGZiaWRpcyBcZGVmZjB7XGZvbnR0YmwN
CntcZjBcZnN3aXNzIEFyaWFsO30NCntcZjFcZm1vZGVybiBDb3VyaWVyIE5ldzt9DQp7XGYyXGZu
aWxcZmNoYXJzZXQyIFN5bWJvbDt9DQp7XGYzXGZtb2Rlcm5cZmNoYXJzZXQwIENvdXJpZXIgTmV3
O319DQp7XGNvbG9ydGJsXHJlZDBcZ3JlZW4wXGJsdWUwO1xyZWQwXGdyZWVuMFxibHVlMjU1O30N
Clx1YzFccGFyZFxwbGFpblxkZWZ0YWIzNjAgXGYwXGZzMjAgQ2hyaXMsXHBhcg0KdGhhbmtzIGEg
bG90IGZvciB5b3VyIHF1aWNrIGFuc3dlci5ccGFyDQpMZXQncyBzYXksIEkgbWlnaHQgaGF2ZSBn
b3QgYW4gYXVkaW8gYW5hbHl6ZXIgd2l0aCBpdHMgbGlicmFyaWVzIGJhc2VkIG9uIC5ORVQuIExl
dCdzIGZ1cnRoZXIgYXNzdW1lLCBJIGhhdmUgdG8gY2FsbCBqdXN0IGEgY291cGxlIG9mIHByb2Nl
ZHVyZXMgdG8gZG8gbXkgYW5hbHlzaXMuXHBhcg0KV291bGQgaXQgYmUgZmVhc2libGUgdG8gd3Jp
dGUgc29tZSB3cmFwcGVyIHByb2NlZHVyZXMgaW4gVkIgd2hpY2ggZG8gdGhlIHBhcmFtZXRlciBw
YXNzaW5nLCBwYWNrIHRoZW0gaW50byBhIERMTCBhbmQgaW1wb3J0IHRoaXMgRExMIGluIEJsYWNr
Qm94ID9ccGFyDQpEb2VzIHRoaXMgYXBwcm9hY2ggbWFrZSBzZW5zZSA/XHBhcg0KXHBhcg0KQmVz
dCByZWdhcmRzLFxwYXINClJhaW5lclxw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Fdl
J3ZlIGluY2x1ZGVkIGEgbnVtYmVyIG9mIHNpbXBsZSBleGFtcGxlcyB3aXRoIG91ciBDb21wb25l
bnRccGFyDQo+IFBhc2NhbCBJREUgKENQSURFKSB0byBzaG93IHlvdSBob3cgdG8gdXNlIHRoZSAu
TkVUIGV4YW1wbGVzIGluIGEgQ29tcG9uZW50XHBhcg0KPiBQYXNjYWwgcHJvZ3JhbTpccGFyDQo+
IFxwYXINCj4gaHR0cDovL3d3dy5jZmJzb2Z0d2FyZS5jb20vY3BpZGUvZXhhbXBsZXMuYXNweFxw
YXINCj4gXHBhcg0KPiBSZWdhcmRzLFxwYXINCj4gQ2hyaXNccGFyDQo+IFxwYXINCj4gQ2hyaXMg
QnVycm93c1xwYXINCj4gQ0ZCIFNvZnR3YXJlXHBhcg0KPiBodHRwOi8vd3d3LmNmYnNvZnR3YXJl
LmNvbS9ncGNwXHBhcg0KPiBccGFyDQo+IFxwYXINCj4gLS0tLVxwYXINCj4gVG8gdW5zdWJzY3Jp
YmUsIHNlbmQgYSBtZXNzYWdlIHdpdGggYm9keSAiU0lHTk9GRiBCTEFDS0JPWCIgdG8gTElTVFNF
UlZATElTVFMuT0JFUk9OLkNIXHBhcg0KXHBhcg0KXHBhcg0KLS0tLVxwYXINClRvIHVuc3Vic2Ny
aWJlLCBzZW5kIGEgbWVzc2FnZSB3aXRoIGJvZHkgIlNJR05PRkYgQkxBQ0tCT1giIHRvIExJU1RT
RVJWQExJU1RTLk9CRVJPTi59fQB0byBnZXQ
----boundary-LibPST-iamunique-527534543_-_---
Received on Wed Jul 25 2012 - 21:13:13 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:00 UTC