473,473 Members | 1,415 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

What is "marshal" in programming context?

I saw words like "marshal", "marshaler", "demarshaler" in some log
files, articles but I really don't understand what it means.
I have tried to google it but did not find any satisfied or clear
answer.
Can anyone give me some definitions, meanings or direct me to where I
can find the answer.

Thank you very much in advance.

Jee

Mar 16 '06 #1
7 16480
* je*******@gmail.com:
I saw words like "marshal", "marshaler", "demarshaler" in some log
files, articles but I really don't understand what it means.
I have tried to google it but did not find any satisfied or clear
answer.
Can anyone give me some definitions, meanings or direct me to where I
can find the answer.
<url: http://en.wikipedia.org/wiki/Talk:Marshal>, where I added an
incorrect (too limited) definition since the main page had none.

Generally, marshaling (in programming) means to convert to and from some
external representation of an object, typically for RPC calls, but also
for e.g. calling Windows API-functions from .NET.

See <url:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/netcfintrointerp.asp>


Thank you very much in advance.

--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Mar 16 '06 #2
* Alf P. Steinbach:
* je*******@gmail.com:
I saw words like "marshal", "marshaler", "demarshaler" in some log
files, articles but I really don't understand what it means.
I have tried to google it but did not find any satisfied or clear
answer.
Can anyone give me some definitions, meanings or direct me to where I
can find the answer.


<url: http://en.wikipedia.org/wiki/Talk:Marshal>, where I added an
incorrect (too limited) definition since the main page had none.

Generally, marshaling (in programming) means to convert to and from some
external representation of an object, typically for RPC calls, but also
for e.g. calling Windows API-functions from .NET.

See <url:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/netcfintrointerp.asp>


Sorry, this was off-topic.

I thought I replied in a Windows programming programming group.
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Mar 16 '06 #3
Jee
Is the word marshaling specific to Windows platform?
I'm working on Solaris and Linux platform but using an API which
supports both Unix and Windows platform.
The API generated some log messages about marshaling so I wondered that
it is the same meaning as in Windows or not.

Anyway, my question is : Is it a generic term which can be use in any
platform or specific to Windows .NET platform?

/Jee

Mar 16 '06 #4
* Jee:
Is the word marshaling specific to Windows platform?
I'm working on Solaris and Linux platform but using an API which
supports both Unix and Windows platform.
The API generated some log messages about marshaling so I wondered that
it is the same meaning as in Windows or not.

Anyway, my question is : Is it a generic term which can be use in any
platform or specific to Windows .NET platform?


It's not about standard C++, that's for sure.

XFUT: [comp.programming].

--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Mar 16 '06 #5
Jee wrote:
Is the word marshaling specific to Windows platform?


No.

--
Ian Collins.
Mar 16 '06 #6
je*******@gmail.com wrote:
I saw words like "marshal", "marshaler", "demarshaler" in some log
files, articles but I really don't understand what it means.

That's part of the general topic of "serialization". You can read some
about it in the FAQ:

http://www.parashift.com/c++-faq-lit...alization.html
In general, search the web for more details.


Brian
Mar 16 '06 #7
Marshalling - means conversion from one form to another, Its a common
term. But as far as i know, it originated from the definition of
serialization , which is the process of marshalling and unmarshalling.
its used wherever the Remote Method Invocation is used (RMI).

Default User wrote:
je*******@gmail.com wrote:
I saw words like "marshal", "marshaler", "demarshaler" in some log
files, articles but I really don't understand what it means.

That's part of the general topic of "serialization". You can read some
about it in the FAQ:

http://www.parashift.com/c++-faq-lit...alization.html
In general, search the web for more details.


Brian


Mar 16 '06 #8

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

Similar topics

2
by: Vio | last post by:
I would like to know if executing: c = compile('a=5\nprint a','<string>','exec') on a Linux box, then pickling+beaming the result on a Windows box, will give me the expecting result: >>>...
5
by: Tim | last post by:
Hello All, I am writing a program that checks for the NumLock status and turns the NumLock on if it is off. I'm not sure what I'm overlooking at this point, but the code will compile and run, but...
5
by: _BNC | last post by:
I've converted " byte" to "byte *" at times, using 'unsafe' and fixed { .... }, but the reverse does not seem to work. In this case, a C++ DLL returns a byte * and a length. What is the best...
1
by: Michael Tkachev | last post by:
Hi Everybody, I created an Excel file in the ASP.Net. When I wrote this file on the disk I tryed to release COM objects. But I couldn't do it. When my method finished an "Excel" process exists...
16
by: abc my vclass | last post by:
C# has VB's "with" command? I like VB's with command, why don't know C# has it or not?
5
by: Peter Hansen | last post by:
I'm investigating a puzzling problem involving an attempt to generate a constant containing an (IEEE 754) "infinity" value. (I understand that special float values are a "platform-dependent...
13
by: bwaichu | last post by:
Now, I read the faq, and it suggests using sprintf. However, I want to all ways know where the integer finishes in the string. Basically, I want to: nbr | other data But the other data all...
94
by: Samuel R. Neff | last post by:
When is it appropriate to use "volatile" keyword? The docs simply state: " The volatile modifier is usually used for a field that is accessed by multiple threads without using the lock...
1
by: David Hirschfield | last post by:
I had a situation recently that required I manually load python bytecode from a .pyc file on disk. So, for the most part, I took code from imputil.py which loads the .pyc data via the marshal...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

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.