>From what I could find on the Web, it is questionable
if managed C++ will support jagged arrays.
VC8 simply won't compile managed C++ method returning
String[][].
So I tried the following quick and dirty trick which
worked on my machine:
_gcA_gcA_gcString.cs now has a new class:
public class CSWorkerRequest :
System.Web.Hosting.SimpleWorkerRequest
{
protected _gcA_gcA_gcString unk_req_hdr_arr;
public CSWorkerRequest( String page, String query,
System.IO.TextWriter output ) :
base(page,query,output)
{
}
public override String[][] GetUnknownRequestHeaders()
{
return unk_req_hdr_arr.Value();
}
}
WorkerRequest.h loses
virtual String __gc * GetUnknownRequestHeaders(void)
__gc[]__gc[] method
and
_gcA_gcA_gcString *unk_req_hdr_arr;
member and is derived from CSWorkerRequest.
Tony
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com