65.9K
CodeProject is changing. Read more.
Home

PT2000 Communication Utility

starIcon
emptyStarIcon
starIcon
emptyStarIconemptyStarIconemptyStarIcon

1.73/5 (4 votes)

Jan 28, 2006

2 min read

viewsIcon

35800

downloadIcon

487

Programing interface for the PT2000 Top Gun

Sample Image - PT2000ComUtil.png

Introduction

This is my first article so bare with me ;)
I was writing a program for a handheld device called the PT2000 TopGun
and was not liking the suport givin to me by the programs that are already
writen to comunicate with it. I contacted PSC (The company who builds the device) and they refered me to a program called XFer32. I started looking
at XFer and saw the dll file just siting there staring at me begging to be
used :)- ... so i contacted PSC again and was told that i could use it and
that it is basicly shareware, so i figured if its shareware why not share it
righ ? I wrote this wraper for it and it is working pretty good for me so far
(though i imagin it could use some improvment). There are a couple of issues that should be addressed before you use this though.

1.) The dll needs to be registered with the system on any comp you put it on
    so copy the PDTFiles directory into your C directory and in your
    form_load put this line of code:
    Process.Start("RegSvr32", "C:\PDTFiles\winxfer.dll /s")

2.) The most important...DO NOT try to put this code into a project and
    then take out the GNU...keep it open, if you needed it then somebody
    else probably does too, So dont steall from them.

3.) If you find anything better or find a bug let me know.

4.) Don't hold hold CodeProject or I responsible for any damages etc that may
    occure from using this code...its not there fault and I wouldnt do it
    on purpose.

5.) The example uses some Janus controls so if you dont have them you wont
    be able to build this. However, i already compiled it so you can run from
    the bin and you can view the code in your editor...it's fairly simple so
    if you want to re-write it using the regular windows form you could easily
    do so..

6.) Have fun...thats what its all about ;)-