Search found 190 matches
- Mon Aug 16, 2010 9:14 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: FWH32 cannot read 64bit Registry Keys
- Replies: 12
- Views: 1817
Re: FWH32 cannot read 64bit Registry Keys
Daniel, in my modified class I addedd a 4th parameter in method new() because if FWH32 is running on WIN64, you MAY want to access the 32bit mirrored registry entries (like it does now), or you MAY want to access the 64bit ones (installed programs may have different values in 64/32 bit registries). ...
- Mon Aug 16, 2010 9:07 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Checking for a Windows 64-bit
- Replies: 20
- Views: 5943
Re: Checking for a Windows 64-bit
Daniel, thank you for your feedback. HB_FUNC( ISWIN64 ) I intentionally left IsWin64() untouched and added IsWow64() because the former is already used (for example) in rPreview.prg to determine whether to load the 32 or 64 bit DLL. Your change would make a FWH32 program trying to load PREV64.DLL (t...
- Sat Aug 14, 2010 9:29 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FWH32 cannot read 64bit Registry Keys
- Replies: 12
- Views: 1817
Re: FWH32 cannot read 64bit Registry Keys
Dear Daniel,
Hi,
Davide
oh, ok! I'll keep it in mind in future.Daniel Garcia-Gil wrote:the source code posted by you in last thread was suppressed, we can not to publish a entire class, only show partial code to modify
Hi,
Davide
- Sat Aug 14, 2010 7:06 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FWH32 cannot read 64bit Registry Keys
- Replies: 12
- Views: 1817
Re: FWH32 cannot read 64bit Registry Keys
Dear Daniel, Try this way looks like it works, thanks. Please find below a modified Treg32 class handling 64bit registry entries (by a 4th parameter "l64bit" in method New() that, if enabled, adds the KEY_WOW64_64KEY to the flags). Functions in regedit.c still needs similar fixes. Hi, Davide
- Sat Aug 14, 2010 5:51 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FWH32 cannot read 64bit Registry Keys
- Replies: 12
- Views: 1817
Re: FWH32 cannot read 64bit Registry Keys
The same problem is in reg32.prg too. and perhaphs some top definitions are wrong in that prg: *** *** Not sure how to handle the &'s and ~'s *** #define KEY_READ 25 // ((STANDARD_RIGHTS_READ + KEY_QUERY_VALUE + KEY_ENUMERATE_SUB_KEYS + KEY_NOTIFY) & (~SYNCHRONIZE)) #define KEY_WRI...
- Sat Aug 14, 2010 5:09 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FWH32 cannot read 64bit Registry Keys
- Replies: 12
- Views: 1817
Re: FWH32 cannot read 64bit Registry Keys
Antonio,
The same problem is in reg32.prg too.
Have a nice holiday.
Davide
ok, no problem.Antonio Linares wrote:As soon as we get back we will review it, thanks
The same problem is in reg32.prg too.
Have a nice holiday.
Davide
- Sat Aug 14, 2010 1:34 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FWH32 cannot read 64bit Registry Keys
- Replies: 12
- Views: 1817
FWH32 cannot read 64bit Registry Keys
As subject. To do so, you need to add the KEY_WOW64_64KEY flag to RegOpenKeyEx while now it only uses KEY_ALL_ACCESS in \source\winapi\regedit.c Please see http://msdn.microsoft.com/en-us/library/aa384129%28v=VS.85%29.aspx I suggest adding a 4th optional parameter to RegOpenKey() to pass the desired...
- Sat Aug 14, 2010 1:09 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Checking for a Windows 64-bit
- Replies: 20
- Views: 5943
Re: Checking for a Windows 64-bit
Hi guys, here's the function, taken from http://msdn.microsoft.com/en-us/library/ms684139%28VS.85%29.aspx I tested in: Windows 98 -> .F. WinXP 32 SP3 -> .F. Vista 32 SP2 -> .F. Win7 64 -> .T. Could you please check if I made the right corrections for xH and test it against your own 32/64 bit Windows...
- Fri Aug 13, 2010 11:08 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Checking for a Windows 64-bit
- Replies: 20
- Views: 5943
Re: Checking for a Windows 64-bit
Simple test:
Nobody's using IsWin64() here ?
Hi,
Davide
Nobody's using IsWin64() here ?
Hi,
Davide
- Fri Aug 13, 2010 1:29 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Checking for a Windows 64-bit
- Replies: 20
- Views: 5943
Re: Checking for a Windows 64-bit
Antonio,
I'm still on FWH 9.05 - xH 1.2.1 - bcc 5.5 - Is this the problem ?
Hi,
Davide
I found out that IsWin64() doesn't work on Windows 7 professional 64bit (6.1 build 7600 - it returns .f.)Antonio Linares wrote:http://wiki.fivetechsoft.com/doku.php?i ... on_iswin64
I'm still on FWH 9.05 - xH 1.2.1 - bcc 5.5 - Is this the problem ?
Hi,
Davide
- Tue May 04, 2010 1:35 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Tsocket via Proxy ?
- Replies: 0
- Views: 244
Tsocket via Proxy ?
Hello guys,
I wish to use tSocket to connect to a server on the internet, but I'd like to do it via a proxy.
Can this be done ?
Thanks,
Davide
I wish to use tSocket to connect to a server on the internet, but I'd like to do it via a proxy.
Can this be done ?
Thanks,
Davide
- Wed Apr 21, 2010 3:42 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Tsocket Bug
- Replies: 21
- Views: 4626
Re: Tsocket Bug
ok, this solves the endless loop (and even a problem with WSAGetLastError() that's called twice if logging is enabled): METHOD SendData( cData ) CLASS TSocket local nSize := Len( cData ) local nLen := nSize local nSent := 0 local nError:= 0 if ! ::lSending ::lSending = .t. e...
- Mon Apr 19, 2010 11:11 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Tsocket Bug
- Replies: 21
- Views: 4626
Re: Tsocket Bug
Thank you guys for your replies. Do you have a Yahoo Mail Plus account??? No, but I don't need to necessarily connect to that yahoo server. That was just an example to show the problem. At face value it looks like yahoo is dropping the connection (as per your telnet experience) and you pc keeps retr...
- Mon Apr 19, 2010 12:55 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Tsocket Bug
- Replies: 21
- Views: 4626
Tsocket Bug
Hello all. Small sample taken from senddata.prg: // Sockets use sample developed by Enrico M.G. #include "Fivewin.ch" FUNCTION MAIN() LOCAL oWnd DEFINE WINDOW oWnd @ 1, 2 BUTTON "Send"; SIZE 100, 50; ACTION SENDDATA( 25, "209.191.88.254"...
- Fri Apr 16, 2010 1:12 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: TMAIL
- Replies: 2
- Views: 603
Re: TMAIL
Marco, could you explain me the difference between 1) AADD( oMail:aRecipients, aTo ) and 2) oMail:aRecipients := aTo Only in the first case, it works. aTo is an array of arrays. For example: { {"John Doe", "john@doe.com"},; {"Jane Roe", "jane@roe.com"} } Hi, D...