On Monday, 23 April 2018 at 23:27:17 UTC, Steven Schveighoffer
wrote:
...
If you want to know more about the array runtime, I suggest
this article: https://dlang.org/articles/d-array-article.html
...
Thanks for replying and this article is what I was looking for.
On Monday, 23 April 2018 at 23:15:13 UTC, Dnewbie wrote:
It's related to memcpy?
By the way... It's related to realloc and memcpy?
Hi,
I'd like to understand how array concatenation works internally,
like the example below:
//DMD64 D Compiler 2.072.2
import std.stdio;
void main(){
string[] arr;
arr.length = 2;
arr[0] = "Hello";
arr[1] = "World";
writeln(arr.length);
arr = arr[0..1] ~ "New String"
On Tuesday, 15 December 2015 at 07:07:23 UTC, deadalnix wrote:
Navigation:
The navigation can get very confusing. The forum and the site
look the same, but the logo in the top right bring back to the
site index/forum index .
I thought that only I had saw this. Yes it's wrong. To go to
On Tuesday, 15 December 2015 at 09:57:00 UTC, ZombineDev wrote:
On Monday, 14 December 2015 at 19:56:29 UTC, dnewbie wrote:
On Monday, 14 December 2015 at 19:04:46 UTC, bachmeier wrote:
It's unanimous, at least among the three of us posting in
this Reddit thread:
...
Take for example C
On Monday, 14 December 2015 at 19:04:46 UTC, bachmeier wrote:
It's unanimous, at least among the three of us posting in this
Reddit thread:
...
Take for example C# Docs:
https://msdn.microsoft.com/en-us/library/system.collections.arraylist.addrange.aspx
Syntax C#:
public virtual void
On Monday, 14 December 2015 at 20:08:20 UTC, Jack Stouffer wrote:
You're not really comparing apples to apples here
In fact I'm not, but the main focus here was about the simplicity
of the layout used on the C# doc. You can see others examples
there easily including templates and generics
On Sunday, 13 September 2015 at 19:49:58 UTC, deadalnix wrote:
That's a pitty. libd itself could be usefull to program some
tools for the language. I particularly think to IDE stuff like
symbol list, module name finder, etc. So far in Coedit I use
libdparse but if libd would be available for
On Wednesday, 19 August 2015 at 00:57:32 UTC, Ali Çehreli wrote:
I am very happy! :)
Ordered Thank You Ali.
I understand the feeling, but that seems unnecessarily harsh to
demote Martin, since he is the one that have done the most for
release, and it yielded actual results.
Indeed.
On Friday, 8 August 2014 at 12:01:43 UTC, Andrew Edwards wrote:
DMD v2.066.0-rc2 binaries are available for testing:
http://wiki.dlang.org/Beta_Testing
curl.lib not found in
dmd.2.066.0-rc2.windows.zip\dmd2\windows\lib
On Monday, 11 August 2014 at 19:32:27 UTC, Brad Anderson wrote:
On Monday, 11 August 2014 at 19:02:18 UTC, Brad Anderson wrote:
On Monday, 11 August 2014 at 15:51:16 UTC, dnewbie wrote:
On Friday, 8 August 2014 at 12:01:43 UTC, Andrew Edwards
wrote:
DMD v2.066.0-rc2 binaries are available
On Tuesday, 12 August 2014 at 00:36:17 UTC, Andrei Alexandrescu
wrote:
Hello, got a question today from a user - is there an LDAP
library for D? Thanks! -- Andrei
There is a raw binding to openldap c library.
http://d.darktech.org/bindings/ldap.zip
Please vote now!
http://www.easypolls.net/poll.html?p=533e10e4e4b0edddf89898c5
See also results from previous years:
- http://d.darktech.org/2012.png
- http://d.darktech.org/2013.png
On Thursday, 6 March 2014 at 15:56:07 UTC, Andrej Mitrovic wrote:
On 3/6/14, knutaf a...@b.com wrote:
and then crashes. If I build without -m64, I get
A9993E364706816ABA3E25717850C26C9CD0D89D, which is what I was
expecting.
It works fine for me using 2.064 and 2.065, both with and
without
It works with DMD/Phobos from GIT.
On Wednesday, 11 December 2013 at 23:42:44 UTC, Gary Willoughby
wrote:
For example i have some C code like this:
typedef void (Tcl_InterpDeleteProc) _ANSI_ARGS_((ClientData
clientData, Tcl_Interp *interp));
void Tcl_CallWhenDeleted(Tcl_Interp* interp,
Tcl_InterpDeleteProc* proc, ClientData
On Wednesday, 16 October 2013 at 01:15:20 UTC, Brad Anderson
wrote:
On Tuesday, 15 October 2013 at 06:38:30 UTC, dnewbie wrote:
VS 2010 Express/Windows SDK 7.0:
dmd -m64 hello.d
Can't run 'c:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\bin\amd64\link.exe', check PATH
with dmd-2.064
VS 2010 Express/Windows SDK 7.0:
dmd -m64 hello.d
Can't run 'c:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\bin\amd64\link.exe', check PATH
with dmd-2.064-beta-new-sc.ini-2.exe
On Tuesday, 8 October 2013 at 08:54:44 UTC, Mike Parker wrote:
On 10/8/2013 6:57 AM, Andrej Mitrovic wrote:
On 10/7/13, Matt webwra...@fastmail.fm wrote:
The missing functions (or at least the one I'm interested in
at
the moment) that I'm trying to use are supposed to be IN
kernel32, and have
On Tuesday, 27 August 2013 at 03:30:11 UTC, Ali Çehreli wrote:
It cannot be started a second time for 8080 still being in use,
unless you wait for several seconds
It works on Windows7, no need to wait.
On Saturday, 6 July 2013 at 01:33:09 UTC, dnewbie wrote:
Hi. It's time for the annual poll of the year. Please vote
http://www.easypolls.net/poll.html?p=51d766e4e4b03d6de547a64b
Here are the results.
2012 2013
1 year 27% 21%
1-2 years 25% 27%
3-5 years 28% 31%
6-10
On Thursday, 11 July 2013 at 12:58:42 UTC, Chris wrote:
I have a DLL written in D I load into a Python application via
ctypes like so:
lib = CDLL(mydll)
The DLL loads and can be used no problem. However, once the DLL
is discarded of by the program, the program either doesn't
react or
On Tuesday, 9 July 2013 at 19:02:09 UTC, Kevin McTaggart wrote:
Does anyone know of a good D linear algebra library for Win64?
I tried scid a year ago and liked it on Win32, but have been
unable to get it to link on Win64. When trying to run scid on
Win64, I've been using prebuilt LAPACK
Hi. It's time for the annual poll of the year. Please vote
http://www.easypolls.net/poll.html?p=51d766e4e4b03d6de547a64b
On Friday, 10 May 2013 at 12:08:10 UTC, Andrei Alexandrescu wrote:
Enjoy!
https://www.youtube.com/watch?v=mPr2UspS0fE
Andrei
Very good presentation. Thank you Ali.
phobos64.lib(dmain2_4ac_1a5.obj) : error LNK2019: unresolved
external symbol _Dmain referenced in function main
Please add -L/DLL to the command line.
On Monday, 18 February 2013 at 01:02:43 UTC, Walter Bright wrote:
http://digitalmars.com/d/download.html
The dlang.org site isn't updated yet, but the downloads are
there.
Thank you Walter Bright. I appreciate your work.
I have a DLL which exports a function GetFunction. GetFunction
returns a pointer to RealFunction. Now I want to run RealFunction
from my D program, but for some reason I get the wrong address.
Here is the code.
dll64.c -
#define WIN32_LEAN_AND_MEAN
#include windows.h
int __stdcall
The problem is FARPROC. Thank you everybody.
Solution:
import core.runtime;
import std.c.windows.windows;
import std.stdio;
alias extern(Windows) int function(int) FuncPtr;
alias extern(Windows) FuncPtr function() GetFuncPtr;
int main(string[] args)
{
HMODULE dll=
On Thursday, 10 January 2013 at 17:29:13 UTC, Phil Lavoie wrote:
Hi all,
This is actually a duplicate of my post on the D.learn forums
:).
I am concerned that it hasn't been answered only because it is
in a less popular sub forum. I'll try to make it short.
This websites recommends implib
On Wednesday, 26 December 2012 at 21:56:31 UTC, Phil Lavoie wrote:
All right I got a problem now.
Including winver.d triggers the inclusion of version.lib
through this:
pragma(lib, version.lib);
However, this import library does not exist. So I created it
using,implib /noi /system version.lib
Wait.. what happened to dlang-stable?
http://forum.dlang.org/thread/op.whi33qsp707...@invictus.skynet.com
On Tuesday, 27 November 2012 at 06:27:49 UTC, Ali Çehreli wrote:
On 11/26/2012 10:05 PM, dnewbie wrote:
I have the following C struct from ldap.h
typedef struct ldapmod {
int mod_op;
char *mod_type;
union mod_vals_u {
char **modv_strvals;
struct berval **modv_bvals;
} mod_vals;
#define
I have the following C struct from ldap.h
typedef struct ldapmod {
int mod_op;
char *mod_type;
union mod_vals_u {
char **modv_strvals;
struct berval **modv_bvals;
} mod_vals;
#define mod_values mod_vals.modv_strvals
#define
You can try compiling it with GDC!
Please check this thread:
http://forum.dlang.org/thread/nowjthaqnjfrcvqeu...@forum.dlang.org
Why don't you remove the 'create thread' button from this forum?
Lazy people...
Memory usage of my program when compiled by dmd2.057, 2.058,
2.059 2.060:
http://postimage.org/image/hqn6l4l8p/
It's a great improvement. Thanks for the new release.
On Wednesday, 1 August 2012 at 17:18:36 UTC, Marco Leise wrote:
Am Mon, 30 Jul 2012 16:50:57 +0200
schrieb Marco Leise marco.le...@gmx.de:
I have now written a simple web site the lists C bindings by
category. It is updated every day.
http://mleise.abcz8.com/d/bindings.php
Currently it only
On Thursday, 26 July 2012 at 22:06:08 UTC, Gary Willoughby wrote:
I'm looking at this page and trying to download the latest
CTags 5.8 with D patch compiled for Windows but i'm getting a
dead link. Does anyone else have this file or can point me to
another link?
On Wednesday, 25 July 2012 at 17:24:06 UTC, Adam D. Ruppe wrote:
I was just playing with the beta, and got this among the
sea of errors:
arsd/cgi.d(898): Error: function std.algorithm.indexOf!(a ==
b,ubyte[],string).indexOf is deprecated
Why was that taken out? If you ask me, the root cause
On Monday, 23 July 2012 at 20:57:37 UTC, Stuart wrote:
On Monday, 23 July 2012 at 17:28:38 UTC, David Nadlinger wrote:
On Monday, 23 July 2012 at 17:25:43 UTC, Stuart wrote:
Fair enough. But there are still times when we need a version
of export that doesn't mangle.
No. This is even
On Thursday, 19 July 2012 at 15:49:48 UTC, DLimited wrote:
But what are the differences of loading the Unicode version vs.
the ANSI version? I called the Unicode one because I figured
that would be the sensible choice, since Unicode is the default
for D (if I remember correctly). I have no
You don't see the WHOA message?
Try this
alias HANDLE HHOOK;
On Thursday, 19 July 2012 at 17:48:06 UTC, DLimited wrote:
On Thursday, 19 July 2012 at 17:35:29 UTC, dnewbie wrote:
You don't see the WHOA message?
Try this
alias HANDLE HHOOK;
No, I don't get any message after key-presses. I changed int
function() to HANDLE, sadly it still doesn't work
On Thursday, 19 July 2012 at 18:56:15 UTC, DLimited wrote:
On Thursday, 19 July 2012 at 18:40:15 UTC, dnewbie wrote:
On Thursday, 19 July 2012 at 17:48:06 UTC, DLimited wrote:
On Thursday, 19 July 2012 at 17:35:29 UTC, dnewbie wrote:
You don't see the WHOA message?
Try this
alias HANDLE HHOOK
On Thursday, 19 July 2012 at 19:51:31 UTC, DLimited wrote:
Yes, I did. Are the newlines important?
And you really get a MessageBox per keystroke? I start as
admin, disabled my AV but still, no success.
Yes, I get 2 WHOA messages. One from the WM-KEYDOWN and the
other from WM-KEYUP.
Sorry I
Hi Jens.
1. The D page says they should be lower case. Should Deimos
module names
also be made lower case?
Yes.
2. Should all interfaces be put in a common package, say deimos?
Yes.
* const T* should be replaced with const(T)*
Yes.
* How to deal with macros?
On Friday, 6 July 2012 at 00:38:28 UTC, dnewbie wrote:
It works without error when compiled by GDC.
Thanks.
Here it is
http://my.opera.com/run3/blog/2012/07/12/copyto-winamp-plugin
It adds an item in Winamp 'Send to' menu
On Sunday, 8 July 2012 at 22:33:15 UTC, Andy wrote:
I've been using D on linux for a few months now and have the
hang of it. I wrote a project that should be able to be
compiled on both Linux and Windows. I've gotten it to work
excellently on Linux, but I can't seem to figure out how to
link
On Thursday, 5 July 2012 at 08:55:33 UTC, Denis Shelomovskij
wrote:
What's your OS? If Windows XP, than D DLL can't be unloaded
because of non-perfect TLS fixing technique (I created a
perfect one but I never managed to prepare such projects for
release so nobody knows about them).
And on
It works without error when compiled by GDC.
Thanks.
I'm writing a Winamp plugin in D. Winamp loads my plugin and
everything is fine until I close Winamp. At this point, Winamp
calls the Quit() function of my plugin and *after* that, Winamp
crashes.
Here is the code.
D source
http://dpaste.dzfl.pl/e2b2f886
myplugin.def - .DEF file
On Monday, 2 July 2012 at 22:10:00 UTC, Damian wrote:
I was looking through the bindings and only see a makefile for
GNU make.
Is there a version for dmd? I really wanted to avoid GNU make
if possible.
You can try this
https://github.com/AndrejMitrovic/WindowsAPI/downloads
On Monday, 2 July 2012 at 01:18:29 UTC, 拖狗散步 wrote:
On Monday, 2 July 2012 at 01:08:30 UTC, Alex Rønne Petersen
wrote:
On 02-07-2012 03:04, 拖狗散步 wrote:
d language Bye!
Although you are very beautiful, but not for wife!
wat
hoho! dlang is very beautiful, but not is my wife!
lol, you're
import std.stdio;
alias void function(int) fooInt;
alias void function(long) fooLong;
int main(string[] args)
{
fooInt f1 = foo;
fooLong f2 = foo;
f1(1L);
f2(1L);
return 0;
}
void foo(int i)
{
writeln(foo(int i));
}
void foo(long i)
{
writeln(foo(long i));
}
The dpj mini-ide now displays the name of the current function
(from caret position): http://postimage.org/image/exbtxftqv/
Click on the combobox item to jump to the selected function.
Thanks dscanner by Sir Alaran
https://github.com/Hackerpilot/Dscanner
Link: https://github.com/dnewbie/dpj
On Tuesday, 22 May 2012 at 07:28:04 UTC, Ary Manzana wrote:
On 5/22/12 8:55 AM, dnewbie wrote:
On Monday, 21 May 2012 at 12:08:33 UTC, Ary Manzana wrote:
On 5/20/12 10:37 PM, dnewbie wrote:
It started as a D project, then I've moved it to C.
o_O
Why?
Because the d version of the program
There's information missing in OPENFILENAME structure
file core.sys.windows.windows.d
http://msdn.microsoft.com/en-us/library/windows/desktop/ms646839%28v=vs.85%29.aspx
#if (_WIN32_WINNT = 0x0500)
void *pvReserved;
DWORD dwReserved;
DWORD FlagsEx;
#endif
On Sunday, 27 May 2012 at 03:55:58 UTC, jerro wrote:
On Sunday, 27 May 2012 at 03:29:17 UTC, dnewbie wrote:
In C I can write
OPENFILENAME ofn;
ZeroMemory(ofn, sizeof(ofn));
In D, there is no ZeroMemory. Please help me.
You could use c memset:
import std.c.string;
memset(cast(void*)ofn, 0
On Tuesday, 22 May 2012 at 07:28:04 UTC, Ary Manzana wrote:
On 5/22/12 8:55 AM, dnewbie wrote:
On Monday, 21 May 2012 at 12:08:33 UTC, Ary Manzana wrote:
On 5/20/12 10:37 PM, dnewbie wrote:
It started as a D project, then I've moved it to C.
o_O
Why?
Because the d version of the program
In C I can write
OPENFILENAME ofn;
ZeroMemory(ofn, sizeof(ofn));
In D, there is no ZeroMemory. Please help me.
On Monday, 21 May 2012 at 12:08:33 UTC, Ary Manzana wrote:
On 5/20/12 10:37 PM, dnewbie wrote:
It started as a D project, then I've moved it to C.
o_O
Why?
Because the d version of the program has a lot of weird bugs and
I wasn't able to kill them.
On Sunday, 20 May 2012 at 03:53:43 UTC, Nick Sabalausky wrote:
dnewbie r...@myopera.com wrote in message
news:qufvdhexcdzabuzqr...@forum.dlang.org...
dpj is a mini-ide for the D programming language.
http://my.opera.com/run3/blog/2012/05/20/dpj
That's a good start! Not bad. Is it written
On Sunday, 13 May 2012 at 02:44:22 UTC, Jason King wrote:
I'm trying to use ocilib (deimos\ocilib) bindings and having
some issues.
dmd 2.0.59, Windows 7 64 bit.
I can change sc.ini to get everything to build.
I can compile with dmd myapp.d -Ipath_to_deimos -c, but I
can't seem to figure out
On Sunday, 13 May 2012 at 19:01:15 UTC, Jason King wrote:
.
C:\ocilib\ocilib3.9.3\lib32dmc myapp.cpp -c
-Ic:\ocilib\ocilib3.9.3\include
C:\ocilib\ocilib3.9.3\lib32optlink myapp.obj,,,ociliba-dm.lib
OPTLINK (R) for Win32 Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001 All Rights
On Saturday, 28 April 2012 at 15:30:13 UTC, simendsjo wrote:
stuff/blob/master/mysql.d
http://my.opera.com/run3/blog/2012/03/13/d-mysql
I use it in a bank account application. It works.
On Sunday, 22 April 2012 at 00:58:58 UTC, Brian Schott wrote:
On Friday, 20 April 2012 at 03:33:43 UTC, H. S. Teoh wrote:
One thing I miss, though, is ctags support for D.
1. It seems that everything can understand Ctags
2. The format's not complicated at all.
I just committed support for a
On Sunday, 8 April 2012 at 05:27:50 UTC, Jonathan M Davis wrote:
On Sunday, April 08, 2012 07:08:09 dnewbie wrote:
I have a wchar[] and I want to convert it to UTF8
then append a string. This is my code.
import std.c.windows.windows;
import std.string;
import std.utf;
int main()
{
wchar
I have a wchar[] and I want to convert it to UTF8
then append a string. This is my code.
import std.c.windows.windows;
import std.string;
import std.utf;
int main()
{
wchar[100] v;
v[0] = 'H';
v[1] = 'e';
v[2] = 'l';
v[3] = 'l';
v[4] = 'o';
v[5] = 0;
string s = toUTF8(v)
On Thursday, 5 April 2012 at 06:15:59 UTC, Walter Bright wrote:
On 4/4/2012 9:47 AM, dnewbie wrote:
On Tuesday, 3 April 2012 at 04:01:07 UTC, dnewbie wrote:
It also works on Linux (I've just tested it on Debian Squeeze
with Oracle
Express)
Rock'n'roll!
Hi. I'd like to submit these bindings
On Thursday, 5 April 2012 at 17:58:15 UTC, Walter Bright wrote:
https://github.com/D-Programming-Deimos/ocilib
Thank you.
On Tuesday, 3 April 2012 at 04:01:07 UTC, dnewbie wrote:
It also works on Linux (I've just tested it on Debian Squeeze
with Oracle Express)
Rock'n'roll!
Hi. I'd like to submit these bindings to be reviewed for
inclusion in Deimos.
It also works on Linux (I've just tested it on Debian Squeeze
with Oracle Express)
Rock'n'roll!
I've added oracle binding (ocilib). It was tested on Windows with
Oracle Express Edition.
http://my.opera.com/run3/blog/2012/04/02/d-oracle
On Friday, 30 March 2012 at 22:17:55 UTC, Stewart Gordon wrote:
I see that the numbers are almost evenly balanced between the
four categories. But does this really mean that we've
attracted more people in the last two years than in all earlier
years combined, or that an awful lot of
On Thursday, 29 March 2012 at 04:48:39 UTC, F i L wrote:
http://reign-studios.com/d-wallpapers/LinuxAndD.png
Very nice. Thanks!!
Thanks for doing this (and the other misc stuff)
I wonder how can I generate unique, non predictable session ids.
On Sunday, 25 March 2012 at 19:22:02 UTC, Adam D. Ruppe wrote:
On Sunday, 25 March 2012 at 19:14:32 UTC, dnewbie wrote:
I wonder how can I generate unique, non predictable session
ids.
In web.d, there's a Session class that generates them
with std.random.uniform. I suspect this isn't the
best
I can't compile web.d
Notice: As of Phobos 2.055, std.date and std.dateparse have been
deprecated. They will be removed in February 2012. Please use
std.datetime instead.
arsd\web.d(2671): Error: function std.date.dateFromTime is
deprecated
arsd\web.d(2672): Error: function
Just out of curiosity, is D attracting new users? Are the old
users running? Place your vote here
http://www.easypolls.net/poll.html?p=4f6fb7e5e4b04f389e5eb66f
On Tuesday, 20 March 2012 at 22:52:13 UTC, James Miller wrote:
A bit of a side note, but is there any way that some of this
work
could be made more standalone, even if somebody else has to
take up
the work to finish it and make it truly standalone. I
personally can't
stand fully integrated
I need 20 reputation. Please help me.
On Wed, Mar 21, 2012, at 12:23 PM, Robik wrote:
On Sunday, 18 March 2012 at 23:13:47 UTC, James Miller wrote:
Hey guys,
I made a StackOverflow chat room. You don't have to use it or
anything, but at least it exists now.
Its called Dlang,
On Wednesday, 21 March 2012 at 01:09:58 UTC, Andrej Mitrovic
wrote:
On 3/21/12, Pedro Lacerda kanvua...@gmail.com wrote:
Ouch, void* is the same in both languages, sorry. I addressed
a new problem:
typedef struct SomeFunctions {
void *(*funcA)(char*, size_t);
void *(*funcB)(void);
}
Hi D friends.
I'd like to share with you a little tool. It allows you to execute SQL
statements in your MySQL database.
It displays the data in a nice data grid widget written by David Hillard.
I hope you like it.
Link
http://my.opera.com/run3/blog/2012/03/17/mysql-tool
Zach the Mystic - I can't compile it.
dmd\binExp.d(115): Error: function dmd.binExp.AndAndExp.isBit of type bool()
overrides but is no
t covariant with dmd.expression.Expression.isBit of type int()
dmd\binExp.d(115): Error: function dmd.binExp.AndAndExp.isBit does not override
any function
On
It's working..
Pretty cool :)
On Thu, Mar 8, 2012, at 12:07 AM, Zach the Mystic wrote:
On Wednesday, 7 March 2012 at 21:15:46 UTC, dnewbie wrote:
Zach the Mystic - I can't compile it.
Still not working?
I have this file tmp.h:
const char *getvalue(const char *key);
I run htod tmp.h and I've got the output
---
/* Converted to D from tmp.h by htod */
module tmp;
//C const char *getvalue(const char *key);
extern (C):
char * getvalue(char *key);
Thanks Trass3r.
On Tue, Mar 6, 2012, at 05:50 PM, Trass3r wrote:
Why is 'const' removed?
cause htod sucks.
D1 didn't have const and htod wasn't updated for ages.
On Sat, Feb 25, 2012, at 10:38 PM, Mars wrote:
On Saturday, 25 February 2012 at 18:27:29 UTC, Vladimir Panteleev
wrote:
On Friday, 24 February 2012 at 19:15:26 UTC, Mars wrote:
Hello everybody.
When trying to compile a program using GDC (Windows), which
includes an import
Here is a simple service in D
http://my.opera.com/run3/blog/2012/02/23/windows-services-in-d
It's basically c translated to d.
On Tue, Feb 21, 2012, at 03:08 PM, Graham Fawcett wrote:
Hi folks,
I've got a Windows service that I'd like to write in D, if possible. I
see that Andrej Mitrovic
?
== Auszug aus DNewbie (r...@myopera.com)'s Artikel
Try this
while(true) {
Socket cs = s.accept();
cs.receive(new byte[1024]);
cs.sendTo(HTTP/1.1 200 OK\r\nContent-Length: 11\r\n\r\nHello
World);
cs.close();
}
On Thu, Feb 9, 2012, at 07
Try this
while(true) {
Socket cs = s.accept();
cs.receive(new byte[1024]);
cs.sendTo(HTTP/1.1 200 OK\r\nContent-Length: 11\r\n\r\nHello
World);
cs.close();
}
On Thu, Feb 9, 2012, at 07:31 PM, Nrgyzer wrote:
Hi
On Fri, Feb 3, 2012, at 09:48 PM, Trass3r wrote:
Thanks a lot, So I just need to detect user locale using How to do
that?
You can always use the functions you would use in C.
You can see your language id in this page:
On Sun, Jan 22, 2012, at 12:11 AM, Ali Çehreli wrote:
On 01/21/2012 06:28 PM, Mars wrote:
On Sunday, 22 January 2012 at 00:50:28 UTC, Ali Çehreli wrote:
Are you also including the library on the command line with -L-l? For
example, for ncurses:
dmd ... -L-lncurses ...
And if
On Sun, Jan 22, 2012, at 01:13 PM, Mars wrote:
On Sunday, 22 January 2012 at 10:21:29 UTC, DNewbie wrote:
I've took a look at MySQL headers, the functions use stdcall,
but in libmysql.dll exports table they are not decorated.
This means...?
Shouldn't it at least compile
On Sun, Jan 22, 2012, at 11:02 PM, DNewbie wrote:
On Sun, Jan 22, 2012, at 01:13 PM, Mars wrote:
On Sunday, 22 January 2012 at 10:21:29 UTC, DNewbie wrote:
I've took a look at MySQL headers, the functions use stdcall,
but in libmysql.dll exports table they are not decorated
Please check whether your MySQL lib is 64 bit and your app is 32 bit.
On Sat, Jan 21, 2012, at 10:38 PM, Mars wrote:
Hello everyone.
I've been trying to use MySQL in an application on Windows, but I
always get
Symbol Undefined _mysql_init
I've put the lib in the correct folder, so I don't
On Mon, Jan 16, 2012, at 05:59 PM, Andrej Mitrovic wrote:
On 1/16/12, Robert Clipsham rob...@octarineparrot.com wrote:
https://github.com/AndrejMitrovic/DWinProgramming
I think he's looking for an OOP approach, that code is basically C
translated to D.
There are some OOP libraries he can
Is there a D version of this type of tutorial?
https://www.relisoft.com/win32/index.htm
1 - 100 of 110 matches
Mail list logo