473,386 Members | 1,864 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Radix 64 (uuencoded files)

Hi,

What libraries does C# have for UUEncoding a file?
Thanks
Jul 21 '05 #1
4 1841
Hi,

There is the MailEncoding enumeration that has a member UUEncode which
Specifies that the e-mail message uses UUEncode encoding , you have to use
the namespace System.Web.Mail .

to encode some data , there is the ATL Function UUEncode
inline BOOL UUEncode( const BYTE* pbSrcData, int nSrcLen, LPSTR
szDest, int* pnDestLen, LPCTSTR lpszFile = _T("file"), DWORD dwFlags =
0 ) throw( );hope this would help
--
Mohamed Mossad
Microsoft GTSC Developer support for Middle East
<di********@discussion.microsoft.com> wrote in message
news:em**************@TK2MSFTNGP10.phx.gbl...
Hi,

What libraries does C# have for UUEncoding a file?
Thanks

Jul 21 '05 #2
I dont want to mail it I want to save and load it.
"Mohamoss" <Mo************@egdsc.Microsoft.com> wrote in message
news:OC**************@TK2MSFTNGP10.phx.gbl...
Hi,

There is the MailEncoding enumeration that has a member UUEncode which
Specifies that the e-mail message uses UUEncode encoding , you have to use the namespace System.Web.Mail .

to encode some data , there is the ATL Function UUEncode
inline BOOL UUEncode( const BYTE* pbSrcData, int nSrcLen, LPSTR
szDest, int* pnDestLen, LPCTSTR lpszFile = _T("file"), DWORD dwFlags = 0 ) throw( );hope this would help
--
Mohamed Mossad
Microsoft GTSC Developer support for Middle East
<di********@discussion.microsoft.com> wrote in message
news:em**************@TK2MSFTNGP10.phx.gbl...
Hi,

What libraries does C# have for UUEncoding a file?
Thanks


Jul 21 '05 #3
then , I think you still can use the ATL function UUEncode
it reside in the header "atlenc.h" and it has this definition
inline BOOL UUEncode( const BYTE* pbSrcData, int nSrcLen, LPSTR
szDest, int* pnDestLen, LPCTSTR lpszFile = _T("file"), DWORD dwFlags

if you are a bit familiar with c++ you can write an
small dll that expose this function then reference it in your C# solution
<di********@discussion.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
I dont want to mail it I want to save and load it.
"Mohamoss" <Mo************@egdsc.Microsoft.com> wrote in message
news:OC**************@TK2MSFTNGP10.phx.gbl...
Hi,

There is the MailEncoding enumeration that has a member UUEncode
which Specifies that the e-mail message uses UUEncode encoding , you have to

use
the namespace System.Web.Mail .

to encode some data , there is the ATL Function UUEncode
inline BOOL UUEncode( const BYTE* pbSrcData, int nSrcLen, LPSTR
szDest, int* pnDestLen, LPCTSTR lpszFile = _T("file"), DWORD

dwFlags =
0 ) throw( );hope this would help
--
Mohamed Mossad
Microsoft GTSC Developer support for Middle East
<di********@discussion.microsoft.com> wrote in message
news:em**************@TK2MSFTNGP10.phx.gbl...
Hi,

What libraries does C# have for UUEncoding a file?
Thanks



Jul 21 '05 #4
<di********@discussion.microsoft.com> wrote in news:emRtuan3DHA.2556
@TK2MSFTNGP10.phx.gbl:
What libraries does C# have for UUEncoding a file?


http://www.IndyProject.org/indy.html

Has full UUE capabilities and is free.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
ELKNews - Get your free copy at http://www.atozedsoftware.com

Jul 21 '05 #5

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

Similar topics

2
by: Mike | last post by:
I am sure that I am making a simple boneheaded mistake and I would appreciate your help in spotting in. I have just installed apache_2.0.53-win32-x86-no_ssl.exe php-5.0.3-Win32.zip...
18
by: Kevin Doyle | last post by:
Hi I just found this macro. I want to convert a dword to string using this _ultoa but I don't understand the radix part of the function. what value of radix should I use so as not to effect the...
7
by: Foodbank | last post by:
Hi everyone. I'm having trouble with this radix sorting program. I've gotten some of it coded except for the actual sorting :( The book I'm teaching myself with (Data Structures Using C and...
2
by: Foodbank | last post by:
Hi everyone, I'm having trouble implementing a supposedly simple Least Significant Digit first Radix Sort. The book I'm using gave me somewhat of a template that I touched up (below), but I'm...
1
by: Foodbank | last post by:
Hi, I'm currently teaching myself C data structures in preparation for a job transition and I've just passed the point in which radix sorting was covered in my book. I've recently finished a...
3
by: Tracey | last post by:
I'm learning C++ and was stuck when writing code to convert a negative decimal number string to a hexdecimal number. For example, suppose the function interface is defined as: int atoi( const...
1
by: crimson08 | last post by:
does anyone know how to use radix sorting in a linked list???
3
by: aRTx | last post by:
I have try a couple of time but does not work for me My files everytime are sortet by NAME. I want to Sort my files by Date-desc. Can anyone help me to do it? The Script <? /* ORIGJINALI
0
by: Nick Keighley | last post by:
On Oct 25, 1:50 pm, Eric Sosman <esos...@ieee-dot-org.invalidwrote: since the pointer indicates the "last" digit. It indicates how many digits there are. I'm guessing that N is just some large...
8
by: tejas2991 | last post by:
could someone please gimme the main code for "radix sort" using stack
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...

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.