Article View: borland.public.cppbuilder.nativeapi
Article #1349Re: How to terminate another program from my application?
From: Maurice
Date: Wed, 29 Aug 2007 13:19
Date: Wed, 29 Aug 2007 13:19
46 lines
2801 bytes
2801 bytes
"Bob Gonder" <notbg@notmindspring.invalid> wrote in message news:jcb8d3lj5oke59jhgfapojavmul4jqjapq@4ax.com... > Maurice wrote: > >>I tried the mentionned (hereafter) program, and I tried to compile it with >>the free command line tool: >>bcc32 -6 -ff -N e:\my_data\prog\tc\process.cpp >> >>I get the following error: >>Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland >>Error: Unresolved external 'EnumProcesses' referenced from > > psapi.lib is not one of the standard included libraries. > You need to explicitly include it. > > I tried the following (in the bc55\bin directory): bcc32 -6 -ff -N -c e:\my_data\prog\tc\process.cpp, to generate an obj, it's OK, then: ilink32 process.obj, ..\lib\psdk\psapi.lib I get: Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland Fatal: Unable to open file 'UUID.LIB' then I tried: ilink32 process.obj, ..\lib\psdk\psapi.lib, ..\lib\uuid.lib Iget: Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland Fatal: Unable to open file 'UUID.LIB' I verified "uuid.lib" exist in the lib directory, however I copied it to the bin directory and tried: ilink32 process.obj, ..\lib\psdk\psapi.lib, uuid.lib I get nothing, no process.exe generated, but "uuid.lib" has changed (size and date), if I typed the same commnad "ilink32 process.obj, ..\lib\psdk\psapi.lib, uuid.lib" a second time, I get: Error: 'C:\COMPILER\BC55\BIN\UUID.LIB' contains invalid OMF record, type 0x4d I'm really interested by that program, any help?? thanks Maurice
Technical Details
Message-ID:
<46d572d9@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!transit.news.xs4all.nl!xs4all!news2.euro.net!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<46d17858@newsgroups.borland.com> <46d19c99$1@newsgroups.borland.com> <46d1dde9@newsgroups.borland.com> <46d1deff@newsgroups.borland.com> <46d1f127$1@newsgroups.borland.com> <46d4178d@newsgroups.borland.com> <jcb8d3lj5oke59jhgfapojavmul4jqjapq@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ea27fed4f668a6eb X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Maurice" <morisaab@yahoo.fr> Newsgroups: borland.public.cppbuilder.nativeapi References: <46d17858@newsgroups.borland.com> <46d19c99$1@newsgroups.borland.com> <46d1dde9@newsgroups.borland.com> <46d1deff@newsgroups.borland.com> <46d1f127$1@newsgroups.borland.com> <46d4178d@newsgroups.borland.com> <jcb8d3lj5oke59jhgfapojavmul4jqjapq@4ax.com> Subject: Re: How to terminate another program from my application? Date: Wed, 29 Aug 2007 16:19:40 +0300 Lines: 57 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 NNTP-Posting-Host: 213.175.188.2 Message-ID: <46d572d9@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1188393689 213.175.188.2 (29 Aug 2007 06:21:29 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!transit.news.xs4all.nl!xs4all!news2.euro.net!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail