473,473 Members | 1,842 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Accessing a VB Active EXE from Visual C++ DLL

Hi,

I am trying to access a VB Active EXE from my C++ Win32 DLL. I can
access a VB DLL from this C++ and hence I built a VB DLL interface to
allow the two to communicate. But....I want to access the Active EXE
DIRECTLY from my C++ DLL.

Can anyone help by providing a quick example or give me a link to the
solution.

Thanks,

John Guilbert.
Jul 22 '05 #1
5 2352
jo***********@lionbridge.com (John Guilbert) writes:
Hi,

I am trying to access a VB Active EXE from my C++ Win32 DLL. I can
access a VB DLL from this C++ and hence I built a VB DLL interface to
allow the two to communicate. But....I want to access the Active EXE
DIRECTLY from my C++ DLL.


use std::system.

#include <cstdlib>

int main() {
std::system("dir.exe");
return 0;
}

HTH & kind regards
frank

--
Frank Schmitt
4SC AG phone: +49 89 700763-0
e-mail: frankNO DOT SPAMschmitt AT 4sc DOT com
Jul 22 '05 #2
Frank,

Thanks for your reply.

I'm actually trying to access the FUNCTIONS of this VB Active EXE from
C++, not execute it. Do you know the code for that.

Thanks,

John G.
Jul 22 '05 #3
jo***********@lionbridge.com (John Guilbert) writes:
Frank,

Thanks for your reply.

I'm actually trying to access the FUNCTIONS of this VB Active EXE from
C++, not execute it. Do you know the code for that.


That's system-specific and therefore OT in comp.lang.c++
See the FAQ at http://www.parashift.com/c++-faq-lite/
(esp. section [5.9]) for a list of newsgroups where your
question is on-topic.

HTH & kind regards
frank

--
Frank Schmitt
4SC AG phone: +49 89 700763-0
e-mail: frankNO DOT SPAMschmitt AT 4sc DOT com
Jul 22 '05 #4
Frank,

Sorry, I can't find the section you are talking about.

John.
Jul 22 '05 #5
jo***********@lionbridge.com (John Guilbert) wrote in message news:<ae**************************@posting.google. com>...
Frank,

Sorry, I can't find the section you are talking about.

John.


http://www.parashift.com/c++-faq-lit...t.html#faq-5.9

--
hth
GJD
Jul 22 '05 #6

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

Similar topics

2
by: Keith E. | last post by:
I have implemented a Web Service on an IIS 5.0 platform using the ASP listener I can access the Web Service just fine from a VB 6 App and classic ASP using the SOAP 3.0 toolkit and its...
4
by: leslie_tighe | last post by:
Hello, I have a method on a com+ object that is returning an array of objects. I know the array is popluated as calls to check the ubound and lbound show valid values. However, any calls to...
3
by: Kevin | last post by:
Is it possible to develop an Active Document Full Server or a Container application using C#? Thanks, Kevin.
1
by: Andrew | last post by:
Hey all, Working on revamping our Intranet here and making use of the LDPA, Active Directory, Directory Services, etc. that .Net provides. I am still fairly new on this subject, so the problem...
10
by: Hriday | last post by:
Hi there, Please help me..It is urgent This is Hriday, working on windows authentication with Active Directory... My requirment is when a user sends a request to my web Applicatoin I want to...
1
by: Roger Hembury | last post by:
Hi All, Hope you can help / point me in the right direction with a little problem. I have a VB6 created active X dll which is downloaded to the client using <object> </object> so that I can...
3
by: jodansmif | last post by:
I've been teaching myself Python as part of my senior design project at university. The obstacle our group currently faces is communicating with a microcontroller (ACS USB Servo II) that appears...
2
by: Conversão .cs em .dll | last post by:
I'm having a problem accessing Active Directory, the problem is that I need to access the passwords of the user to validate a login that i'm doing. I have access for the usernames but not to there...
2
by: =?Utf-8?B?SklNLkgu?= | last post by:
Accessing AD in ASP.Net 1. It sees I can I access Active Directory catalog from asp.net, is the version of AD important for this? 2. Do I need to have a domain user for that or IIS will be...
0
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,...
0
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...
1
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.