1st) I suppose this function is used to convert a string into a MIME Base 64 format. Is it so ?
2nd) It compiles but, when it is about to link, it complains that ToBase64 function could not be found :
This is the little test program I did :
# INCLUDE "ASINET.CH"
# PRAGMA LIBRARY("ASINET1C.LIB")
# PRAGMA LIBRARY("ASINET10.LIB")
PROC MAIN
STRFILE(ToBase64(FILESTR("C:\TEMP\SERVER.ZIP")),"C:\TEMP\SERVER.OUT")
RETURN
And I'm compiling it with :
XPP XTEST170 /A /ES /M /N /PRE /Q /V /W /ERR:20 /DLL:DYNAMIC /WU /WN
And linking simply with (pragmas) :
ALINK XTEST170
I'm having this output :
Xbase++ (R) Compiler 1.80.284 May 29 2002
Copyright (c) Alaska Software. All rights reserved.
File XTEST170.prg successfully compiled.
Alaska 32-Bit Linker Version 1.80.284
Copyright (c) Alaska Software 1997-2002. All rights
reserved.
XTEST170.obj: error ALK2102: unresolved external symbol TOBASE64
ALINK: fatal error ALK4102: 1 external symbols unresolved
--
Any hints ?
Obrigado/Thanks a Lot,
Jose Adriano Baltieri
Analista de Sistemas/Systems Analyst
CPD - CENTRO / Data Processing Dept
UNIMEP - Universidade Metodista de Piracicaba/
UNIMEP - Methodist University of Piracicaba
PIRACICABA - SP - BRAZIL
Fone : 055 0 XX 19 3124-1858 (english spoken)
Fax : 055 0 XX 19 3124-1898 (cx postal 42778)