COM/ATL programming expert in VC6 to implement ActiveX control

Completed Posted May 27, 2013 Paid on delivery
Completed Paid on delivery

First download this ActiveX control:

[url removed, login to view]

Once you install the package, you will find MFC example source code in installation dir....

PROJECT REQUIRMENTS:

* should be done in VC6

* shouldn't require any dependancies such as .NET framework etc.

* support Win XP,vista,7,server 2003/2008.. x64bit and x32bit archs..

* allow only one instance of application to run using Mutex for ex.

* program should run invisibly in the background

* on start,it should:

- get the number of available COM ports(method available in AX control)

- get names of each port(method available in AX control)

- check if port is already monitored(method available in AX control)

- if not monitored start monitoring this and all other ports( that aren't already being monitored) simoultaniously

* things to watchout for:

- if program is not terminated properly, then it may freeze OS or just the program.. MFC example in installation directory has no problems with forcefull termination via TaskManager, while my project that I made has some problems(like I mentioned,freezing OS or crashing application) when trying to start monitoring again... So, it means my application was not done properly and shouldn't be used as reference..

- there should be one invisible Window that will catch WM_QUIT/WM_CLOSE etc. and other messages so monitoring(threads) can be safely stopped on system shut down or reboot.. Or if you have other ways to do it, that's fine too...

- there should also be a separate application which will be used as a safe close/uninstall solution.. Once this app is started, it should send QUIT message to main program via PIPEs.. And after program has quited, uninstall procedure should follow..

- Main application should be portable, which means DLL should be loaded dynamically from resource(if possible), as well as appropriate x64 or x32 driver file(detect if it's x64 or x32 bit OS).. All files should be deleted on program quiting .. Drop files into %APPDATA%/serial_monitor..

- application should only capture OnRead and OnWrite events

- all logs should be saved into [url removed, login to view], [url removed, login to view] and [url removed, login to view] which should be specified like this on start of file (#define OnReadFile "[url removed, login to view]")

- when writing into files, there might be large ammount of data coming in from multiple ports at same time, so watchout for access violations when writing into logfile, using critial sections or whatever..

- [url removed, login to view] has to be registered with regsvr32.. Check help file for instructions on portability...

* Add GRETA REGEX library as an option to log only data that matches certain regex. Like:

#define USEREGEX TRUE

#define regex "[0-9].*diagnostic"

if USEREGEX is FALSE, then application should log all data that passes thrugh..

- put timer of for ex. 10min where application will check if there are any new serial devices attached(COM port opened), and if they are already being monitored or not.. If not, start monitoring them too, by creating another thread or however the right way is..

* NOTE:

- my example project I added as attachment is just copy/paste attempt of programming by non-programer, so it shouldn't be used as a reference as there are many things done incorrectly, but you can view the source code to see what I was going for..

- make the project so it can be later included into other projects as a separate header.h file without too many modifications..

- serial port monitor will jump into established and not yet established serial connections without braking applicationserial_device connection, so it shouldn't stop in case device is not there, or in case device is removed.

- implement error checks.. For ex. check: if [url removed, login to view] has been imported correctly, if drivers are installed correctly,if program crashes on large amount of data passed to some variables you are using etc.

C Programming C++ Programming

Project ID: #4561795

About the project

4 proposals Remote project Active Jun 1, 2013

Awarded to:

gojkos

Hi, I have long experience programming on this platform, please see PM for details.

$170 USD in 15 days
(2 Reviews)
3.0

4 freelancers are bidding on average $233 for this job

Bramfeld

Can be done without problem, let it in our hands. We know this environment since many years and can do it exactly as requested (assuming you don't want to make an ActiveX control, but just to use the one from Eltima)

$250 USD in 15 days
(3 Reviews)
4.7
Fitzgeraldz

Freelancer Professional, I have 8 years experience in programming with c, c + +, C #, Java, J2SE, J2ME, J2EE, Java Script, Matlab, ASM, python, AutoLISP, aspx, php, html, dhtml, html5, css3, ajax , jquery, MVC, NET, WC More

$257 USD in 1 day
(4 Reviews)
2.4
Pheichham

interested

$255 USD in 30 days
(0 Reviews)
0.0