Big bucks the easy way !!!(500)
I wrote a dll which exports a function like this:
int dividestr(char *s1,char *s2[])
{
......
return num;
}
s1 is a string made up of some words divided by spaces.
It's funtion is divide s1 into s2.
s2[0] is the first word;
s2[1] is the second.
....
number is the number of the words.
for example:
input :s1="I love you"
output :s2[0]="I",s2[1]="love",s2[2]="you",number=3;
My question is:
How can I use this dll in DEPHI and VB (static link an dynamic link)?
How can I declare the function in DEPHI and VB ?
500 marks !