Re: [BLACKBOX] AW: [BLACKBOX] Converters

From: [at]} <Treutwein>
Date: Wed, 17 Sep 2008 14:38:45 +0200

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

Dear Robert, dear Helmut,

thanks, that works nicely.

But beware: If you use the /USE <path> option it may return
a non-existing path ...

The /USE option is documented in the user manual in Section 4 under
the title "Server Installation" but I find it very useful also for
project management. The /USE option itself is handled in
HostFiles.Init & HostMenus.ReadCommandline and the <path> value
is stored in HostFiles.dir.startup.path .

If the use option is not used HostFiles.dir.startup.path contains the
path to BlackBox.exe

regards
--
  Bernhard Treutwein
  Ludwig-Maximilians-Universität
  Ref. IIIA3 Anwendungsentwicklung
  Martiusstr. 4
  80802 München
  Tel. 089 2180-2774
  Fax. 089 2180-992774
  Mobil. 0152-01549335
  e-mail: bernhard treutwein (at) verwaltung uni-muenchen de
 
> -----Original Message-----
> From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy> Zinn, Helmut
> Sent: Wednesday, September 17, 2008 11:54 AM
> To: BLACKBOX{([at]})nowhere.xy> Subject: [BLACKBOX] AW: [BLACKBOX] Converters
> 
> 
> Dear Robert,
> 
> if you have the filename then the following sample shows:
> 
> How to get the full file name including the path?
> 
> StdCoder.Decode ..,, 
> ..DS....3Qw7uP5PRPPNR9Rbf9b8R79FTvMf1GomCrlAy2xhX,Cb2x
[...]
>  uPgBkVy4..b.0..2,2.M00.dPLbHESmF3kwL,,AzJEu1Ko2oe2H.Io0...
>  --- end of encoding ---
> 
> Please let me know the result of your search ...
> 
> Regards
> 
> Helmut Zinn
> http://www.zinnamturm.eu
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy> Gesendet: Dienstag, 16. September 2008 22:43
> An: BLACKBOX{([at]})nowhere.xy> Betreff: [BLACKBOX] Converters
> 
> Hi
> 
> I want to write a Converters.Converter (specifically an Importer)
> to read Bitmap files useing FreeImage.
> 
> I have code that does this, but not packaged as a Converter for
> full integration into the BBox framework.
> 
> My problem is:
> 
> The importer must have the signature:
> 
>   "PROCEDURE ImportGifBitmap (f: Files.File; OUT s: Stores.Store)"
> 
> whereas FreeImage requires the file to be specified by a PathName.
> 
> 
> It there a way of finding a file's pathName?
> 
> I know that the file is (probably ?, definately?) of type 
> HostFiles.File, which
> has a field 'name', and a Locator which would give the path, 
> but these are not
> exported.
> 
> 
> Any suggestions?
> 
> Cheers
> 
> Robert
> 
> 
> ----
> 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> 
----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1942657236_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBO
ZXc7fX0NCntcY29sb3J0YmxccmVkMFxncmVlbjBcYmx1ZTA7XHJlZDBcZ3JlZW4wXGJsdWUyNTU7
fQ0KXHVjMVxwYXJkXHBsYWluXGRlZnRhYjM2MCBcZjBcZnMyMCBEZWFyIFJvYmVydCwgZGVhciBI
ZWxtdXQsXHBhcg0KXHBhcg0KdGhhbmtzLCB0aGF0IHdvcmtzIG5pY2VseS4gXHBhcg0KXHBhcg0K
QnV0IGJld2FyZTogSWYgeW91IHVzZSB0aGUgL1VTRSA8cGF0aD4gb3B0aW9uIGl0IG1heSByZXR1
cm5ccGFyDQphIG5vbi1leGlzdGluZy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ary-LibPST-iamunique-1942657236_-_---
Received on Wed Sep 17 2008 - 14:38:45 UTC

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