hello. i am a newbie in using vxWorks and i am having some
difficulties using taskSpawn command in a C program that i made. I
have created hello.o and test.o where


void hello()
{
printf("Hello vxWorks!\n");
}


void test()
{
char file[20] = "hello";
ld(0,0,"hello.o");
sp(file);
}

if i load test.o from shell and execute it, ld part works fine but
spawning it does not work.
i have tried it with taskSpawn command as well


void test()
{
char file[20] = "hello";
ld(0,0,"hello.o");
taskSpawn("App",100,0,20000,file,0,0,0,0,0,0,0,0,0,0);
}

but this test.o file does not work as well.

so i have tried it in a different way with a test.o file with the
hello() part inside it. this time, sp command worked just fine.


void hello()
{
printf("Hello vxWorks!\n");
}
void test()
{
char file[20] = "hello";
sp(file);
}


is there a way to spawn a task that has been already loaded by another
*.o file? can anyone help me with this problem?