Creating A D DLL For Use By VB

Rory Starkweather Rory_member at pathlink.com
Mon Mar 20 22:28:20 PST 2006


>> if (Args.length > 1)
>> {
>> printf("Received %d args.\n", Args);
>
>Don't you mean:
>   printf("Received %d args.\n",Args.length);
>
>the odd thing is, it doesn't crash without it!?
>

Good point. Interesting too because the number printed
out is correct.

}
>
>You should probably start to use writef instead of printf.

This is my third day with D. I had planned to wait until tomorrow for the hard
stuff. ;} 





More information about the Digitalmars-d-learn mailing list