Tailbite with PB V4 Beta 10-11 - POLINK : error
Posted: Wed Apr 19, 2006 5:36 am
I have built some small lib and the code work fine with PB V4.00 Beta 8 - 9 but not with Beta 10 - 11
The compiler report no error when I built the lib but when I try to Call a procedure from the lib I get this message :
Regards
Guimauve
The compiler report no error when I built the lib but when I try to Call a procedure from the lib I get this message :
A code exemple :POLINK : error : Unresolved external symbol '_SYS_CopyString8'.
POLINK : fatal error : 1 Unresolved external(s).
Code: Select all
ProcedureDLL.s CheckFileExtension(FileName.s, Extension.s)
; On considère que le chemin initiale est bon
GoodPath.s = FileName
; on découpe l'info du nom de fichier
Path.s = GetPathPart(FileName)
Name.s = GetFilePart(FileName)
Ext.s = GetExtensionPart(FileName)
; S'il y a des problèmes on reconstruit le chemin
If Ext = ""
GoodPath = Path + Name + "." + Extension
EndIf
If Ext <> Extension
GoodPath = Path + StringField(Name,1,".") + "." + Extension
EndIf
ProcedureReturn GoodPath
EndProcedureGuimauve