Error Compiling Fivedit.prg
Unresolved External _HB_FUN_MAPISendDocument
Unresolved External _HB_FUN_WNetDisconnect
Can anyone help?
Ollie.
Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)
Error Compiling Fivedit.prg
Unresolved External _HB_FUN_MAPISendDocument
Unresolved External _HB_FUN_WNetDisconnect
Can anyone help?
Ollie wrote:Error Compiling Fivedit.prg
Unresolved External _HB_FUN_MAPISendDocument
Ollie wrote:Unresolved External _HB_FUN_WNetDisconnect
Thanks it worked.
But it hangs when I choose "Send..." from the file menu.
That's because the calling syntax is not correct. Please look at the docs for MAPISendDocuments().
EMG
Thanks Enrico,
Couldn't find those docs - can you direct me please.
CLIPPER MAPISENDDOCUMENTS( PARAMS ) // CUMENTS( nUiParam, cDelimiters, cFilePaths,
// cFileNames, nReserved ) --> nResultWhat about that error :
Path and name: E:\COMPILER\clipper\FWH\SAMPLES\fivedit.exe (32 bits)
Size: 1,156,608 bytes
Time from start: 0 hours 1 mins 43 secs
Error occurred at: 03/06/07, 00:14:23
Error description: Error BASE/44 Assigned value is wrong class: TTXTEDIT:NTOP
Args:
[ 1] = U
Ehab,
Please remove "AS NUMERIC" from these lines in the Class TTxtEdit:
DATA nRow, nCol AS NUMERIC // Phisical row and col
DATA nLineRow, nLineCol AS NUMERIC // Logical row and col
No after amending your last post stiil the error appears :
Application
===========
Path and name: E:\COMPILER\clipper\FWH\SAMPLES\fivedit.exe (32 bits)
Size: 1,156,608 bytes
Time from start: 0 hours 0 mins 3 secs
Error occurred at: 03/06/07, 17:23:42
Error description: Error BASE/1004 No exported method: CFILENAME
Args:
[ 1] = U
Called from: .\source\function\FILENAME.PRG => CFILENAME(0)
Called from: fivedit.prg => (b)MAIN(71)
Called from: => TBTNBMP:CLICK(0)
Called from: => TBTNBMP:LBUTTONUP(0)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: => TBTNBMP:HANDLEEVENT(0)
Called from: .\source\classes\WINDOW.PRG => _FWH(0)
Called from: => WINRUN(0)
Called from: => TMDIFRAME:ACTIVATE(0)
Called from: fivedit.prg => MAIN(94)
function PrgSave()
oTxtEdit:SaveToFile()
oTxtEdit:SetFocus()
return nil