The main problem was understanding!!...i had to create the multi-part form data manually and i wasn't really sure how.
Gotta love the internet.
Pretty much all SE xml/http stuff is done manually.
Hence under 600Kb exe, which is pretty fast, too:-).
Importing something like DOM as TLB (early binding) would make it possibly incompatible and bloated, doing late binding would make it slower..
Gotta get your hands dirty if you want the results:-)
Pretty much all SE xml/http stuff is done manually.
Hence under 600Kb exe, which is pretty fast, too:-).
Importing something like DOM as TLB (early binding) would make it possibly incompatible and bloated, doing late binding would make it slower..
Gotta get your hands dirty if you want the results:-)
I may be wrong here, but while jar files are typically related to java. A jar file is actually just an archive format like zip, cab, etc.
You can actually rename a jar with a zip extension and open it.
So for the stuff I am doing, no I don't think they need java support.
David
The reason I'm asking is that 100Kb of yours is a fairly small deployable. Unless you do it in K&R C-style (or console app), windows exes are usually pretty hefty..
The only option to do a lot of things in a such a small package is to rely on some sort of a runtime support (windows host, VBrun, Java, .NET, PHP, Perl, etc.) ...
Just curious..
The reason I'm asking is that 100Kb of yours is a fairly small deployable. Unless you do it in K&R C-style (or console app), windows exes are usually pretty hefty..
The only option to do a lot of things in a such a small package is to rely on some sort of a runtime support (windows host, VBrun, Java, .NET, PHP, Perl, etc.) ...
Just curious..
The reason why it's so small is that it's a Mozilla Firefox extension. So obviously it needs Mozilla Firefox installed, then it just uses javascript, xml and existing mozilla interfaces.
The reason why it's so small is that it's a Mozilla Firefox extension. So obviously it needs Mozilla Firefox installed, then it just uses javascript, xml and existing mozilla interfaces.
Comments
So, what was the main problem? Just curious..
Cheers!
Gotta love the internet.
SmugMug API Developer
My Photos
Pretty much all SE xml/http stuff is done manually.
Hence under 600Kb exe, which is pretty fast, too:-).
Importing something like DOM as TLB (early binding) would make it possibly incompatible and bloated, doing late binding would make it slower..
Gotta get your hands dirty if you want the results:-)
Cheers!
At present, my jar file is about 18KB, or about 100KB expanded. But I haven't done much optimisation.
David
SmugMug API Developer
My Photos
Does it mean there has to be java support installed on the client's machine?
FYI, approximately 96.39% of those who browse smugmug have Java. So you're probably golden.
Don
Can I have you take a look at this issue, please?
Cheers!
You can actually rename a jar with a zip extension and open it.
So for the stuff I am doing, no I don't think they need java support.
David
SmugMug API Developer
My Photos
The reason I'm asking is that 100Kb of yours is a fairly small deployable. Unless you do it in K&R C-style (or console app), windows exes are usually pretty hefty..
The only option to do a lot of things in a such a small package is to rely on some sort of a runtime support (windows host, VBrun, Java, .NET, PHP, Perl, etc.) ...
Just curious..
It's pretty cool stuff.
David
SmugMug API Developer
My Photos
Gotcha