Daniele Piazza's Code

Home | Software | Download

C/C++ - ARX


The DWGtoPDF source code. If you find this tool useful and want to improve it, please feel free to use the sorce code. It also contains an old version of the FastIO CLib library. I suppose somewhere on th web there is a new version.




F-PROT Live Update

I'm just learning now so I haven't any interesting piece of code to submit to the community. In my spare time (??) I try to write some simple but useful routines to improve my "computer life quality". This is a piece of code to automatically upgrade signatures files for the FREE (for personal use) antivirus F-PROT in DOS version. This antivirus works quite fine and it's not invasive for the system. The only trouble is you have to upgrade manually the signatures (no live-update for DOS). This routine fix the problem. Every suggestion or comment would be really appreciated.



A little collection of code and writings about Zope.

- A Spreadsheet-like application evolution

I've been working on a Zope application for a couple of months. I had to struggle with an ODBC connection to manage tables. So I decided to write a little tool to show, modify and update tables in a very easy way. This is a little evolution of a couples of "how to" I found into the members folder. Have a look at my page into the members folder on Zope for more informations on this topic.

Here is the document


- Playing with Zope and XML-RPC

Since I'm currently playing with Zope and XML-RPC and there is very few documentation about it I wrote a little How-To you might find useful.

Here is the document.



I wrote several software for computational geometry using AutoLisp. It was a great fun. Every time I have to write down an algorithm I still open lots of parentheses in my mind... ;-). Here is some code I wrote long time ago for practicing.

Triangulate - This program triangulates an irregular set of points using "delauney triangulation". You can download a plain introduction to this algorithm at Paul Bourke's site.

Contour - Experimental code for "Arachnidian" pocket machining algorithm. Some interesting references.

ZigZag - Experimental code for a "ZigZag" pocket machining algorithm. From "Joseph O' Rourke - Computational Geometry in C++"

Sweepline - ...a Sweepline algorithm to compute all intersection points of n line segments. From "Preparata & Shamos - Computational Geometry: an introduction". Inside there is a "Shell sort" algorithm implemented with full AutoLisp.

Polygon - This program verifies if a point lies within a polygon (in Autocad terms "closed Polyline"). The program use the ray-crossing method for checking where the point lies.

Some really nice links still survive at Reini Urban web site.





Recently in QS Informatica one of my colleagues introduced this programming language in order to supply a simple programming environment for our Mechanical software. You can find full information about this software at the Lua website. Lua is quite light and fast and might be the perfect choice for embedded systems.

I wrote some software for that company using LUA extensions. Here are some samples.



This library allows you to directly write a Microsoft Excel file. Reminds this API is for writing an old Excel version, but I think the current release still read this file format. Important thing is you don't need Excel for writing the file since we do not use OLE at all.

Here is a little guide (in Italian, sorry) end the binary (dll). The C++ source code is here. This project involves some code written by some colleagues, so I can't release it for free. Some requirements are missing but nothing important... try to guess.



This is a simple library for http support in LUA. It's just an example but it might be useful to have a look... Here is the source code and a little sample.



Another sample for the LUA community. This is a CHtmlCtrl (derived from CHtmlView) modified to be used in a simple way with LUA. Some features...

I know this is a bit weird, but I can assure you it's very convenient. Every time you have to show a dialog (form) to the customer without a client-server application you have to return the result to the application. This tool show an HTML form to the customer and return the form itself as a LUA table, where the form fields names are the keys and the form field values are the values.

It's also possible to replace some HTML from the LUA source code, It's a simple way to create web pages on a local machine dinamically. I used this tool in several apllications and I saved lots of time.

Here is a little introduction (italian), some samples, the binary code and the source code. Thanks to:



Recently I started playing with F# a new language from Microsoft Research. Here is an article: How to write an Inventor Add-In in F#. Also available as Chm.