Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: General » microsoft.public.windows.64bit.general
Thread: Porting to win64, problems

HTVi
TV Discussion Newsgroups

Porting to win64, problems
Mark 6/12/2007 3:38:01 PM
Hi...

One of our guys is trying to port the tanuki java service wrapper to win64
so we can try it with the 64-bit jvm and he's running into a lot of quirks.

The latest one is that the wrapper calls GetModuleFileName(NULL, szPath,
512) early on in initialization and on the 64-bit os, this function returns
just "c" - not the whole path of the executing program. It doesn't like the
incomplete result and bails.

I googled around a little bit but couldn't find any reference to the fact
that GetModuleFileName() doesn't seem to work in the 64-bit os. Any clues as
to what's going on?

Thanks
Mark

Re: Porting to win64, problems
Theo <theo[ at ]discussions.microsoft.com> 6/12/2007 4:08:06 PM
Since you're programming with Java, wouldn't you be in
better company if you went to the Sun Java Developer's web
site and posed your question there?

I would venture to guess there are many more Java
programmers hanging out there than there are here,
especially since this is not a forum geared toward any
programming.


Mark wrote:
[Quoted Text]
> Hi...
>
> One of our guys is trying to port the tanuki java service wrapper to win64
> so we can try it with the 64-bit jvm and he's running into a lot of quirks.
>
> The latest one is that the wrapper calls GetModuleFileName(NULL, szPath,
> 512) early on in initialization and on the 64-bit os, this function returns
> just "c" - not the whole path of the executing program. It doesn't like the
> incomplete result and bails.
>
> I googled around a little bit but couldn't find any reference to the fact
> that GetModuleFileName() doesn't seem to work in the 64-bit os. Any clues as
> to what's going on?
>
> Thanks
> Mark
>
Re: Porting to win64, problems
Theo <theo[ at ]discussions.microsoft.com> 6/12/2007 4:17:40 PM
If you're trying to develop a web application, Sun has not
released a version of Java that has browser support in the
64-bit environment. The 32-bit Java works with all browsers
in x64.

Here's a link to a Tanuki forum site:
http://wrapper.tanukisoftware.org/doc/english/introduction.html

Theo wrote:
[Quoted Text]
> Since you're programming with Java, wouldn't you be in better company if
> you went to the Sun Java Developer's web site and posed your question
> there?
>
> I would venture to guess there are many more Java programmers hanging
> out there than there are here, especially since this is not a forum
> geared toward any programming.
>
>
> Mark wrote:
>> Hi...
>>
>> One of our guys is trying to port the tanuki java service wrapper to
>> win64 so we can try it with the 64-bit jvm and he's running into a lot
>> of quirks.
>>
>> The latest one is that the wrapper calls GetModuleFileName(NULL,
>> szPath, 512) early on in initialization and on the 64-bit os, this
>> function returns just "c" - not the whole path of the executing
>> program. It doesn't like the incomplete result and bails.
>>
>> I googled around a little bit but couldn't find any reference to the
>> fact that GetModuleFileName() doesn't seem to work in the 64-bit os.
>> Any clues as to what's going on?
>>
>> Thanks
>> Mark
>>
Re: Porting to win64, problems
Mark 6/12/2007 4:51:03 PM
Hi Theo...

Tanuki runs java programs as windows services, but it is not written in Java
itself. It's written in C. The guys over there haven't tried to port it to
Windows 64-bit yet, so there wasn't a lot of useful info there.

I was looking for a Microsoft group for programming on the 64-bit os, but
didn't see any other group specifically mentioning that.

Thanks
Mark


"Theo" wrote:

[Quoted Text]
> If you're trying to develop a web application, Sun has not
> released a version of Java that has browser support in the
> 64-bit environment. The 32-bit Java works with all browsers
> in x64.
>
> Here's a link to a Tanuki forum site:
> http://wrapper.tanukisoftware.org/doc/english/introduction.html
>
> Theo wrote:
> > Since you're programming with Java, wouldn't you be in better company if
> > you went to the Sun Java Developer's web site and posed your question
> > there?
> >
> > I would venture to guess there are many more Java programmers hanging
> > out there than there are here, especially since this is not a forum
> > geared toward any programming.
> >
> >
> > Mark wrote:
> >> Hi...
> >>
> >> One of our guys is trying to port the tanuki java service wrapper to
> >> win64 so we can try it with the 64-bit jvm and he's running into a lot
> >> of quirks.
> >>
> >> The latest one is that the wrapper calls GetModuleFileName(NULL,
> >> szPath, 512) early on in initialization and on the 64-bit os, this
> >> function returns just "c" - not the whole path of the executing
> >> program. It doesn't like the incomplete result and bails.
> >>
> >> I googled around a little bit but couldn't find any reference to the
> >> fact that GetModuleFileName() doesn't seem to work in the 64-bit os.
> >> Any clues as to what's going on?
> >>
> >> Thanks
> >> Mark
> >>
>
Re: Porting to win64, problems
"Tony Sperling" <tony.sperling[ at ]dbREMOVEmail.dk> 6/12/2007 6:05:46 PM
I don't think there are any. It doesn't change the programming much, any
developer group will probably have assistance for you.


Tony. . .


"Mark" <mmodrall[ at ]nospam.nospam> wrote in message
news:6BAE63E9-395D-4993-9A05-98FFBA6EF7AD[ at ]microsoft.com...
[Quoted Text]
> Hi Theo...
>
> Tanuki runs java programs as windows services, but it is not written in
Java
> itself. It's written in C. The guys over there haven't tried to port it
to
> Windows 64-bit yet, so there wasn't a lot of useful info there.
>
> I was looking for a Microsoft group for programming on the 64-bit os, but
> didn't see any other group specifically mentioning that.
>
> Thanks
> Mark
>
>
> "Theo" wrote:
>
> > If you're trying to develop a web application, Sun has not
> > released a version of Java that has browser support in the
> > 64-bit environment. The 32-bit Java works with all browsers
> > in x64.
> >
> > Here's a link to a Tanuki forum site:
> > http://wrapper.tanukisoftware.org/doc/english/introduction.html
> >
> > Theo wrote:
> > > Since you're programming with Java, wouldn't you be in better company
if
> > > you went to the Sun Java Developer's web site and posed your question
> > > there?
> > >
> > > I would venture to guess there are many more Java programmers hanging
> > > out there than there are here, especially since this is not a forum
> > > geared toward any programming.
> > >
> > >
> > > Mark wrote:
> > >> Hi...
> > >>
> > >> One of our guys is trying to port the tanuki java service wrapper to
> > >> win64 so we can try it with the 64-bit jvm and he's running into a
lot
> > >> of quirks.
> > >>
> > >> The latest one is that the wrapper calls GetModuleFileName(NULL,
> > >> szPath, 512) early on in initialization and on the 64-bit os, this
> > >> function returns just "c" - not the whole path of the executing
> > >> program. It doesn't like the incomplete result and bails.
> > >>
> > >> I googled around a little bit but couldn't find any reference to the
> > >> fact that GetModuleFileName() doesn't seem to work in the 64-bit os.
> > >> Any clues as to what's going on?
> > >>
> > >> Thanks
> > >> Mark
> > >>
> >


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen