|
-
Feb 17th, 2006, 08:43 PM
#1
Thread Starter
New Member
How to return a val
Hello.
We can use "return val;" to make the program(which is cimpiled by C++)return specific value in C & C++, for example:
C++ source code:
-----------------------------------------------------------------------
#include<iostream.h>
main()
{
cout<<"The exe returns a value before ends.">>
return 1024;
}
-----------------------------------------------------------------------
So, the compiled exe will return 1024 other programs before exit.
My question is, how can i do in VB6 to return a value like this?
wether if i hava to call API?
Notice: The val is not return by a function. It is return by the whole program, so that other program(s) can receive it. I am a VB and English learner, so, I hope you can know what I say.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|