The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Dialog problem changing / adding functions

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
peter.cook Posted - 03/01/2005 : 2:49:56 PM
Origin Version (Select Help-->About Origin): 7.5 SR%
Operating System: Win2000

Hi,

I have been successful upto a point creating a dialog with Origin C (still prefer LabTalk which seemed to much easier and reliable - maybe this reflects my esxpertise though) added a few buttons and created the fuinctions for these buttons successfully.
All my files are attached to an origin project and all functions are contained in the NAME.h file attached.
Sometimes though changes made to this file in the code builder are not successful and somehow the old (unchanged) code appears to be used.
I have even gone to the lengths of deleting all copies of the NAME.h file from my PC and removed it from the project, saved and rebooted. So, there is no code to provide functions for the controls/buttons but it still works (using the original unaltered code).
Can someone please explain what is going on here?

Many thanks,

Cheers,

pete

2   L A T E S T    R E P L I E S    (Newest First)
peter.cook Posted - 03/03/2005 : 05:54:12 AM
Thanks CP.

This 'solved' the problem and I take on board your 'tip'.

Cheers,

pete

cpyang Posted - 03/01/2005 : 2:58:53 PM
search for name.ocb, if OCB files in your ocTemp folder is found, it will be used.


There are certainly complications with attaching files to OPJ, so you should get the OC codes all working first before moving them inside an OPJ. Having files inside OPJ is harder to debug.


CP




Edited by - cpyang on 03/01/2005 3:03:15 PM

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000