I'm tying to build a simple Remoting thingie (techincal term). However, I
can't seam to get it to compile.
ChatBase is defined as a public class..
The line that kills compiling:
theChatStuff = (ChatBase *) ( Activator::GetObject ( __typeof ( ChatBase ) ,
"tcp://localhost:9999/Try1") );
Form1.cpp(41): error C2039: 'GetObjectA' : is not a member of
'System::Activator'
Form1.cpp(41): error C2660: 'GetObjectA' : function does not take 2 arguments
I'm not calling GetObjectA, I'm calling GetObject. I have a C# example that
does exactly what the same call (with changes to C++.net). Why does it come
up with me calling GetObjectA??? Nothing I've done seams to get rid of
this...
GE
PS> Someone here mentioned it may have to do with some hidden functions
somewhere, and the A may deal with ASCII. Not too sure what exactly he meant. 3 1263
Fireangel, I'm tying to build a simple Remoting thingie (techincal term). However, I can't seam to get it to compile.
ChatBase is defined as a public class..
The line that kills compiling: theChatStuff = (ChatBase *) ( Activator::GetObject ( __typeof ( ChatBase )
, "tcp://localhost:9999/Try1") );
Form1.cpp(41): error C2039: 'GetObjectA' : is not a member of 'System::Activator' Form1.cpp(41): error C2660: 'GetObjectA' : function does not take 2
arguments I'm not calling GetObjectA, I'm calling GetObject. I have a C# example
that does exactly what the same call (with changes to C++.net). Why does it
come up with me calling GetObjectA??? Nothing I've done seams to get rid of this...
GE
PS> Someone here mentioned it may have to do with some hidden functions somewhere, and the A may deal with ASCII. Not too sure what exactly he
meant.
You're running into this: http://www.winterdom.com/mcppfaq/archives/000128.html
--
Tomas Restrepo to****@mvps.org
I undefined GetObject, but now I have a WHOLE crap load of errors in placed
I have no control over. So I really can't undefine GetObject :(
I'm going too look for a way to not have to put #include <windows.h> in the
header, since that would seam to solve more problems...
GE
"Tomas Restrepo (MVP)" wrote: Fireangel,
I'm tying to build a simple Remoting thingie (techincal term). However, I can't seam to get it to compile.
ChatBase is defined as a public class..
The line that kills compiling: theChatStuff = (ChatBase *) ( Activator::GetObject ( __typeof ( ChatBase ) , "tcp://localhost:9999/Try1") );
Form1.cpp(41): error C2039: 'GetObjectA' : is not a member of 'System::Activator' Form1.cpp(41): error C2660: 'GetObjectA' : function does not take 2 arguments I'm not calling GetObjectA, I'm calling GetObject. I have a C# example
that does exactly what the same call (with changes to C++.net). Why does it come up with me calling GetObjectA??? Nothing I've done seams to get rid of this...
GE
PS> Someone here mentioned it may have to do with some hidden functions somewhere, and the A may deal with ASCII. Not too sure what exactly he meant.
You're running into this: http://www.winterdom.com/mcppfaq/archives/000128.html
-- Tomas Restrepo to****@mvps.org
Or not. I commented some stuff out and compiled. Got errors. Put the
program back to the way it was (With the undef), and now it works!!
I hate it when that happens..
thanks for your help!!
"Tomas Restrepo (MVP)" wrote: Fireangel,
I'm tying to build a simple Remoting thingie (techincal term). However, I can't seam to get it to compile.
ChatBase is defined as a public class..
The line that kills compiling: theChatStuff = (ChatBase *) ( Activator::GetObject ( __typeof ( ChatBase ) , "tcp://localhost:9999/Try1") );
Form1.cpp(41): error C2039: 'GetObjectA' : is not a member of 'System::Activator' Form1.cpp(41): error C2660: 'GetObjectA' : function does not take 2 arguments I'm not calling GetObjectA, I'm calling GetObject. I have a C# example
that does exactly what the same call (with changes to C++.net). Why does it come up with me calling GetObjectA??? Nothing I've done seams to get rid of this...
GE
PS> Someone here mentioned it may have to do with some hidden functions somewhere, and the A may deal with ASCII. Not too sure what exactly he meant.
You're running into this: http://www.winterdom.com/mcppfaq/archives/000128.html
-- Tomas Restrepo to****@mvps.org This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: xixi |
last post by:
hi, i found that in alter table command , you can do activate not
logged initially to help not log any changes made to the table to log
file, cause i have to delete almost 1 million records and my...
|
by: Jason Kyle Baginski |
last post by:
Here's a little test app to demonstrate a problem I'm having.
It creates four buttons, each one with the different FlatStyle types
available. Three of them behave exactly the same way(and the...
|
by: Ole Hanson |
last post by:
Hi
What's the best way of activating a sleeping process on my local machine?
I have an application (.exe) minimized to a notifyicon in the tasktray. Now - if the user clicks the exe-file again...
|
by: David Krmpotic |
last post by:
Hello!
I have a simple client/server plugin based architecture. I place all the
plugins in \plugins sub-directory on both, server and the client. Each DLL
has implemented two interfaces.. on for...
|
by: |
last post by:
Hi,
I am working on a n-tier app using remoting. I am using the VS 2005 beta
2. My server needs to access a remote resources on behalf on the connected
user.
I have configured my server like :...
|
by: Sasidhar |
last post by:
Hi All
Am trying to develope a vb.net application for window
My problem is that I need to develope a windows servic
which will activate a Dll upon request from client and
updat a database
The...
|
by: Eric Sheu |
last post by:
Greetings,
I have been searching the web like mad for a solution to my SMTP problem. I
am using Windows Server 2003 and ASP.NET 2.0 w/ C# to send out e-mails from a
web site I have created to...
|
by: geskerrett |
last post by:
We have been asked to develop and application for a client that is a
'notification" system. We would like to use python, but are struggling
to find the right starting point. Any suggestions, tips...
|
by: softkarthi |
last post by:
Hi,
I am new to remoting, i have some problem in that. The problem is i couldnt activate client exe over lan and its spitting some error(unhandled excpetion) while invoking that application. The...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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,...
|
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...
|
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...
|
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,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |