Bugs item #1474093, was opened at 2006-04-21 11:40
Message generated for change (Comment added) made by asgerjensen
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1474093&group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tasks
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Asger Jensen (asgerjensen)
Assigned to: Nobody/Anonymous (nobody)
Summary: <solution> Interop creation gives delegate mismatch

Initial Comment:
I'm trying to use the SQL server 2000  replication
monitoring components, and when I compile using msbuild
or the development environment it works. 

When compiling via nant using the solution task, I get

 [solution] Fooclass.cs(14,71): error CS0123: Method
'WindowsApplication2.Fooclass.objSQLSnapshot_Status(string,
int)' 
does not match delegate 'void 
SQLINITXLib._SQLSnapshotEvents_StatusEventHandler(string,
int, out SQLINITXLib.STATUS_RETURN_CODE)'


and

[solution] Form1.cs(27,65): error CS0123: Method
'WindowsApplication2.Form1.objSQLMerge_Status(string,
int)' 
does not match delegate 'void
SQLMERGXLib._SQLMergeEvents_StatusEventHandler(string,
int, out SQLMERGXLib.STATUS_RETURN_CODE)'


I've tried running with verbose=true and that gives
transcript1.txt and transcript2.txt  as result
(included in file).

I have created a small sample, that shows how the
problem can be replicated.

It contains the interops as well as the original dll
files that the interop is created from. 

I've tried the newest nightly build as well.



The OBJ folder contains both a version of the interops
as they are created by VS2003, (called Dev-env version
of xxxxx) and the version created by running the
<solution> task. The weird part is, that nant recreates
the files even if VS2003 already created them.
They look very similar, but running a binary diff on
the two sets of files show that some discrepancies exist.






----------------------------------------------------------------------

>Comment By: Asger Jensen (asgerjensen)
Date: 2006-05-02 11:06

Message:
Logged In: YES 
user_id=1277261

Ah - the file containing the two versions of the interop
along with the sample program and the original com-dlls runs
into 2.5Mb.

Max allowed upload is 256kb :(

Please use the URL below to get the file.

----------------------------------------------------------------------

Comment By: Asger Jensen (asgerjensen)
Date: 2006-05-02 10:56

Message:
Logged In: YES 
user_id=1277261

I've tried to upload it again. Otherwise it is available from

http://www.udenbysvester.dk/~asger/WindowsApplication2a.zip

----------------------------------------------------------------------

Comment By: Gert Driesen (drieseng)
Date: 2006-05-01 16:19

Message:
Logged In: YES 
user_id=707851

Can you attach that zip file again ? The current one is 
corrupt.

Thx

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1474093&group_id=31650


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to