Re: Write a file from binary data
From: Cyrus Welch (cywelch_at_hotmail.com)
Date: 01/24/05
- Next message: tnhoe: "Re: newbie question"
- Previous message: Paul: "Write a file from binary data"
- In reply to: Paul: "Write a file from binary data"
- Next in thread: Paul: "Re: Write a file from binary data"
- Reply: Paul: "Re: Write a file from binary data"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 24 Jan 2005 02:00:34 GMT
Paul wrote:
> I have the following:
> o = create("microsoft.xmldom")
> o.load("c:\temp\test.xml")
> oImage = o.selectSingleNode("//IMAGE")
>
> oImage.nodeTypedValue now contains a binary image (bitmap) encoded with
> bin.base64. I need to write this to a file but fputs, fwrite & strToFile
> take strings as parameters. Is the only way to do this is to create a
> function in C to write the binary data?
>
>
A variable of type "C" can contain binary data without any problem.
- Next message: tnhoe: "Re: newbie question"
- Previous message: Paul: "Write a file from binary data"
- In reply to: Paul: "Write a file from binary data"
- Next in thread: Paul: "Re: Write a file from binary data"
- Reply: Paul: "Re: Write a file from binary data"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|