Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 08-30-2005, 08:15 AM   #1
Jaapjan
Avid reader
Jaapjan doesn't litterJaapjan doesn't litter
 
Jaapjan's Avatar
 
Posts: 262
Karma: 132
Join Date: Mar 2005
Location: The Netherlands
Device: HTC Touch Diamond, iLiad Book Edition
LIT conversion (C#) developer

Is there anyone out there who ever tried to port the CLit code to c# instead?

Just trying to meet up or talk a bit with other such developers who tried or thought about it (with reasonable expectations of having succes).

Jaapjan is offline   Reply With Quote
Old 08-30-2005, 08:37 AM   #2
dpierron
calibre2opds guru
dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.
 
dpierron's Avatar
 
Posts: 531
Karma: 8792
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, iPad, PRS-650
Shouldn't be too difficult if the original source is available (which I think it is).
But what for ?
dpierron is offline   Reply With Quote
Old 08-30-2005, 09:38 AM   #3
Jaapjan
Avid reader
Jaapjan doesn't litterJaapjan doesn't litter
 
Jaapjan's Avatar
 
Posts: 262
Karma: 132
Join Date: Mar 2005
Location: The Netherlands
Device: HTC Touch Diamond, iLiad Book Edition
I see you haven't actually looked into it yet (at all?)

It would be fairly complex in fact. It is not a simple format.
Jaapjan is offline   Reply With Quote
Old 08-30-2005, 09:58 AM   #4
doctorow
Guru
doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.
 
doctorow's Avatar
 
Posts: 914
Karma: 3410461
Join Date: May 2004
Device: Kindle Touch
Jaapjan, what's complex about it? The sources can be easily compiled with Microsoft Visual C and any other GNU C compiler. Shouldn't it be straightforward to transform C code into C# ?
doctorow is offline   Reply With Quote
Old 08-30-2005, 10:21 AM   #5
Jaapjan
Avid reader
Jaapjan doesn't litterJaapjan doesn't litter
 
Jaapjan's Avatar
 
Posts: 262
Karma: 132
Join Date: Mar 2005
Location: The Netherlands
Device: HTC Touch Diamond, iLiad Book Edition
The trouble is that the code is not object oriented, scattered about through many files and using a great deal of macro's.

Accurately deducing what a the more complex parts do precisely is ... not easy.
Jaapjan is offline   Reply With Quote
Old 08-30-2005, 10:22 AM   #6
doctorow
Guru
doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.
 
doctorow's Avatar
 
Posts: 914
Karma: 3410461
Join Date: May 2004
Device: Kindle Touch
I C. Thanks for the clarification
doctorow is offline   Reply With Quote
Old 08-30-2005, 10:23 AM   #7
Jaapjan
Avid reader
Jaapjan doesn't litterJaapjan doesn't litter
 
Jaapjan's Avatar
 
Posts: 262
Karma: 132
Join Date: Mar 2005
Location: The Netherlands
Device: HTC Touch Diamond, iLiad Book Edition
It's not a problem to explain. Feel free to verify my statements. I love to hear you find it very easy, because I could ask all the tough questions to you then...
Jaapjan is offline   Reply With Quote
Old 08-30-2005, 10:24 AM   #8
doctorow
Guru
doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.
 
doctorow's Avatar
 
Posts: 914
Karma: 3410461
Join Date: May 2004
Device: Kindle Touch
Well I have never programmed in C#. But I did C++ and usually it was not an issue incorporating C code into C++.
doctorow is offline   Reply With Quote
Old 08-30-2005, 10:32 AM   #9
Jaapjan
Avid reader
Jaapjan doesn't litterJaapjan doesn't litter
 
Jaapjan's Avatar
 
Posts: 262
Karma: 132
Join Date: Mar 2005
Location: The Netherlands
Device: HTC Touch Diamond, iLiad Book Edition
Yes, C and C++ aren't very different and you can intermingle said variants of the C language without any sort of worry. This is not the case with C# though, which is entirely object oriented.

In fact, c# doesn't even have support for pointers, nor macro's. It's not as much a thing of porting but of rewriting based on the original C code.
Jaapjan is offline   Reply With Quote
Old 08-30-2005, 11:53 AM   #10
doctorow
Guru
doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.
 
doctorow's Avatar
 
Posts: 914
Karma: 3410461
Join Date: May 2004
Device: Kindle Touch
May I ask you what you are working on? A project involving ConvertLit always sounds intriguing.
doctorow is offline   Reply With Quote
Old 08-30-2005, 11:58 AM   #11
Jaapjan
Avid reader
Jaapjan doesn't litterJaapjan doesn't litter
 
Jaapjan's Avatar
 
Posts: 262
Karma: 132
Join Date: Mar 2005
Location: The Netherlands
Device: HTC Touch Diamond, iLiad Book Edition
Off course. A reader for the lit format for windows mobile 5. Particularly, the code should be in the .net compact 2 framework and entirely managed code, meaning it ought work wherever mono or microsoft .net is. Possibly that .gnu variant too, whatever it is called though I won't bother with that.

It's just a hobby thing but I made quite some progress.
Jaapjan is offline   Reply With Quote
Old 08-30-2005, 12:34 PM   #12
Laurens
Jah Blessed
Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.
 
Laurens's Avatar
 
Posts: 1,295
Karma: 1373
Join Date: Apr 2003
Location: The Netherlands
Device: iPod Touch
P/Invoke?

Is it absolutely required to use only managed code? If not, why not compile the original CLit source as a DLL and call its functions using P/Invoke?
Laurens is offline   Reply With Quote
Old 08-30-2005, 01:04 PM   #13
Jaapjan
Avid reader
Jaapjan doesn't litterJaapjan doesn't litter
 
Jaapjan's Avatar
 
Posts: 262
Karma: 132
Join Date: Mar 2005
Location: The Netherlands
Device: HTC Touch Diamond, iLiad Book Edition
I require it to be completely managed, yes. Besides that, I do not want to use any of the original code. I merely use it as a reference.
Jaapjan is offline   Reply With Quote
Old 08-30-2005, 01:08 PM   #14
doctorow
Guru
doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.
 
doctorow's Avatar
 
Posts: 914
Karma: 3410461
Join Date: May 2004
Device: Kindle Touch
Quote:
Originally Posted by Jaapjan
I require it to be completely managed, yes. Besides that, I do not want to use any of the original code. I merely use it as a reference.
I take it then you don't want to release your reader as GPL?
doctorow is offline   Reply With Quote
Old 08-30-2005, 01:18 PM   #15
Jaapjan
Avid reader
Jaapjan doesn't litterJaapjan doesn't litter
 
Jaapjan's Avatar
 
Posts: 262
Karma: 132
Join Date: Mar 2005
Location: The Netherlands
Device: HTC Touch Diamond, iLiad Book Edition
To be honest, I have no idea. Right now it is a hobby thing. 'See if I can do it' thing. To be honest, I don't think I would make any sort of commercial thing out of it. If that is your worry.
Jaapjan is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Conversion from LIT fails JSWolf Calibre 1 01-22-2010 01:22 PM
.lit conversion bubulac Calibre 0 01-08-2010 12:33 AM
lit conversion error Gfinch Calibre 13 08-06-2008 04:13 AM
lit conversion with the Kindle. keving1701 Amazon Kindle 5 02-17-2008 07:25 PM
.lit conversion question uvholic Sony Reader 7 02-04-2008 11:26 PM


All times are GMT -4. The time now is 04:05 AM.


MobileRead.com is a privately owned, operated and funded community.