473,387 Members | 1,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Error on Build

I have a .NET remoting chat program that works great in a stand-alone
application. When I port it into my new application I get the following build
error:

Error 1 Method 'Public Sub SubmissionCallback(sender As Object, submitArgs
As EZRemote_VER3.SubmitEventArgs)' does not have the same signature as
delegate 'Delegate Sub SubmissionEventHandler(sender As Object, submitArgs As
ChatCoordinator.SubmitEventArgs)'. G:\Projects\EZRemote_VER3\EZRemote_VER3\ChatClient .vb 24 53 EZRemote_VER3

I've looked at the code in the first project and it's Idential, other than I
had to make a Global Declaration on the ChatCoordinator Class (dll)

Any and all help would be greatly appreciated.

Michael
May 18 '06 #1
1 883
eSolTec wrote:
I have a .NET remoting chat program that works great in a stand-alone
application. When I port it into my new application I get the following build
error:

Error 1 Method 'Public Sub SubmissionCallback(sender As Object, submitArgs
As EZRemote_VER3.SubmitEventArgs)' does not have the same signature as
delegate 'Delegate Sub SubmissionEventHandler(sender As Object, submitArgs As
ChatCoordinator.SubmitEventArgs)'. G:\Projects\EZRemote_VER3\EZRemote_VER3\ChatClient .vb 24 53 EZRemote_VER3

I've looked at the code in the first project and it's Idential, other than I
had to make a Global Declaration on the ChatCoordinator Class (dll)

Any and all help would be greatly appreciated.

Michael

The error message is telling you what is wrong!

Sub SubmissionCallback(sender As Object, submitArgs As EZRemote_VER3.SubmitEventArgs)
does not equal
Sub SubmissionEventHandler(sender As Object, submitArgs As ChatCoordinator.SubmitEventArgs)

Whatever this EZRemote_VER3 is, it is not a ChatCoordinator.

Delegates have to match precisely in the signature.

Tom
May 19 '06 #2

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

Similar topics

0
by: Jim | last post by:
All, I'm trying to debug a Python GPF while running a script that we've written. After fixing up some of the paths for the Python build and successfully building Python from ActiveState source,...
2
by: AIM | last post by:
Error in msvc in building inheritance.obj to build hello.pyd Hello, I am trying to build the boost 1.31.0 sample extension hello.cpp. I can not compile the file inheritance.cpp because the two...
1
by: Yi Xing | last post by:
I log into the machine remotely. How do I check the Mac OSX version number under command line? Thanks. hiaips rosedb0 at gmail.com Wed Aug 16 01:23:10 CEST 2006 * Previous message: MySQLdb...
2
by: f rom | last post by:
----- Forwarded Message ---- From: Josiah Carlson <jcarlson@uci.edu> To: f rom <etaoinbe@yahoo.com>; wxpython-users@lists.wxwidgets.org Sent: Monday, December 4, 2006 10:03:28 PM Subject: Re: ...
1
by: kvarada | last post by:
Hello Experts, I am building my application on WinNT.4.0_i386_MSVC.7.1 platform. When I build the application on a stand alone machine, it builds fine. But when I build the same application from a...
2
by: John | last post by:
I'm trying to install matplotlib and currently getting the below error. I searched the group and google and couldn't find anything similar... Any ideas? Thanks in advance! src/ft2font.cpp:...
2
by: akhilesh.noida | last post by:
I am trying to compile glibc-2.5 for ARM based board. But I am getting errors while configuring it. Please check and give your inputs for resolving this. configure command : $...
1
by: Owen Zhang | last post by:
I am trying to build lxml package in SunOS 5.10. I got the following errors. Does anybody know why? $ python setup.py build Building lxml version 2.1. NOTE: Trying to build without Cython,...
3
by: imaloner | last post by:
I am posting two threads because I have two different problems, but both have the same background information. Common Background Information: I am trying to rebuild code for a working,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
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...

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.