Search found 36 matches

by angelo.c
Sun Jul 19, 2009 3:29 am
Forum: FiveWin for Harbour/xHarbour
Topic: SerialPort Class Using CreateObject (...)
Replies: 5
Views: 2769

Re: SerialPort Class Using CreateObject (...)

Hello all. Firstly, Thanks Byron for your reply. It confirmed what I thought. However I think it is still useful to access DOT.NET from FWH and so the following ..... Since I last posted this question on this forum for access to MS .NET from FiveWin, I have been working on it. I have established a w...
by angelo.c
Wed Jul 08, 2009 12:39 pm
Forum: FiveWin for Harbour/xHarbour
Topic: SerialPort Class Using CreateObject (...)
Replies: 5
Views: 2769

SerialPort Class Using CreateObject (...)

Hello All I was wondering if anyone has had some success in using the Class SerialPort in the System.IO.Ports Namespace using FWH CreateObject(...) routine. I have used the following with success: //The following all work //cTry := "ScriptPW.Password" //cTry := "ADODB.Connection"...
by angelo.c
Wed May 27, 2009 9:16 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse :ToExcel Method - Problem with Memo's?
Replies: 2
Views: 639

Re: xBrowse :ToExcel Method - Problem with Memo's?

Thank you for quick response. Your suggestion worked well. The above problem is fixed.

Perhaps Antonio can include this minor change in the next release of FWH / [x]Harbour so that a custom version of xBrowse need not be generated for Fivewin applications?

Again, I thank you

Best Regards,
Angelo.c
by angelo.c
Wed May 27, 2009 12:20 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse :ToExcel Method - Problem with Memo's?
Replies: 2
Views: 639

xBrowse :ToExcel Method - Problem with Memo's?

Hello I have some tables *.DBF with *.cdx indexes and some of them contain memo fields. The memo table is in *.fpt format. I am using the FWH / [x]Harbour xBrowse(...) function to do a quick browse of selected dbf tables and in some cases to export the table values to Excel for further processing. I...
by angelo.c
Wed Mar 18, 2009 7:53 am
Forum: FiveWin for Harbour/xHarbour
Topic: Debug
Replies: 26
Views: 7983

Re: Debug

Thanks Carlos for that neat piece of code. I use the OutputDebugString(...) command a lot in my code for debugging. I modified yours slightly to make it more useful for me so that array values can be displayed on the output debug window. Here is the modified code: #ifdef __RELEASE__ #xcommand DEBUG ...
by angelo.c
Mon Feb 16, 2009 9:42 am
Forum: FiveWin for Harbour/xHarbour
Topic: Multithreads with FWH
Replies: 30
Views: 10981

Re: Multithreads with FWH

Antonio, In that case, I will put on hold any code I need that requires multi-threading and change my design to accommodate new approaches to overcome this limitation. Hopefully you will not leave it too long to implement multi-threading in both Harbour and xHarbour. That capability makes the code m...
by angelo.c
Mon Feb 16, 2009 1:03 am
Forum: FiveWin for Harbour/xHarbour
Topic: Multithreads with FWH
Replies: 30
Views: 10981

Re: Multithreads with FWH

Hello Antonio, Thank you for your suggestion. I linked in cw32mt.lib => links OK. But when it runs under Windows XP (SP3) I get the following the standard XP "encountered a problem" window saying: "mttest.exe has encountered a problem and needs to close. We are sorry for the inconveni...
by angelo.c
Fri Feb 13, 2009 6:55 am
Forum: FiveWin for Harbour/xHarbour
Topic: Multithreads with FWH
Replies: 30
Views: 10981

Re: Multithreads with FWH

Hello, I was wondering if the multi-threading capability of xHarbour has advanced to a usable form. I am using Harbour/xHarbour9.01 and BCC55 I tried to compile and run the samples mttest.prg and client.prg in the ..\xharbour\test directories. I get: Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2...
by angelo.c
Wed Aug 20, 2008 9:17 am
Forum: FiveWin for Harbour/xHarbour
Topic: FWH8.07 Debugger Problem
Replies: 6
Views: 976

Thanks Antonio, The debug window now comes up. I will experiment with it some more over the next few days. Just one question, can the windows that shows the watched variables always stay at the top of the screen.? It would make it easier to watch the variables change as I step through the progam. Be...
by angelo.c
Wed Aug 20, 2008 8:21 am
Forum: FiveWin for Harbour/xHarbour
Topic: FWH8.07 Debugger Problem
Replies: 6
Views: 976

Hi Antonio again.

I finally captured the one line error message on the dos window. It say:

[Quote]
Unrecoverable error 9998: Internal error: screen driver initialization failure

Does this give you more of a clue to what is going on?

Best Regards,
Angelo C
by angelo.c
Wed Aug 20, 2008 8:12 am
Forum: FiveWin for Harbour/xHarbour
Topic: FWH8.07 Debugger Problem
Replies: 6
Views: 976

Hi Antonio, Thanks for your quick reply. I have commented out the REQUEST statement as directed and link in the ErrSysW.obj in with my other object files and it now links OK. But when I run my application, a DOS command window (mostly black) appears for a brief moment and then disappears. I get no w...
by angelo.c
Wed Aug 20, 2008 7:52 am
Forum: FiveWin for Harbour/xHarbour
Topic: FWH8.07 Debugger Problem
Replies: 6
Views: 976

FWH8.07 Debugger Problem

Hello, I use FWH8.07 with the Borland c/c++ complier and Ilinker32. I am trying to compile my code which now has at the beginning the few statements found in the Altd.prg to test the debugger. I have read all the other posts and I compiled the FWH source with /b and have taken out the -aa option in ...
by angelo.c
Tue Jul 08, 2008 11:21 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Windows 32-bit DLLs with Harbour Code - Any More Progress
Replies: 14
Views: 5427

Hello Is it possible to pass instantiated objects from a FW++ exe application to FWH *.dll code? What I would like to do is to have my current application (which is mainly written in FW++) call and pass objects to a FWH DLL code. My current application extensively uses C/C++ routines called from my ...
by angelo.c
Sat Jul 05, 2008 3:35 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Windows 32-bit DLLs with Harbour Code - Any More Progress
Replies: 14
Views: 5427

Thank you Antonio for that information. I can now call a FWH DLL from FWH compiled code and C/C++ compiled code and pass appropiate parameters (Experimented with strings and integers to date). I extended your examples to cover simultaneous string and integer parameter passing into the DLL written in...
by angelo.c
Sat Jul 05, 2008 6:13 am
Forum: FiveWin for Harbour/xHarbour
Topic: Windows 32-bit DLLs with Harbour Code - Any More Progress
Replies: 14
Views: 5427

Hello again. I am experimenting some more with DLL calls in FWH8.06 Can you advise me on how to compile the maindll.c source to produce the maindll.obj properly compiled (you mentioned before that it requies the -D__EXPORT__ flag). I have downloaded the compiler/linker tools you suggested. Also, can...