Greetings!
I have been working on Juno for a long time with D1 version
1.046, and love it. But now, I want to update it to 1.076, the
latest and greatest D1. I have fixed, what I think, were all of
the problems. However, when I build the libraries with my
program, I get this error:
OPTLIN
On Thursday, 22 August 2019 at 15:58:56 UTC, a11e99z wrote:
try to add
pragma( lib, "OleAut32.lib" )
Thanks for the support, a11e99z. :-)
I have,
pragma(lib, "ole32.lib");
pragma(lib, "oleaut32.lib");
on that file. But I did go change it back to your suggestion,
pragma(lib, "ole32.lib");
pr
On Thursday, 22 August 2019 at 16:36:45 UTC, a11e99z wrote:
On Thursday, 22 August 2019 at 16:34:52 UTC, a11e99z wrote:
On Thursday, 22 August 2019 at 16:34:06 UTC, a11e99z wrote:
On Thursday, 22 August 2019 at 16:07:00 UTC, jicman wrote:
On Thursday, 22 August 2019 at 15:58:56 UTC, a11e99z wr
Greetings!
Is there any tool out there, I searched around and didn't find
any, that would take ton of D1 code and convert it to D2? Thanks.
josé
On Thursday, 22 August 2019 at 18:25:44 UTC, jicman wrote:
On Thursday, 22 August 2019 at 18:20:09 UTC, jicman wrote:
On Thursday, 22 August 2019 at 17:34:01 UTC, a11e99z wrote:
On Thursday, 22 August 2019 at 16:59:03 UTC, jicman wrote:
These are the options for dmd 1.076:
-v
On Thursday, 22 August 2019 at 18:20:09 UTC, jicman wrote:
On Thursday, 22 August 2019 at 17:34:01 UTC, a11e99z wrote:
On Thursday, 22 August 2019 at 16:59:03 UTC, jicman wrote:
These are the options for dmd 1.076:
-v verbose
Well, this one is definitely verbose. ;-) But, I
On Thursday, 22 August 2019 at 18:26:52 UTC, jicman wrote:
OPTLINK (R) for Win32 Release 8.00.12
Copyright (C) Digital Mars 1989-2010 All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
c:\D\import\juno\com\core.obj(core)
Error 42: Symbol Undefined _VarCmp@16
c:\D\import\juno\com
On Thursday, 22 August 2019 at 17:34:01 UTC, a11e99z wrote:
On Thursday, 22 August 2019 at 16:59:03 UTC, jicman wrote:
These are the options for dmd 1.076:
-v verbose
Well, this one is definitely verbose. ;-) But, I don't see
anything in it that will help. But, here it goes:
On Thursday, 22 August 2019 at 18:54:50 UTC, jicman wrote:
On Thursday, 22 August 2019 at 18:26:52 UTC, jicman wrote:
OPTLINK (R) for Win32 Release 8.00.12
Copyright (C) Digital Mars 1989-2010 All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
c:\D\import\juno\com\core.obj(core)
On Thursday, 22 August 2019 at 21:05:49 UTC, Stefan Koch wrote:
On Thursday, 22 August 2019 at 18:10:51 UTC, jicman wrote:
Greetings!
Is there any tool out there, I searched around and didn't find
any, that would take ton of D1 code and convert it to D2?
Thanks.
josé
There is:
https://g
On Thursday, 22 August 2019 at 19:59:55 UTC, jicman wrote:
I think I have figured out what is going on. I will comeback,
if I need more help, but I have to rewrite a few more
functions. But, thanks for pointing out the pragma. That gave
me an idea of what was going on.
Well, I rewrote some
On Friday, 23 August 2019 at 16:02:38 UTC, a11e99z wrote:
On Friday, 23 August 2019 at 16:00:00 UTC, a11e99z wrote:
On Friday, 23 August 2019 at 14:02:36 UTC, jicman wrote:
On Thursday, 22 August 2019 at 19:59:55 UTC, jicman wrote:
cuz I tried compile app
void main() { VARIANT a, b; VarCmp(
On Friday, 23 August 2019 at 16:19:10 UTC, Mike Parker wrote:
On Friday, 23 August 2019 at 16:09:16 UTC, jicman wrote:
}
That looks like D2 code. I am trying to compile D1 code. I
think the linker is not getting something right.
You might try declaring the offending functions as
extern(W
On Friday, 23 August 2019 at 16:49:07 UTC, a11e99z wrote:
right now problem exists with linker/libs only, compiler see
all used VarXXX
First of all, thanks for your patient support.
But, that function is being used throughout. Also, the same
linker builds the whole project with D v1.046.
u
On Friday, 23 August 2019 at 17:18:55 UTC, a11e99z wrote:
On Friday, 23 August 2019 at 17:03:24 UTC, jicman wrote:
On Friday, 23 August 2019 at 16:49:07 UTC, a11e99z wrote:
right now problem exists with linker/libs only, compiler see
all used VarXXX
First of all, thanks for your patient suppo
On Friday, 23 August 2019 at 19:35:52 UTC, a11e99z wrote:
On Friday, 23 August 2019 at 17:50:52 UTC, jicman wrote:
On Friday, 23 August 2019 at 17:18:55 UTC, a11e99z wrote:
On Friday, 23 August 2019 at 17:03:24 UTC, jicman wrote:
On Friday, 23 August 2019 at 16:49:07 UTC, a11e99z wrote:
right
On Friday, 23 August 2019 at 20:33:30 UTC, jicman wrote:
I actually have more problems. After fixing that problem,
others have surfaced. How does one knows which which are the
correct names of the undefined symbols? For example:
OPTLINK (R) for Win32 Release 8.00.16
Copyright (C) Digital M
Yes, I know. I am using D1, and I love it. ;-)
Greetings.
I know that I can declare an array with data, ie.
string[] d = ["1","2","three","4];
and this will be done at compiled time. I want to do the same
with an associative array., ie.
int[string] MyDigits = ["0" = 0, "1" = 1, "2" = 2]
On Wednesday, 4 September 2019 at 13:39:05 UTC, Adam D. Ruppe
wrote:
On Wednesday, 4 September 2019 at 13:33:02 UTC, jicman wrote:
string[] d = ["1","2","three","4];
and this will be done at compiled time. I want to do the same
with an associative array., ie.
That's actually only at compile
Greetings!
I am trying to see if there are any converters out there from d
code to c. Anyone knows? Thanks.
josé
There used to be a tool called 'build', later named 'bud', that
would build applications. Does anyone know where I can download
it? I tried the old spot, dsource,
http://www.dsource.org/projects/build
but the links for download are not working. Any help would be
greatly appreciated. Thank
On Friday, 21 December 2018 at 19:29:25 UTC, bauss wrote:
On Friday, 21 December 2018 at 13:25:17 UTC, jicman wrote:
There used to be a tool called 'build', later named 'bud',
that would build applications. Does anyone know where I can
download it? I tried the old spot, dsource,
http://www.
On Friday, 21 December 2018 at 19:37:00 UTC, Steven Schveighoffer
wrote:
On 12/21/18 8:25 AM, jicman wrote:
There used to be a tool called 'build', later named 'bud',
that would build applications. Does anyone know where I can
download it? I tried the old spot, dsource,
http://www.dsource.o
Greetings!
Imagine,
//start
int getMe(int i)
{
writefln(__LINE__);
writefln(__FUNCTION_NAME__);
return I + 1;
}
void main(args )
{
getMe(1);
}
//end
So, the result would be,
4
getMe
So, is there a way to get the name of the function while in that
function? I know I can use some deb
On Wednesday, 20 December 2017 at 23:51:29 UTC, Johan Engelen
wrote:
On Wednesday, 20 December 2017 at 23:28:46 UTC, jicman wrote:
Greetings!
Imagine,
//start
int getMe(int i)
{
writefln(__LINE__);
writefln(__FUNCTION_NAME__);
So close! Use "__FUNCTION__" or "__PRETTY_FUNCTION__".
https:
On Saturday, 12 April 2014 at 10:41:19 UTC, hicman wrote:
will the library build for x64?
It will build but not true x64.
On Friday, 11 April 2014 at 12:33:27 UTC, FrankLike wrote:
On Thursday, 14 November 2013 at 16:17:53 UTC, Heinz wrote:
You have to manually set the tooltip's max width t
On Thursday, 14 November 2013 at 16:17:53 UTC, Heinz wrote:
You have to manually set the tooltip's max width to a fixed
value using the tooltip handle and Win32 API, by doing this
you're telling the tooltip object it is a multiline tooltip and
from now on it will accept \r\n as end of line:
Greetings!
I have a bunch of files plain ASCII, UTF8 and UTF16 with and
without BOM (Byte Order Mark). I had, "I thought", a nice way of
figuring out what type of encoding the file was (ASCII, UTF8 or
UTF16) when the BOM was missing, by reading the content and
applying the std.utf.validate
On Tuesday, 17 June 2014 at 07:49:59 UTC, monarch_dodra wrote:
On Tuesday, 17 June 2014 at 06:44:40 UTC, Jacob Carlborg wrote:
On 17/06/14 04:27, jicman wrote:
Greetings!
I have a bunch of files plain ASCII, UTF8 and UTF16 with and
without BOM
(Byte Order Mark). I had, "I thought", a nice w
On Tuesday, 17 June 2014 at 06:44:40 UTC, Jacob Carlborg wrote:
On 17/06/14 04:27, jicman wrote:
Greetings!
I have a bunch of files plain ASCII, UTF8 and UTF16 with and
without BOM
(Byte Order Mark). I had, "I thought", a nice way of figuring
out what
type of encoding the file was (ASCII, U
On Tuesday, 17 June 2014 at 12:54:39 UTC, Marc Schütz wrote:
On Tuesday, 17 June 2014 at 02:27:43 UTC, jicman wrote:
Greetings!
I have a bunch of files plain ASCII, UTF8 and UTF16 with and
without BOM (Byte Order Mark). I had, "I thought", a nice way
of figuring out what type of encoding th
On Wednesday, 18 June 2014 at 02:25:34 UTC, Jesse Phillips wrote:
On Tuesday, 17 June 2014 at 02:27:43 UTC, jicman wrote:
Greetings!
I have a bunch of files plain ASCII, UTF8 and UTF16 with and
without BOM (Byte Order Mark). I had, "I thought", a nice way
of figuring out what type of encodi
Greetings.
I know that D1 will be deprecated pretty soon and I have a huge
project based on D1. I am trying to build everything using the
latest D1 build (1.076). I am looking into cleaning up a lot of
code for this project that uses, dbi, juno and dfl. I am finding
this error while compi
On Sunday, 24 August 2014 at 10:52:38 UTC, bearophile wrote:
jicman:
This is line 7634:
const Size DEFAULT_SCALE = { 5, 13 };
What does the error say and how can I fix it? Thanks.
Can you show the (reduced) definition of Size and
DEFAULT_SCALE? Even better to show a minimized self-contain
On Sunday, 24 August 2014 at 21:54:57 UTC, jicman wrote:
On Sunday, 24 August 2014 at 10:52:38 UTC, bearophile wrote:
jicman:
This is line 7634:
const Size DEFAULT_SCALE = { 5, 13 };
What does the error say and how can I fix it? Thanks.
Can you show the (reduced) definition of Size and
D
Ok, let's try something simpler... Where can I find the D1
v1.076 compiler error meaning of,
Error: duplicate union initialization for size
for this line,
const Size DEFAULT_SCALE = { 5, 13 };
thanks.
On Tuesday, 26 August 2014 at 06:36:59 UTC, Jacob Carlborg wrote:
On 26/08/14 00:57, jicman wrote:
Ok, let's try something simpler... Where can I find the D1
v1.076
compiler error meaning of,
Error: duplicate union initialization for size
for this line,
const Size DEFAULT_SCALE = { 5, 13
On Wednesday, 27 August 2014 at 06:20:24 UTC, Jacob Carlborg
wrote:
On 23/08/14 19:50, jicman wrote:
This is line 7634:
const Size DEFAULT_SCALE = { 5, 13 };
What does the error say and how can I fix it? Thanks.
Does the following make any difference?
const Size DEFAULT_SCAL = Size(5, 13)
On Thursday, 28 August 2014 at 06:17:13 UTC, Jacob Carlborg wrote:
On 27/08/14 23:48, jicman wrote:
On Wednesday, 27 August 2014 at 06:20:24 UTC, Jacob Carlborg
wrote:
On 23/08/14 19:50, jicman wrote:
This is line 7634:
const Size DEFAULT_SCALE = { 5, 13 };
What does the error say and how c
On Monday, 1 September 2014 at 15:44:50 UTC, Dicebot wrote:
On Sunday, 31 August 2014 at 03:06:48 UTC, Dicebot wrote:
My guess is that it hasn't been ported to the D1 compiler
yet. Dicebot or any other people who work for Sociomantic
should be most helpful. At this point, I recommend that you
Greetings.
I have a type long variable, ie.
long v = 1024;
and I have to pass it to a Window's function and it's not
working. I found out that I have to pass a DWORD to the
function, and I know that dchar is somewhat close to DWORD, so,
how do I pass this to this Windows function?
Anyone
On Monday, 8 September 2014 at 07:08:25 UTC, Kagamin wrote:
cast(DWORD)v
Darn it! That is so easy. I am convinced that D is the best
language ever.
thanks,
josé
Greetings.
Imagine this code,
char[] s = "ABCabc";
foreach (char c; s)
{
// how do I convert c to something an Unicode code? ie. \u.
}
thanks.
On Tuesday, 14 October 2014 at 19:49:16 UTC, Sean Kelly wrote:
On Tuesday, 14 October 2014 at 19:47:00 UTC, jicman wrote:
Greetings.
Imagine this code,
char[] s = "ABCabc";
foreach (char c; s)
{
// how do I convert c to something an Unicode code? ie.
\u.
}
I'd look at the JSON strin
On Tuesday, 14 October 2014 at 19:56:29 UTC, ketmar via
Digitalmars-d-learn wrote:
On Tue, 14 Oct 2014 19:46:57 +
jicman via Digitalmars-d-learn
wrote:
char[] s = "ABCabc";
foreach (char c; s)
{
// how do I convert c to something an Unicode code? ie.
\u.
}
On Tuesday, 14 October 2014 at 20:13:17 UTC, Brad Anderson wrote:
On Tuesday, 14 October 2014 at 20:08:03 UTC, Brad Anderson
wrote:
On Tuesday, 14 October 2014 at 20:05:07 UTC, Brad Anderson
wrote:
https://github.com/D-Programming-Language/phobos/blob/master/std/json.d#L579
Oops. Linked the t
Greetings!
I am trying to compile dfl with the latest version of D1. I am
stuck in this error:
c:\D\import\dfl\button.d(381): Error: function
dfl.button.Button.text cannot have
e an in contract when overriden function dfl.control.Control.text
does not have an in contract
This is the line
On Saturday, 8 November 2014 at 01:59:56 UTC, Adam D. Ruppe wrote:
If it is just that one error, you could always just comment out
the in contract and recompile.
Sorry it took so long. Extremely busy, but anyway, this is the
piece of the code that is causin the problem:
override void text(D
On Monday, 16 February 2015 at 07:33:54 UTC, Kagamin wrote:
It checks that you don't set both text and image, because the
button doesn't support it.
Yes, I get that. :-) I am talking about the
in
{
}
and also the
body
{
}
how are these interpreted by the compiler? They are both part of
the f
On Monday, 16 February 2015 at 15:10:29 UTC, Kagamin wrote:
http://digitalmars.com/d/1.0/dbc.html
in is precondition, body is function body, which expects
precondition to pass.
Muchas gracias. (That is, "Thanks much", for the Spanish Speaking
Challenged Community. :-))
Greetings.
I am using,
15:32:35.63>dmd
Digital Mars D Compiler v1.046
Copyright (c) 1999-2009 by Digital Mars written by Walter Bright
Documentation: http://www.digitalmars.com/d/1.0/index.html
And I have a program that reads a file into UTF8 and does a
series of string handling to create rep
Greetings!
Has anyone written any quick program to convert d1 code to d2? I
believe it will be a fine piece of program. :-) Thanks.
josé
On Monday, 6 April 2015 at 20:48:05 UTC, Dicebot wrote:
On Monday, 6 April 2015 at 20:25:39 UTC, jicman wrote:
Greetings!
Has anyone written any quick program to convert d1 code to d2?
I believe it will be a fine piece of program. :-) Thanks.
josé
It is surprisingly difficult, to the poin
On Tuesday, 7 April 2015 at 09:03:19 UTC, Kagamin wrote:
For example if you slice the original string, it will be
preserved in memory. That's why parsers keep parsed substrings
by duplicating them - this can result in smaller memory
footprint.
H... Will you be able to give me an example o
On Tuesday, 7 April 2015 at 08:58:31 UTC, Kagamin wrote:
Depends on how you fill aTUs.
Ok, I will bite... ;-)
I have the wText string which could be 20 mgs or so, I start
finding pieces of data like this,
wText = wText[std.string.find(wText,"") + 5 .. $];
so, everything before , including i
On Friday, 10 April 2015 at 13:47:52 UTC, Kagamin wrote:
On Tuesday, 7 April 2015 at 15:28:21 UTC, jicman wrote:
H... Will you be able to give me an example of what is bad
and then fix that bad to a good? This may be my problem...
maybe
aTUs = AddToTrackerRepeat(aTUs, source.dup, fn, 1, t
On Saturday, 11 April 2015 at 20:45:25 UTC, Kagamin wrote:
Parsers unique duplicated strings via a name table:
string udup(string s, ref string[string] nameTable)
{
if(s in nameTable)return nameTable[s];
string s1=s.dup;
nameTable[s1]=s1;
return s1;
}
This way you avoid extra duplicates.
On Saturday, 11 April 2015 at 20:45:25 UTC, Kagamin wrote:
Parsers unique duplicated strings via a name table:
string udup(string s, ref string[string] nameTable)
{
if(s in nameTable)return nameTable[s];
string s1=s.dup;
nameTable[s1]=s1;
return s1;
}
This way you avoid extra duplicates.
Hi.
I have a zlib string that I want to decode. Anybody has any idea
how to do that? I am trying to figure out what to send with a
POST to create a new internal log and the person that created the
form is no longer available, but I need to find what are the
pieces and data that I need to c
59 matches
Mail list logo