On Wednesday, 15 March 2017 at 07:03:19 UTC, Damien Gibson wrote:
If it helps to know i also get in the other little window that
tells me the activate compiler commands and stuff that the
symbols for the functions i called undefined while the other
side just said library reference not found.
I have this activex dll in vb6 and would like to be able to use
it in D
CClasexp.cls
Public Function Add (X As Integer, and As Integer)
Add = (X + y)
End Function
How do i instantiate activex dll in D?
On Wednesday, 8 March 2017 at 18:21:35 UTC, Damien Gibson wrote:
On Wednesday, 8 March 2017 at 06:28:47 UTC, Jerry wrote:
You have to use "export" for any symbol to be visible from a
dll. On Windows by default nothing is exported.
Would "export" and "export extern(D):" not be the same? Im
On Monday, 1 August 2016 at 00:27:27 UTC, Sean Campbell wrote:
On Sunday, 31 July 2016 at 23:36:54 UTC, Cassio Butrico wrote:
[...]
There was changes made to core.sys.windows so it defaults to
unicode.
Try dmd winsamp gdi32.lib winsamp.def -version=ANSI
or change all of the xxxA functions
in C:\d\dmd2\samples\d winsamp.d dont compiler.
dmd winsamp gdi32.lib winsamp.def
winsamp.d(53): Error: function core.sys.windows.winuser.LoadIconA
(void*, const(char)*) is not callable using argument types
(typeof(null), wchar*)
winsamp.d(54): Error: function
What does the .json file and how to use it?
Thank you for answering me so fast , where do I get the DUB for
windows ?
On Friday, 12 June 2015 at 00:56:45 UTC, Ali Çehreli wrote:
On 06/11/2015 04:58 PM, Cassio Butrico wrote:
What does the .json file and how to use it?
There is also the .json file that is produced by dmd's -X
command line switch:
dmd -X foo.d
That outputs the members of the source code
On Thursday, 21 May 2015 at 21:16:59 UTC, wobbles wrote:
On Thursday, 21 May 2015 at 21:00:15 UTC, Cassio Butrico wrote:
If I understand right you want to redirect the output to a
file by a flag , another file type , video printer is it?
I think by video printer you mean the console?
If so,
If I understand right you want to redirect the output to a file
by a flag , another file type , video printer is it?
see
import std.stdio;
import std.datetime;
import std.process;
void main() {
auto ct = Clock.currTime;
write(\n\n\tData: ,ct.day, / ,ct.month, / ,ct.year,.\n);
auto tv = Clock.currTime;
write(\tHour: ,
tv.hour,:,
tv.minute,:,
On Tuesday, 12 May 2015 at 03:20:34 UTC, TJB wrote:
I'm sure this question has been asked a thousand times. I've
even asked similar questions in the past (I've been away for
quite a while). But all of the tutorials that I have found
assume quite a lot and leave a lot to be inferred. Is there a
On Sunday, 26 April 2015 at 05:56:46 UTC, ketmar wrote:
On Sat, 25 Apr 2015 23:25:13 +, Cassio Butrico wrote:
Hello everyone , first congratulations for the wonderful forum
, I wish
someone could help me , I am writing a small basic interpreter
in D and
I am with some difficulties.
I'm just building a small interpreter with a script and wanted to
handle errors diverting the flow and returning .
I am grateful for having responded my question , thank you.
Hello everyone , first congratulations for the wonderful forum ,
I wish someone could help me , I am writing a small basic
interpreter in D and I am with some difficulties.
estoutentando manupular the setjmp / longjmp buffers , but the
error , I use windows 7 and the dmd 2067 , will be whose
On Friday, 24 April 2015 at 22:21:16 UTC, Adam D. Ruppe wrote:
Also try cast(dchar) instead of cast(char), that might do what
you need.
a look at this
https://github.com/cassio2014/DIC
On Sunday, 21 September 2014 at 10:56:38 UTC, Kagamin wrote:
Can depend on how you compile resources.
true, but I do not know what should I do to compile the resource
so that it is accepted.
On Sunday, 21 September 2014 at 19:45:58 UTC, Kagamin wrote:
MinGW resource compiler can compile to both res and coff. For
ms AFAIK (didn't use) the compiled resource should be
additionally converted to coff.
how to compile in mingw-w64 resource compiler?
never used mingw :(
instalai the
On Sunday, 21 September 2014 at 21:41:41 UTC, ketmar via
Digitalmars-d-learn wrote:
On Sun, 21 Sep 2014 20:13:41 +
Cassio Butrico via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com wrote:
how to compile in mingw-w64 resource compiler?
it tooks the standard text .rc files
On Sunday, 21 September 2014 at 22:07:47 UTC, Cassio Butrico
wrote:
On Sunday, 21 September 2014 at 21:41:41 UTC, ketmar via
Digitalmars-d-learn wrote:
On Sun, 21 Sep 2014 20:13:41 +
Cassio Butrico via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com wrote:
how to compile in mingw
On Sunday, 21 September 2014 at 23:53:34 UTC, ketmar via
Digitalmars-d-learn wrote:
On Sun, 21 Sep 2014 23:46:05 +
Cassio Butrico via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com wrote:
The problem is how to convert COFF r.res in r.res OMF.
resulting '.res' is not COFF, it's
On Monday, 22 September 2014 at 00:12:11 UTC, Cassio Butrico
wrote:
On Sunday, 21 September 2014 at 23:53:34 UTC, ketmar via
Digitalmars-d-learn wrote:
On Sun, 21 Sep 2014 23:46:05 +
Cassio Butrico via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com wrote:
The problem is how
On Saturday, 20 September 2014 at 15:24:23 UTC, K.K. wrote:
On Friday, 19 September 2014 at 22:20:59 UTC, Cassio Butrico
wrote:
Hello everyone,
When I create and compile resouces to 32 works perfect, but
when I try to compilat of 64 error
LNK1136: invalid or corrupt file.
I do not know if it
On Saturday, 20 September 2014 at 20:33:36 UTC, Cassio Butrico
wrote:
On Saturday, 20 September 2014 at 15:24:23 UTC, K.K. wrote:
On Friday, 19 September 2014 at 22:20:59 UTC, Cassio Butrico
wrote:
Hello everyone,
When I create and compile resouces to 32 works perfect, but
when I try to
Hello everyone,
When I create and compile resouces to 32 works perfect, but when
I try to compilat of 64 error
LNK1136: invalid or corrupt file.
I do not know if it has to do with comverter COFF to OMF.
can someone give me a light?
Thank you for your attention.
how to transform decial point 3.15 to 3,15 comma?
Hello everyone, I am making a registry of real amounts,
and need trasformar fractional numbers,
so print coretamente.
there is some routine that do this?
how to transform decial point 3.15 to 3,15 comma?
Hello everyone, I am making a registry of real amounts, and need
trasformar fractional numbers, so print correctly. there is some
routine that do this?
On Monday, 15 September 2014 at 23:24:13 UTC, AsmMan wrote:
On Monday, 15 September 2014 at 23:17:51 UTC, AsmMan wrote:
On Monday, 15 September 2014 at 22:45:50 UTC, Cassio Butrico
wrote:
how to transform decial point 3.15 to 3,15 comma?
Hello everyone, I am making a registry of real amounts,
On Wednesday, 3 September 2014 at 20:46:40 UTC, monarch_dodra
wrote:
On Wednesday, 3 September 2014 at 19:43:26 UTC, Nordlöw wrote:
Is there a simpler way to way to
s ~= repeat('*', n).array.to!string;
if s has to be of type string?
s ~= repeat('*', n).array();
Should be enough. Why the
On Tuesday, 2 September 2014 at 16:49:15 UTC, Kagamin wrote:
On Sunday, 31 August 2014 at 08:37:40 UTC, Jonathan M Davis via
Digitalmars-d-learn wrote:
D program should just use string unless it needs
random-access, in which case,
it should use dstring.
Except that dstring is not fool-proof
On Tuesday, 2 September 2014 at 20:12:12 UTC, Cassio Butrico
wrote:
On Tuesday, 2 September 2014 at 16:49:15 UTC, Kagamin wrote:
On Sunday, 31 August 2014 at 08:37:40 UTC, Jonathan M Davis
via Digitalmars-d-learn wrote:
D program should just use string unless it needs
random-access, in which
On Sunday, 31 August 2014 at 06:08:46 UTC, Ali Çehreli wrote:
On 08/30/2014 10:37 PM, Cassio Butrico wrote:
I was having trouble setting on my terminal in windows, I'm
still trying
to solve.
In addition to what Vladimir Panteleev said, you should also
select a Unicode font for your
I'm new to this language, and I wonder if I will have some
support simple questions.
Thank you for your attention.
On Sunday, 31 August 2014 at 03:20:00 UTC, Vladimir Panteleev
wrote:
On Sunday, 31 August 2014 at 03:16:38 UTC, Cassio Butrico wrote:
I'm new to this language, and I wonder if I will have some
support simple questions.
Thank you for your attention.
Yes.
My question is about wstring and
On Sunday, 31 August 2014 at 03:18:57 UTC, Vladimir Panteleev
wrote:
On Friday, 29 August 2014 at 22:01:58 UTC, Cassio Butrico wrote:
Anyone help me...
I am using the version for the windows dmd v 2.066
to last I believe.
tried to use wstring in my terminal and see what happened.
name =
On Sunday, 31 August 2014 at 05:27:15 UTC, Ali Çehreli wrote:
On 08/30/2014 08:37 PM, Cassio Butrico wrote:
My question is about wstring and dstring,
which and the best way to input data, converting and which
should I use
Unless there is a specific reason not to, use 'string'. When
you
Anyone help me...
I am using the version for the windows dmd v 2.066
to last I believe.
tried to use wstring in my terminal and see what happened.
wstring name;
write(wstring - write a name: );
//readf(%s\n, name);
name = cast(wstring)chomp(readln());
//name =
On Thursday, 28 August 2014 at 19:29:40 UTC, papaboo wrote:
Hey
I've just started getting into D and so far I'm just messing
around with it in a small math library.
However I've run into an issue while trying to build a library
and linking it with my main file.
My current file and module
38 matches
Mail list logo