home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!agate!usenet.ins.cwru.edu!b63519.STUDENT.CWRU.Edu!dpn2
- From: dpn2@po.CWRU.Edu (Damien P. Neil)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: Re: Linker cannot find functions in <process.h> - help!
- Date: Thu, 12 Nov 1992 16:20:02 GMT
- Organization: Case Western Reserve University
- Lines: 20
- Message-ID: <dpn2.86.721585202@po.CWRU.Edu>
- References: <15908@goanna.cs.rmit.oz.au>
- NNTP-Posting-Host: b63519.student.cwru.edu
-
- In article <15908@goanna.cs.rmit.oz.au> s892031@yallara.cs.rmit.OZ.AU (Pumpkin Power) writes:
- >I am currently writing a windows program using Borland C++, 3.1.
- >I am trying to use the functions system(), execl() or similar, but during
- >linking I keep getting the error "undefined symbol _system() in module ..."
-
- The system() function does not exist in Windows.
-
- >On a similar note, WinExec() fails to find what I am trying to execute if
- >I include a full path name such as "C:\stuff\test.exe", but if I simply
- >provide it with "test.exe", and c:\stuff is in the path it finds and
- >executes it no problems (the full pathname returns error 2, file not found).
-
- Try "C:\\stuff\\test.exe" or "C:/stuff/test.exe". (I don't know if the
- latter works in Windows, but I think Borland's functions will accept the
- forward slash.)
-
- Hope this helps!
- +-------------+------------------+---------------------------------+
- | Damien Neil | dpn2@po.cwru.edu | Case Western Reserve University |
- +-------------+------------------+---------------------------------+
-