.NET
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Cann't DeSerializ e in .net arx environmen t
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
74 Views, 5 Replies
10-19-2005 07:06 AM
I try to Serialize a custom class' Instance and deserialize it . If this method is called in arx, it always raise an "cann't find the assembly" exception , but the same code is correct without AutoCAD .net environment. please tell me why ?
*Tony Tanzillo
Re: Cann't DeSerializ e in .net arx environmen t
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-19-2005 11:42 AM in reply to:
netarx
What type of serialization is this (e.g., Binary, SOAP, XML) ?
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com
wrote in message news:4988774@discussion.autodesk.com...
I try to Serialize a custom class' Instance and deserialize it . If this method is called in arx, it always raise an "cann't find the assembly" exception , but the same code is correct without AutoCAD .net environment. please tell me why ?
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com
I try to Serialize a custom class' Instance and deserialize it . If this method is called in arx, it always raise an "cann't find the assembly" exception , but the same code is correct without AutoCAD .net environment. please tell me why ?
Re: Cann't DeSerializ e in .net arx environmen t
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-20-2005 04:42 PM in reply to:
netarx
I use binary serialize type.
When I use .NET's "Remoting Access" feature, the same thing happend. So, How can I access AutoCAD process from excel add-in process(or from any other process outof autocad,without ActiveX technology)?
When I use .NET's "Remoting Access" feature, the same thing happend. So, How can I access AutoCAD process from excel add-in process(or from any other process outof autocad,without ActiveX technology)?
*Tony Tanzillo
Re: Cann't DeSerializ e in .net arx environmen t
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-20-2005 06:15 PM in reply to:
netarx
You can send an object across the wire or deserialize
it into any process, provided the implementation of
the object's class resides in an assembly that can be
loaded into the destination process.
The AutoCAD interop assemblies cannot be loaded into
any process, only the AutoCAD process.
What exactly are you trying to persist?
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com
wrote in message news:4990878@discussion.autodesk.com...
I use binary serialize type.
When I use .NET's "Remoting Access" feature, the same thing happend. So, How can I access AutoCAD process from excel add-in process(or from any other process outof autocad,without ActiveX technology)?
it into any process, provided the implementation of
the object's class resides in an assembly that can be
loaded into the destination process.
The AutoCAD interop assemblies cannot be loaded into
any process, only the AutoCAD process.
What exactly are you trying to persist?
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com
I use binary serialize type.
When I use .NET's "Remoting Access" feature, the same thing happend. So, How can I access AutoCAD process from excel add-in process(or from any other process outof autocad,without ActiveX technology)?
*Fred Chateau
Re: Cann't DeSerializ e in .net arx environmen t
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-18-2006 06:58 PM in reply to:
netarx
"Tony Tanzillo" wrote ...
> You can send an object across the wire or deserialize it into any process,
> provided the implementation of the object's class resides in an assembly
> that can be loaded into the destination process.
So it sounds like your saying if I wanted to serialize some objects and send
them to a Web Service or to SQL Server, it would work as long as they are
being deserialized back into an ObjectARX process.
Is that correct? If I understand the API documentation, there are "filer"
methods to do this. Should I be looking at them or working with .NET
serialization classes?
--
Regards,
Fred Chateau
fchateauAtComcastDotNet
> You can send an object across the wire or deserialize it into any process,
> provided the implementation of the object's class resides in an assembly
> that can be loaded into the destination process.
So it sounds like your saying if I wanted to serialize some objects and send
them to a Web Service or to SQL Server, it would work as long as they are
being deserialized back into an ObjectARX process.
Is that correct? If I understand the API documentation, there are "filer"
methods to do this. Should I be looking at them or working with .NET
serialization classes?
--
Regards,
Fred Chateau
fchateauAtComcastDotNet
*Tony Tanzillo
Re: Cann't DeSerializ e in .net arx environmen t
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-18-2006 09:11 PM in reply to:
netarx
"Fred Chateau" wrote:
>> So it sounds like your saying if I wanted to serialize some
>> objects and send them to a Web Service or to SQL Server,
>> it would work as long as they are being deserialized back
>> into an ObjectARX process.
>> Is that correct?
Not exactly. That was about remote access to AutoCAD's
managed wrapper API from another process (serialization
is how remoting is done) for example, from a standalone
.NET executable, or a DLL loaded into Excel or something
like that.
There's no way to do that with the AutoCAD managed
wrapper classes, because they can't be loaded into any
process other than ACAD.EXE.
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com
>> So it sounds like your saying if I wanted to serialize some
>> objects and send them to a Web Service or to SQL Server,
>> it would work as long as they are being deserialized back
>> into an ObjectARX process.
>> Is that correct?
Not exactly. That was about remote access to AutoCAD's
managed wrapper API from another process (serialization
is how remoting is done) for example, from a standalone
.NET executable, or a DLL loaded into Excel or something
like that.
There's no way to do that with the AutoCAD managed
wrapper classes, because they can't be loaded into any
process other than ACAD.EXE.
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

