By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,159 Members | 913 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,159 IT Pros & Developers. It's quick & easy.

Accessing a VB Active EXE from Visual C++ DLL

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
Frank,

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

John.
Jul 22 '05 #5

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.