xHarbour + FWH & Funcky

xHarbour + FWH & Funcky

Postby George » Wed Aug 30, 2006 9:35 pm

Hello forum

Do I need any wrappers on ".ch" file in order that Funcky work with
xHarbour + FWH?

I would like to evaluate the demo version of funcky60, but I get errors.

I want to be sure that this component work fine with xHarbour before to buy
it.
I tried to ask for technical support at funcky website but that option is
not working in his site.

The reason is that I want a stable and professional Email and FTP
capabilties in my application and RF say that Funcky is "un sueño"
( a dream)

Any comments and sugestion or alternatives are welcome

Regards

George
George
 
Posts: 725
Joined: Tue Oct 18, 2005 6:49 pm

Postby R.F. » Wed Aug 30, 2006 11:25 pm

No way man !!!!

You don't need wrapper since Funcky is an OLE Componente, use the TOleAuto() Class to use it.

This is sample program I wrote to try some funcky features:

http://www.google.d2g.com/funckydemo.zip

You will need Funcky's demo version in order to execute.
Saludos
R.F.
R.F.
 
Posts: 840
Joined: Thu Oct 13, 2005 7:05 pm

Postby George » Thu Aug 31, 2006 12:07 am

Hello Rene

Your demo compile fine

Code: Select all  Expand view
PUBLIC oFuncky := TOLeAuto():New("Funcky")
   ? oFuncky:Capitalize("mr. juan perez")
   ? oFuncky:AppName()
   ? oFuncky:AllDrives()
   ? "The system name is: " + oFUNCky:ComputerName()
   ? "Your user name is: " + oFUNCky:UserName()
   ? "Your full name is: "+oFUNCky:UserFullName(oFUNCky:UserName())
   ? oFuncky:NumToRoman(1967)
   ? oFuncky:Whois("google.com")



but when I try to run it

I got the following error message:

Code: Select all  Expand view

Error occurred at: 08/30/2006, 19:57:43
   Error description: Error TOleAuto/-1  Unknown error: TOLEAUTO:NEW
   Args:
     [   1] = C   Funcky

Stack Calls
===========
   Called from:  => THROW(0)
   Called from: win32ole.prg => TOLEAUTO:NEW(319)
   Called from: MAIN.PRG => TESTFUNCKY(1094)
   Called from: MAIN.PRG => (b)FRAMEBAR(344)


BTW When I try to run your FUNCKYDEMO.EXE I got also this error

Code: Select all  Expand view
Error occurred at: 08/30/06, 20:02:07
   Error description: Error TOleAuto/-1  Unknown error: TOLEAUTO:NEW
   Args:
     [   1] = C   Funcky

Stack Calls
===========
   Called from TOLEAUTO:NEW(225)
   Called from MAIN(4)


Rene its is strange not?.

My configuration is xBuilder Pro Beta RC9 Aug_06 (xHarbour 0.99.61) + FWH Aug_06

Regards


George
George
 
Posts: 725
Joined: Tue Oct 18, 2005 6:49 pm

Postby R.F. » Thu Aug 31, 2006 4:15 pm

George:

Check that you have the fullfeatured version of Funcky, The demo I made was made with the commercial version, not with the demo.

I don't know which methods are supported in the demo version, so I cannot guarantee it works.

On the other hand, be sure to be using the xHarbour's TOLE, in the recent versions of FW, as far as I Know, (not tested yet), Vykthor commented me that it there's a TOLE class in the FiveHC.LIB, that overwrites the xHarbour TOLe when linking, so, you may need to manually remove the TOLE module in the FiveHC.lib.[/i]
Saludos
R.F.
R.F.
 
Posts: 840
Joined: Thu Oct 13, 2005 7:05 pm

Postby George » Thu Aug 31, 2006 4:48 pm

Rene,

I have problems with xHarbour tOleAuto + FWH 2.7

I am doing some test using WinFax and go error in oFax:AddAttachmentFile

Code: Select all  Expand view
      
oFax = TOleAuto():New( "WinFax.SDKSend" )
oFax:LeaveRunning()
IF oFax:SetTo( cDes ) = 1; BREAK; ENDIF
IF oFax:SetSubject( cOgg ) = 1; BREAK; ENDIF
IF oFax:SetCoverText( cMsg ) = 1; BREAK; ENDIF

// Here is the problem with attachment
oFax:AddAttachmentFile("c:\test.doc" )

IF oFax:SetNumber( cFax ) = 1; BREAK; ENDIF
IF oFax:AddRecipient() = 1; BREAK; ENDIF
IF oFax:Send( 0 ) = 1; BREAK; ENDIF


regards


George


P.S. Rene can you test this code?
George
 
Posts: 725
Joined: Tue Oct 18, 2005 6:49 pm

Postby Enrico Maria Giordano » Thu Aug 31, 2006 7:27 pm

Works fine for me. Are you sure that the file test.doc does exist in the root directory of drive C?

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby George » Fri Sep 01, 2006 11:14 pm

Hi Enrico,

The problem is when I try to send a PDF or DOC document I got a dialog with following message:

"The selected attachment is being converted into a fax image"

But the dialog *WAIT* until I have to cancel; after that only send the cover page never the attachment

regards


George
George
 
Posts: 725
Joined: Tue Oct 18, 2005 6:49 pm

Postby James Bott » Sat Sep 02, 2006 1:10 am

Are you sure that WinFax can convert a .DOC file attachment on the fly like that? I have not used WinFax, but other fax programs I have worked with could only handle TIFF files (standard fax format) or the application (MSWord) would have to print the document to the fax driver which would then send the document.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Antonio Linares » Sat Sep 02, 2006 8:17 am

René,

There is no a Class TOle in FWH.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Enrico Maria Giordano » Sat Sep 02, 2006 9:50 am

George wrote:Hi Enrico,

The problem is when I try to send a PDF or DOC document I got a dialog with following message:

"The selected attachment is being converted into a fax image"

But the dialog *WAIT* until I have to cancel; after that only send the cover page never the attachment

regards


George


You must have Office installed in order to send DOC attachments.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby George » Sat Sep 02, 2006 8:23 pm

Enrico,

I have MS Office 2003, and Winfax installed in my computer.

BTW I am using TWORD class without problem.


Regards


George
George
 
Posts: 725
Joined: Tue Oct 18, 2005 6:49 pm

Postby Enrico Maria Giordano » Sat Sep 02, 2006 9:09 pm

I run out of ideas, sorry.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Carles, Google [Bot] and 61 guests