[comp.windows.ms.programmer] link problem

simnet@ssc-vax.UUCP (Mark R Poulson) (02/14/91)

I apologize if this question has been asked before.  I just recently
receive the WIn 3.0 SDK and is in the process of porting my
applications to WIN 3.0.
My question is : now that the SDK libraries are the only libraries
needed to create a Win task, supposibly all the necessary C functions
also exist in the SDK libraries, what do you do if the function you
need is not in the SDK library?   The functions that are giving me the
problem are System and Spawnlp.
Does this mean these functions are not allowed in a Win application?
I tried to link the application to the LIBCR.LIB file too.  The linker
complained about multiply defined symbols even with the /NOE option.
It still created an executable file.  According to MS support, the
executable is runnable even though an error occured at link time.
Executing this task hangs up the system.  Running it with the debugger
shows 'Executable file format error'.
What can I do?
I would appreciate if the response can be email to me, our news seems
to have 7-10 day delay.
Thanks in advance.
Aileen Hsu