rewrite from the start, using my new "functions.h" file....everything works great, "extern" was the "key" i was looking for! GREAT explination also Elysia!
All DLL loaded functions work perfect from any form now!
all 321 buttons, and 642 labels work perfect (visible true/false labels)
OpenDevice works perfect in the Select Device dialog now that i dont have to return selection to main, then if error, re exec the dialog.
Also a note on classes, i can see why they seem "complicated to learn", and also why they would be "better" to use. The set up like a struct, and "section" everything into easy bits to pass, use, etc!
Thank you all.
next step, develope a "server" and "client" version so i can run hardware on one machine (or just off my router/switch) and control from the Client! but i am a LONG way from that. Need to learn alot more about classes, then of course the c++ network programming "stuff"
this "project" started with
parallel port, using the 8 data outputs and 2 control outputs
dos direct control
batch file
c console
c++ console
parallel port using 8data 2 control to "steer" data through flip flops and 3x8 decoders
c console
c++ console
usb interface (vellman 8055 kit) 8 data 2 control though flip flops and decoders
c++ console
Windows forms ( worked, but sucked!)
and finally thanks to your help here, using QT for GUI controls!!!
last 2 years been "interesting"