473,320 Members | 1,814 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

help me in vc++

hi,
i want to call main( ) in one program as a fuction from some other
main().
now i am working in vc++ 2008..
i need all ur suggestion to complete my project
Feb 18 '08 #1
2 1230
EventHelix.com wrote:
On Feb 18, 12:34 am, mathu...@gmail.com wrote:
>hi,
i want to call main( ) in one program as a fuction from some other
main().
now i am working in vc++ 2008..
i need all ur suggestion to complete my project

You might have to use COM or CORBA to invoke methods between two
executables. Not sure if that would be too complicated for the task at
hand.
Sounds too complicated. Perhaps the OP just wants to invoke the
other application and give them some arguments; in that case the
'system' function can be used, or any other OS-specific equivalent
(like ShellExecute or CreateProcess on Windows).

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Feb 20 '08 #2


"Er hat sich georgiert." Der Spiegel, 2008, sich auf Chimpy Eins komma null
beziehend.
"Victor Bazarov" <v.********@comAcast.netwrote in message
news:fp**********@news.datemas.de...
EventHelix.com wrote:
>On Feb 18, 12:34 am, mathu...@gmail.com wrote:
>>hi,
i want to call main( ) in one program as a fuction from some other
main().
now i am working in vc++ 2008..
i need all ur suggestion to complete my project

You might have to use COM or CORBA to invoke methods between two
executables. Not sure if that would be too complicated for the task at
hand.

Sounds too complicated. Perhaps the OP just wants to invoke the
other application and give them some arguments; in that case the
'system' function can be used, or any other OS-specific equivalent
(like ShellExecute or CreateProcess on Windows).

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
OR op wouldn't be able to find an egg on George Bush's in his easter egg
hunt against the ovulars.

Hochy zbamee govareetch, buktop.

--
Gerry Ford
Feb 23 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: vj | last post by:
When I run the setup.py script , it throws an error Traceback (most recent call last): File "C:\vijay\db2\utils\PyDB2-1.1.0-2.tar\PyDB2-1.1.0\setup.py", line 57, in -toplevel- libraries=, File...
28
by: Jed | last post by:
Hello to all! I have a couple of projects I intend starting on, and was wondering if someone here could make a suggestion for a good compiler and development environment. My goals are as...
11
by: Tatu Portin | last post by:
Have this kind of struct: typedef struct { char **user_comments; /* ... */ } vorbis_comment; /* prototype */ char * read_vorbis_string ( FILE *sc);
4
by: Ravindra Garikapati | last post by:
Hi all, It would be very much helpful to me if you post or email an answer to the following question. Here is the requirement and I need an approach with regards to this. I have java web...
1
by: Vishal Saxena | last post by:
Hi, I am new to this news group, hope to get prompt solution from you, gurus of VC. Well i had a project developed in VC++ 6.0, it uses Adobe Plugin Development SDK, I am trying to upgrade my...
6
by: Ben Terry | last post by:
Hello, I have a VS 2003.NET solution which consists of four c++ unmanaged legacy projects. I am adding a new project to the solution which will be in c#. What do I need to do to my c++ projects...
1
by: electrixnow | last post by:
I need some help on automation for office. I found some code I want to use, it looks like this: Variant wordTables = wordActiveDocument.OlePropertyGet( "Tables" ); long table_count =...
2
by: parvtb | last post by:
Thanks for your patience to read the entire post to understand my confusion I have the user-defined class "tools": class tools{ public: tools( ......) {} friend bool operator<...
4
by: sharptool | last post by:
Please, please, please make suggestions on how to resolve these errors. I am trying to build a program that computes a, b, c for the quadratic equation but I'm not having any luck. It's been 5...
1
by: ender.a.wiggins | last post by:
Hi, I'm not very good w/ VC++ as I come from the other side, but I have a VC++ 2005 small project that did compile, then I did a 'build->clean solution' on it and I can no longer get it to link....
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.