473,732 Members | 2,146 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

API Progamming

I am studying API programming using C++ and am seeking a away to pass data
to a child program opened
using CreateProcess. I would appreciate being told whether this is possible
and where I can find information on this area of programming.

David Shaw
Jul 23 '05 #1
3 1836
David Shaw wrote:
I am studying API programming using C++ and am seeking a away to pass data
to a child program opened
using CreateProcess. I would appreciate being told whether this is possible and where I can find information on this area of programming.


If you feel like experiencing a unique, chronic agony, you can research how
MS implements piping systems, like _popen() or popen3().

Regardless, you must post questions about the _MS_Windows_API _ to a
newsgroup qualified to answer questions about it. Use Google Groups to find
one. This newsgroup can only discuss C++.

--
Phlip
http://www.c2.com/cgi/wiki?ZeekLand
Jul 23 '05 #2
"David Shaw" <dj***@bigpond. com> wrote in message
news:90******** *********@news-server.bigpond. net.au
I am studying API programming using C++ and am seeking a away to pass
data to a child program opened
using CreateProcess. I would appreciate being told whether this is
possible and where I can find information on this area of programming.

David Shaw


That looks like a Windows function. Try

microsoft.publi c.vc.language

or for documentation on all aspects of Windows:

http://msdn.microsoft.com/library/default.asp
--
John Carson
Jul 23 '05 #3
Le mercredi 13 juillet 2005 à 05:37, David Shaw a écrit dans
comp.lang.c++*:
I am studying API programming using C++ and am seeking a away to pass data
to a child program opened
using CreateProcess. I would appreciate being told whether this is possible
and where I can find information on this area of programming.


<Digression>
API is a generic term; an API is a set of functions, types, constants,
etc. designed to program applications for a given system. There is an
OpenGL API, a Win32 API, a DirectX API, just to name a few.

'CreateProcess' belongs to the Win32 API (maybe others), so you're
actually studying Win32 programming.
</Digression>

The standard way to exchange data between programs is with files. Common
non-standard ways include memory-mapped files to get shared memory, or
pipes and sockets.

--
___________ 13/07/2005 09:42:55
_/ _ \_`_`_`_) Serge PACCALIN -- sp ad mailclub.net
\ \_L_) Il faut donc que les hommes commencent
-'(__) par n'être pas fanatiques pour mériter
_/___(_) la tolérance. -- Voltaire, 1763
Jul 23 '05 #4

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

Similar topics

15
2270
by: Apollo | last post by:
Hi All, Is there a Python programming certification like Sun's Java certificates? Thanks in advance,
8
4050
by: Hermawih | last post by:
Hello , I want your opinion about this . In order to say it clearly , I think I have to describe it in long sentences . I could consider myself as Intermediate/Advance Access Developer ; Intermediate/Advanced Database designer . Because of the requirements , I must create Web Application . Access Pages is not suitable for that so I think about learning VB Net / ASP Net . I am
5
1870
by: CR | last post by:
I want to write a language learning game for my children? I have the knowledge of what to put in the game but I don't know where to begin programming. Any suggestions? CR
2
1913
by: WJScott69 | last post by:
C# - CSharp - WIN32 - WMI Progamming Issues with NT4 (Out of Memory) Hello, I am trying to inquire on servers ranging from Windows NT4 SP6a+ to Windows 2000-2003 I have the program working fine on all but the NT4 where I get a Out of Memory error. Please take a look at the enclosed project and let me know how I go about resolving this. I can get results from NT4 server but dont seem to be able to collect everything I need. I have even...
3
1179
by: Rony Steelandt | last post by:
http://www.newscientisttech.com/article/dn9066 To nice to be true ? R_ -- --- Rony Steelandt BuCodi
0
1369
by: Concepts Systems | last post by:
Hello All, With a growing demand for Linux System Professionals, we are pleased to announce a new weekend batch of "Advance C" and "Linux System Programming" for working professionals and Engineers and also freshers. Course Highlights: Advance C:
3
2310
tharden3
by: tharden3 | last post by:
What is the Progamming Language most commonly used to make big name games like COD4? Is it java? Would you use different ones for different types of games?
0
9445
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9306
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9234
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6030
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4548
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4805
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3259
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2177
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.