Thanks Dennis, I'll look into it.
Keith
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jonio,
Dennis (Aviation)
Sent: 04 September 2007 11:32
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] ByteReader Problem
Glad to he
:[EMAIL PROTECTED] On Behalf Of Campbell,
Keith A
Sent: Monday, September 03, 2007 8:26 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] ByteReader Problem
Great, that seems to work, thanks.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Great, that seems to work, thanks.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jonio,
Dennis (Aviation)
Sent: 31 August 2007 17:04
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] ByteReader Problem
This is what I use in real life
I'm using 1.1.0, so maybe that is where the problem is.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kenneth,
GEOGRAF A/S
Sent: 03 September 2007 12:48
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] ByteReader Problem
Very od
*From:* [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] *On Behalf Of
*Kenneth, GEOGRAF A/S
*Sent:* 31 August 2007 17:14
*To:* MapGuide Users Mail List
*Subject:* Re: [mapguide-users] ByteReader Problem
The only way around it, that I have found, is to copy/paste code
Behalf Of Kenneth,
GEOGRAF A/S
Sent: 31 August 2007 17:14
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] ByteReader Problem
The only way around it, that I have found, is to copy/paste code like
this:
System.IO.MemoryStream ms = new System.IO.MemoryStream();
byte[] buf = new byte[8
EMAIL PROTECTED] *On Behalf Of *Jonio,
Dennis (Aviation)
*Sent:* 31 August 2007 14:05
*To:* MapGuide Users Mail List
*Subject:* RE: [mapguide-users] ByteReader Problem
... this sequence tends to work
// For some reason the MgByteReader "disappears"
// This seems
August 2007 14:05
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] ByteReader Problem
... this sequence tends to work
// For some reason the MgByteReader "disappears"
// This seems to work
long long_length = rs.GetResourceContent(resId).
bject: RE: [mapguide-users] ByteReader Problem
... this sequence tends to work
// For some reason the MgByteReader "disappears"
// This seems to work
long long_length = rs.GetResourceContent(resId).GetLength();
byte[] byt
Mail List
Subject: Re: [mapguide-users] ByteReader Problem
The "ToString()" is not implemented, and thus returns "MgByteReader",
which you cannot use as an XML document.
The MgByteReader is very volatile and fragile, when you try to debug it
with VS.
Any attempt to pass the
... this sequence tends to work
// For some reason the MgByteReader "disappears"
// This seems to work
long long_length = rs.GetResourceContent(resId).GetLength();
byte[] byteBuffer = new byte[long_length];
int numBytes = rs.GetResourc
The "ToString()" is not implemented, and thus returns "MgByteReader",
which you cannot use as an XML document.
The MgByteReader is very volatile and fragile, when you try to debug it
with VS.
Any attempt to pass the byte reader to a function (as a parameter) will
clear the stream.
You cannot r
12 matches
Mail list logo