I found a WinIO library. Have you got any expreriance with that in Windows XP?
By the way of course in the newer computers haven't got LPT but it is not a
problem. I want to use LPT to control a machine.
Mike James Wrote:
> Zarathustra Wrote:
>
> > Have you got any idea how to manipulate LPT p
Thu, 26 Mar 2009 01:40:25 +0100, Saaa wrote:
>>> [...]
>>>
>>> catch(Object e){ // ConvError or ConvOverflowError
>>> //Is this the correct translation?
>>> throw new NumberFormatException( e );
>>> }
>>
>> It depends on what NumberFormatException can accep
> Obviously NumberFormatException can store another exception object
> inside. This code effectively converts IllegalArgumentException into
> NumberFormatException, storing the original argument exception inside so
> that one can examine it later if they're curious.
Thanks, yes this is obvious...
Thu, 26 Mar 2009 00:29:44 +0100, Saaa wrote:
> I filled in the Phobos implementation, but I'm not sure if it is all correct
> as I don't fully understand the exception handling.
>
> [...]
>
> catch( IllegalArgumentException e ){
> //How does this work? It catches e and gives it as an
I filled in the Phobos implementation, but I'm not sure if it is all correct
as I don't fully understand the exception handling.
module java.lang.Byte;
import java.lang.util;
import java.lang.exceptions;
version(Tango){
static import tango.text.convert.Integer;
} else { // Phobos
static
Jarrett Billingsley wrote:
On Wed, Mar 25, 2009 at 5:00 PM, Jarrett Billingsley
wrote:
On Wed, Mar 25, 2009 at 4:21 PM, Zarathustra wrote:
Have you got any idea how to manipulate LPT port in Windows XP with D?
Um, the same way you'd do it with any other language...?
I mean, if you compute
Zarathustra Wrote:
> Have you got any idea how to manipulate LPT port in Windows XP with D?
Hi,
Try the dlportio driver. I've used it in the past with XP - PIC programmers,
etc. :-)
Regards, mike.
On Wed, Mar 25, 2009 at 5:00 PM, Jarrett Billingsley
wrote:
> On Wed, Mar 25, 2009 at 4:21 PM, Zarathustra
> wrote:
>> Have you got any idea how to manipulate LPT port in Windows XP with D?
>>
>
> Um, the same way you'd do it with any other language...?
I mean, if you computer even _HAS_ an LPT
On Wed, Mar 25, 2009 at 4:21 PM, Zarathustra wrote:
> Have you got any idea how to manipulate LPT port in Windows XP with D?
>
Um, the same way you'd do it with any other language...?
Have you got any idea how to manipulate LPT port in Windows XP with D?
Frank Benoit Wrote:
> What does the pagesize mean? When is it needed to increase? What is the
> cost?
I would like to know too. I had to increase it to 4096 before I could get
DWT-WIN to build.
-=mike=-
What does the pagesize mean? When is it needed to increase? What is the
cost?
hm, the moment of pressing the "send" button is often enough a moment of
enlightment :)
version( D_Version2 ){
mixin("invariant(T)[] _idup(T)( T[] str ){ return str.idup; }");
} else { // D1
String _idup( char[] str ){
return str.dup;
}
}
str._idup(); // compiles with D1+D2
I want to make code compilable with D1+D2.
So i thought, i can make
version(D_Version2){
} else { // D1
string idup( char[] str ){ return str.dup; }
}
But this does not work.
D1:
str.idup; // compile error
str.idup(); // OK
D2:
str.idup; // OK
str.idup(); // compile error
Ideas?
Derek Parnell schrieb:
> On Mon, 23 Mar 2009 10:02:28 +0100, Frank Benoit wrote:
>
>> How can i make DMD (link/optlink) not to generate a map file?
>>
>> -L/NOM or -LNOMAP
>>
>> both seem not work.
>
> You can't using dmd. It doesn't generate the right linker options for you
> to avoid the map fi
15 matches
Mail list logo