Accessing a VB Active EXE from Visual C++ DLL

J

John Guilbert

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.
 
F

Frank Schmitt

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
 
J

John Guilbert

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.
 
F

Frank Schmitt

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,147
Messages
2,570,835
Members
47,383
Latest member
EzraGiffor

Latest Threads

Top