Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

xhb's RS232 and win7 issue

131 views
Skip to first unread message

Claudio Herszage

unread,
Apr 15, 2013, 11:45:05 AM4/15/13
to
Hi
Is there any known issue with xhb's comm routines and 64 bits windows 7 ?
I have an application that uses xhb's comm routines to access a 3G modem.
The app works perfectly in an XP machine but it doesn't work in win 7.
Same app written in .NET works right and I can also manually access the modem through Hyperterminal in win 7 machines (tested on 3 different win 7 machines), so it's not a hardware/driver problem.
Thanks
Claudio H

Ella

unread,
Apr 15, 2013, 11:58:36 AM4/15/13
to
> Same app written in .NET works right and I can also manually access the modem

Please check if the .NET application has been built for 32 or 64 bit, respectively if the RS232 driver is a 32 or 64 bit driver.

Ella

Claudio Herszage

unread,
Apr 15, 2013, 12:54:37 PM4/15/13
to
Ella
Where can I check if the driver is 32 or 64 bits?
Windows update took me to a Motorola driver page and I didn't pay attention to this.
Same way, is there any way to check in the .net app is 32 or 64 bits? It's a standalone 3rd party app and I can't reach developer to ask.
Claudio H

Claudio Herszage

unread,
Apr 15, 2013, 12:58:04 PM4/15/13
to
Ella
I found the driver installer, I guess it's 64 bits. Motorola_End_User_Driver_Installation_5.5.0_64bit.msi
Claudio H

On Monday, April 15, 2013 12:45:05 PM UTC-3, Claudio Herszage wrote:

Ella

unread,
Apr 15, 2013, 2:52:23 PM4/15/13
to
Claudio,

>
> I found the driver installer, I guess it's 64 bits. Motorola_End_User_Driver_Installation_5.5.0_64bit.msi
>
> Claudio H

As xHarbour is generating 32-bit executables, you will need to search and install a 32-bit driver ( although I can't tell what would happen if both the 32 and 64 bit versions were present on the same computer )

About .NET assembblies: the manifest sequence is embedded in the .exe or .dll, so you probably will need to examine it with a hexa viewer:

http://superuser.com/questions/103071/quick-way-to-tell-if-an-installed-application-is-64-bit-or-32-bit
.........................
If you have a hex editor program, just open your file with it and shortly after the standard header intro stuff (like "This program cannot be run in DOS mode...") you will see either
"PE..L" (hex code: 504500004C) = 32 bit
or
"PE..d†" (hex code: 504500006486) = 64 bit


Ella

Enrico Maria Giordano

unread,
Apr 15, 2014, 11:05:22 AM4/15/14
to


Claudio,
Did you solved this problem?

EMG

--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG Music page: http://www.emagsoftware.it/emgmusic
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg

Claudio H

unread,
Apr 15, 2014, 11:27:21 AM4/15/14
to
NO
My customer paid to someone else for this project and I had to return the advance payment.
Claudio H

Enrico Maria Giordano

unread,
Apr 15, 2014, 12:02:18 PM4/15/14
to

Claudio,

> NO
> My customer paid to someone else for this project
> and I had to return the advance payment.

I'm very sorry for this. Anyway, did you clarify if the problem was xHarbour
bug or 32 bit/64 bit driver related?

Claudio H

unread,
Apr 15, 2014, 12:24:12 PM4/15/14
to
Definitely an xharbour issue.

Enrico Maria Giordano

unread,
Apr 15, 2014, 2:02:16 PM4/15/14
to


Claudio,

> Definitely an xharbour issue.

Can I see a sample reproducing the problem? As I already said, without it
it's impossibile for me to fix the bug.

Claudio H

unread,
Apr 15, 2014, 3:07:40 PM4/15/14
to
As I already said, the problem was with a Motorola 3G modem provided by my customer and returned to him.
No way to give you a sample reproducing the problem now.
0 new messages