r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!REBOL2 Releases] Discuss 2.x releases

Graham
9-Apr-2010
[1352]
I setup a Windows 2008 server on Amazon.  Setup Firebird 64 bit and 
a DSN.  Then tried to connect using ODBC.  Failed.
Carl
9-Apr-2010
[1353]
Where did it fail? In connect? What was the error msg?
Graham
9-Apr-2010
[1354x4]
Can't find the dsn entry
So, I'm assuming that it can't read the registry
Also, my client app under W64 (7/vista) can not read the registry 
either ...to see if certain 64 bit apps are installed ( Ghostscript 
etc )
So, any possibility of a 64 bit release of R2?
Carl
9-Apr-2010
[1358]
I'm not yet to the point of agreeing that this is a registry problem.
Graham
9-Apr-2010
[1359x3]
Someone was complaining that checksum ports don't work for > 2Gb 
files
Easy enough to check if you have a 64 bit windows available
Seems to me that 64 bit windows is now standard for many manufacturers 
like HP
Carl
9-Apr-2010
[1362]
So, you see an error "ODBC error: ***"  correct?  What's the **** 
part?
Graham
9-Apr-2010
[1363]
I'll have to reboot the Ec2 instance to check it
Carl
9-Apr-2010
[1364x3]
The effort to make R2 work properly in 64bit >> releasing R3 and 
adding things like native ODBC to the open host code.
Essentially, R2 is supported and gets some fixes, but not a rewrite.
Or, should I say, the rewrite is R3.
Graham
9-Apr-2010
[1367]
Do you have access to any Windows 64 bit PCs?
Carl
9-Apr-2010
[1368x2]
There's a pile of boxes here, one being Win64 but has not been booted 
in five years, min.
Can you create an account for me on your amazon sys?
Graham
9-Apr-2010
[1370x3]
I am going to try and start it ...
going to take 15 mins to generate the password for me
I didn't write it down since I didn't think I was going to use it 
again
Carl
9-Apr-2010
[1373x6]
ah.
Still, 15 mins seems like a long time.
An invalid pass crack should take ever-increasing authentication 
times... so a 15 min password gen time seems silly.
Does your app run in R3? If not, could it?
The ODBC port interface is only about 2 pages of C, so could probably 
be moved to R3 "easily enough" at the open host level.
Then, there's also the dialect part.
Graham
9-Apr-2010
[1379x2]
no good .. I've lost the password so can't access it anymore.  And 
it won't generate a new password for me.
It was just an experiment anyway.
Carl
9-Apr-2010
[1381x2]
Well, IMHO, I'd rather spend the time getting DB access generally 
working from R3.
Especially since I'd only need to write 10% of it.  (I've been told 
I should delegate.)
Graham
9-Apr-2010
[1383x3]
Well, my app uses odbc so without it, it won't run.
The gui is not important
And it uses SSL :(
Carl
9-Apr-2010
[1386x3]
If I had to guess, I'd say it's a version issue.
There are not any registry calls in the ODBC port.  But, it's always 
been a little-bit version sensitive.
The connection flags are likely specifying 32bit data modes, so the 
ODBC server is rejecting it.
Graham
9-Apr-2010
[1389]
Ok, assuming that is the case, what about reading the registry when 
it is required?s
BrianH
9-Apr-2010
[1390x4]
I run Windows 7 x64, so can test there.
Graham, is it possible that Firebird 64bit doesn't come with 32bit 
connection libraries? Unless there is some IPC or TCP layer between 
the client libs and the server, possible if the client and server 
are on the same system, then it is possible that the x64 version 
may not be connectable from 32bit apps.
I haven't tried in that situation, but it might be possible that 
32bit DSNs aren't the same as 64bit DSNs. Let me check.
I don't have any 64bit databases here, so I can't check. Have you 
tried connecting with MS Access?
Graham
10-Apr-2010
[1394x4]
Don't have Access.  I'm running this on a Windows 2008 virtual server 
on Ec2.
There is a 32bit library I think in a Firebird wow64 directory, and 
using this and a dsnless connection, I can connect to the database.
I'm not too concerned about this in view of this work round, but 
I would like a way rebol to access the 64 bit registry if it's just 
a flag setting ...
Just have to rewrite my installer to switch to creating a dsnless 
connection if it detects running on 64 bit windows
Pekr
10-Apr-2010
[1398]
Maybe reboltutorial guy solved our R2 installer problem faster then 
us :-) http://reboltutorial.com/blog/how-to-create-your-own-setup-package/
BrianH
10-Apr-2010
[1399]
Is it in a Firebird wow64 directory, or the Windows wow64 directory? 
It seems to me like the 32bit ODBC drivers aren't installed, registered 
with ODBC. Check the ODBC configurator, look at the drivers list 
and see if the 32bit drivers are listed there.
Graham
10-Apr-2010
[1400]
Firebird wow64 directory
BrianH
10-Apr-2010
[1401]
And is it listed in the ODBC drivers list?