Is it a C++ or Java?

M

Mark

I have a C++ program
The program has to interface with "another" software.
When I have asked the guy that knows about this software how to do it ;
he replied:

It's an activeX exe so it's easy to use from whatever app/web page you
want.

Set R = GetObject("", "HERemote.RemoteLink")
R.SendCmd ("Cable 9 3 6")
Set R = Nothing

When I have tried to compile my program with these statements I have
got compile error.

Am I missing some kind of a header in my program? Or some compile
swicth?

re:
Is it a C++ or Java?
comp.lang.c++
 
V

Victor Bazarov

Mark said:
I have a C++ program
The program has to interface with "another" software.
When I have asked the guy that knows about this software how to do it
; he replied:

It's an activeX exe so it's easy to use from whatever app/web page you
want.

Set R = GetObject("", "HERemote.RemoteLink")
R.SendCmd ("Cable 9 3 6")
Set R = Nothing

When I have tried to compile my program with these statements I have
got compile error.

Am I missing some kind of a header in my program? Or some compile
swicth?

The code you have here is not C++, nor is it Java. It is Visual Basic
most likely. Thus we can't really help you.

If you need help connecting (and invoking methods of) an ActiveX control,
you need to post to a Microsoft newsgroup (one of microsoft.public.*),
I am not certain which will be the best. Pick one and ask, they will no
doubt point you further.

V
 
J

Jules Dubois

Set R = GetObject("", "HERemote.RemoteLink")
R.SendCmd ("Cable 9 3 6")
Set R = Nothing

This code is VisualBasic. Try one of the microsoft.public.* newsgroups for
more information.
 
W

Winbatch

Jules Dubois said:
This code is VisualBasic. Try one of the microsoft.public.* newsgroups
for
more information.

I think it's ASP (Active Server Pages) which often uses VBScript
 
M

Mark

Thanks a lot.
I have tried to compile existing Visual Basic project and it compiles
and links OK
 

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
473,792
Messages
2,569,639
Members
45,353
Latest member
RogerDoger

Latest Threads

Top