Like Tree10Likes

function calling between sources

This is a discussion on function calling between sources within the C++ Programming forums, part of the General Programming Boards category; rewrite from the start, using my new "functions.h" file....everything works great, "extern" was the "key" i was looking for! GREAT ...

  1. #31
    Registered User
    Join Date
    Dec 2012
    Posts
    289
    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"

  2. #32
    Registered User
    Join Date
    Dec 2012
    Posts
    289
    images of the selector, and panel

    very basic looking

    combo box for address picking, pushbuttons for all 320 relays, 2 labels, one "red light" and one "green light" for relay on and relay off.


    Name:  Open Device.jpg
Views: 51
Size:  10.0 KBName:  RelayControlPanel.jpg
Views: 43
Size:  154.7 KB
    tost likes this.

  3. #33
    Registered User
    Join Date
    Dec 2012
    Posts
    289
    yups, made a boo boo....desktop is high res, laptop with touchscreen is only 800x600!!! got some resizing to do! lol

Page 3 of 3 FirstFirst 123
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 10-23-2012, 02:37 PM
  2. Replies: 3
    Last Post: 09-26-2011, 04:44 AM
  3. Replies: 15
    Last Post: 06-09-2009, 02:19 AM
  4. Calling Cdocument function in Cview function
    By RancidWannaRiot in forum Windows Programming
    Replies: 5
    Last Post: 09-22-2005, 12:09 PM
  5. Question on function syntax and calling function
    By cbrman in forum C Programming
    Replies: 10
    Last Post: 10-05-2003, 05:32 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21