home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / mswindo / programm / misc / 3388 < prev    next >
Encoding:
Internet Message Format  |  1992-11-12  |  1.5 KB

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