FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Version 0.3
Goto page 1, 2  Next
 
Post new topic   This topic is locked: you cannot edit posts or make replies.     Forum Index -> Juno
View previous topic :: View next topic  
Author Message
John



Joined: 17 Jan 2006
Posts: 75

PostPosted: Fri Jul 20, 2007 6:27 am    Post subject: Version 0.3 Reply with quote

Finally, an update is up on SVN that enables Juno to compile with post-DMD 1.0 versions.

Not many new features, I'm afraid. I've changed things around a bit - for example, the juno.intl package is now juno.locale, and I've removed one or two modules that are no longer needed. Hopefully nothing people actually used is missing. If there is, drop me a line.
Back to top
View user's profile Send private message
jcc7



Joined: 22 Feb 2004
Posts: 657
Location: Muskogee, OK, USA

PostPosted: Fri Jul 20, 2007 9:35 am    Post subject: Re: Version 0.3 Reply with quote

John wrote:
Finally, an update is up on SVN that enables Juno to compile with post-DMD 1.0 versions.

Not many new features, I'm afraid. I've changed things around a bit - for example, the juno.intl package is now juno.locale, and I've removed one or two modules that are no longer needed. Hopefully nothing people actually used is missing. If there is, drop me a line.
That's great news!

I'm glad to hear that you're still maintaining Juno.
Back to top
View user's profile Send private message AIM Address
yidabu



Joined: 21 Apr 2007
Posts: 87

PostPosted: Fri Jul 20, 2007 10:06 pm    Post subject: great job Reply with quote

you did a great job! john

little problem in juno\local\format

Code:
private import juno.locale.core : IFormatProvider, NumberFormat, DateTimeFormat, DayOfWeek, Calendar, DateTime, TimeSpan;


DayOfWeek is in juno\local\constants, not in juno\local\core


to get a newer kernel32.lib:
1 copy kernel32.lib from Microsoft Visual Studio 8\VC\PlatformSDK\Lib
2 run
Code:

coffimplib -f Kernel32.lib
Back to top
View user's profile Send private message
John



Joined: 17 Jan 2006
Posts: 75

PostPosted: Sat Jul 21, 2007 2:13 am    Post subject: Reply with quote

Quote:
DayOfWeek is in juno\local\constants, not in juno\local\core


Hmm, it seems to compile without picking the error up. How'd you spot that?
Back to top
View user's profile Send private message
yidabu



Joined: 21 Apr 2007
Posts: 87

PostPosted: Sat Jul 21, 2007 3:31 am    Post subject: Reply with quote

I use DSSS to build juno
1 dsss.conf:
Code:
[juno]
type=library
buildflags=-O

2 run
Code:
dsss build juno

dsss report the error about DayOfWeek


a suggestion:
juno.base.environment, line 45,
Code:
  return .toUtf8(buffer.ptr, 0, size);


maybe:
Code:
  return .toUtf8(buffer.ptr, 0, size-1);

to omit the trailing null of userName


Last edited by yidabu on Sat Jul 21, 2007 6:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
John



Joined: 17 Jan 2006
Posts: 75

PostPosted: Sat Jul 21, 2007 7:32 am    Post subject: Reply with quote

Quote:
Now I have error 42 : Symbol Undefined ...juno3com4core4GUID


Just a guess, but try this when building with DSSS:

Code:
buildflags=-O -op -inline


Quote:
to omit the trailing null of userName


Well spotted. Ta.
Back to top
View user's profile Send private message
yidabu



Joined: 21 Apr 2007
Posts: 87

PostPosted: Sat Jul 21, 2007 4:25 pm    Post subject: Reply with quote

John wrote:
Just a guess, but try this when building with DSSS:
buildflags=-O -op -inline


I use batch file to build the code. all earlier binding examples had same error. and when I run tlbimpd, cpu gots 100%.
Back to top
View user's profile Send private message
John



Joined: 17 Jan 2006
Posts: 75

PostPosted: Sat Jul 21, 2007 5:03 pm    Post subject: Reply with quote

Quote:
I use batch file to build the code


DSSS is compiling Juno into a lib file, right? What happens if you compile your test app using Juno's source instead of the lib file?

Quote:
when I run tlbimpd, cpu gots 100%


Weird. That's never happened. Which type library are you trying it on?

(I did fix a different issue with tlbimpd today, so I'll upload that in the next couple of days.)
Back to top
View user's profile Send private message
yidabu



Joined: 21 Apr 2007
Posts: 87

PostPosted: Sat Jul 21, 2007 6:21 pm    Post subject: Reply with quote

John wrote:

DSSS is compiling Juno into a lib file, right? What happens if you compile your test app using Juno's source instead of the lib file?


that's my mistake, nevermind. Juno isn't the problem at all. I forgot add type library to batchfile.

John wrote:

Weird. That's never happened. Which type library are you trying it on?
(I did fix a different issue with tlbimpd today, so I'll upload that in the next couple of days.)

Back to top
View user's profile Send private message
John



Joined: 17 Jan 2006
Posts: 75

PostPosted: Sun Jul 22, 2007 4:04 am    Post subject: Reply with quote

Quote:
when I run tlbimpd, cpu gots 100%


OK, I think I've discovered the cause. In the meantime, press Ctrl+C to end the program.
Back to top
View user's profile Send private message
yidabu



Joined: 21 Apr 2007
Posts: 87

PostPosted: Sun Jul 22, 2007 7:10 pm    Post subject: Reply with quote

Code:
tlbimpd mshtml.dll


I have this error:
Quote:
Load Type Library/. Exception from HRESULT: 0X80029C4A


tlbimpd 0.3, Windows XP SP2

another question:
how to use com evnt with juno ? would you please show me a simple example ?
Back to top
View user's profile Send private message
John



Joined: 17 Jan 2006
Posts: 75

PostPosted: Mon Jul 23, 2007 2:00 am    Post subject: Reply with quote

Quote:
Exception from HRESULT: 0X80029C4A


This is by design - tlbimpd is just reporting the result when Windows attempted to open a type library. Google the HRESULT and you'd immediately see it means that the type library couldn't be found. BTW, mshtml.dll doesn't export a type library - but mshtml.tlb does.

Tlbimpd also accepts a type library's GUID - so 3050F1C5-98B5-11CF-BB82-00AA00BDCE0B would do the job too.

Quote:
how to use com evnt with juno ? would you please show me a simple example ?


There's one on the wiki: http://www.dsource.org/projects/juno/wiki/ComProgramming
Back to top
View user's profile Send private message
yidabu



Joined: 21 Apr 2007
Posts: 87

PostPosted: Mon Jul 23, 2007 3:54 am    Post subject: Reply with quote

thanks a million, john!

when I run (tlbimpd 0.3)
Code:
tlbimpd mshtml.tlb

or tlbimpd 3050F1C5-98B5-11CF-BB82-00AA00BDCE0B

I have this error:
Code:
Access Violation

(but succeded with SHDOCVW.DLL, scrrun.dll...)

I ran it on another computer, have same error.

then I tried (tibimpd 0.2):
Code:
tlbimpd02 3050F1C5-98B5-11CF-BB82-00AA00BDCE0B


succeeded!

what's the meaning of the error?
Back to top
View user's profile Send private message
John



Joined: 17 Jan 2006
Posts: 75

PostPosted: Mon Jul 23, 2007 7:36 am    Post subject: Reply with quote

I've fixed the problem. But you'll need to wait for the next update.
Back to top
View user's profile Send private message
John



Joined: 17 Jan 2006
Posts: 75

PostPosted: Mon Jul 23, 2007 7:50 am    Post subject: Reply with quote

Download juno.src.0.3.zip and tlbimpd.release.0.3.zip again for fixes to the bugs found above.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.     Forum Index -> Juno All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group