Flype wrote:you might be interested of the sample code provided by the purebasic team:
see here :
[...]\PureBasic\Library SDK\LccWin32\SimpleLibrary
in particular, open the StringMultiply.c source file.
I've had a look, the problem is that code is for LCCWIN and I'm using MSVC 6.0 ... I don't know how these functions below can be coded in MSVC :-
Code: Select all
M_PBFUNCTION int SYS_GetParameterIndex(const TCHAR *Parameter);
M_PBFUNCTION TCHAR *SYS_GetOutputBuffer(int Length, int PreviousPosition);
M_PBFUNCTION TCHAR *SYS_ResolveParameter(int Index);
Correct me if I'm wrong, they appear to be compiler specific to LCCWIN? If they are in MSVC, what libraries (.LIB) to link your code to?