有两个执行文件(A和B)。如果A 要调B 的执行文件,并且A要传送给B 三个参数,才能是B 执行文件正常运行。
这样A执行文件的参数要怎样写。B 的三个参数应该写在那里。才能接受A传过来的参数。
问题解决了,就给分。如果分不过我在加。
这样A执行文件的参数要怎样写。B 的三个参数应该写在那里。才能接受A传过来的参数。
问题解决了,就给分。如果分不过我在加。
解决方案 »
- 那样的画流程图的VCL控件(DELPHI用)?
- 大整数加法优化
- interbase 创建服务器后再重新创建为什么总不行。
- 求助 ,在使用XMLDocument提示指针错误,请大家帮忙分析一下。
- 运行错误提示:File not found: 'GIF89Lib_TLB.dcu'怎么解决?
- ▲▲▲▲SQL语句问题!!!▲▲▲▲
- 关于Delphi6中调用数据库的一个问题
- dephi中怎样接收连续发送过的字串,
- Update 2 downloads for Delphi 6 are currently available
- 帮帮忙吧,看看这个小打印程序
- DELPHI的EXE文件的图标的疑问!头疼,急……
- 请教一个CRC-CCITT校验算法!
A:
var n,m,l integer;
begin
n=1;
m=2;
l=3;
larest(n,m,l);
......
end;
B:
procedure largest(a,b,c:integer);
begin
if (a>=b) and (a>=c) then writeln(a);
if (b>=a) and (b>=c) then writeln(b);
if (c>=a) and (c>=b) then writeln(c);
end.
用程序命令行参数。这样设置呀。这个我不熟悉呀
to:tw_cshn
用winexec这个函数所带的参数的给B 参数。
那么B代码里面要怎样设置呀。
LPCTSTR lpOperation, // pointer to string that specifies operation to perform
LPCTSTR lpFile, // pointer to filename or folder name string
LPCTSTR lpParameters, // pointer to string that specifies executable-file parameters
LPCTSTR lpDirectory, // pointer to string that specifies default directory
INT nShowCmd // whether file is shown when opened
);
简单一点就用内存映射文件