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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Dialog problem changing / adding functions
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

peter.cook

UK
356 Posts

Posted - 03/01/2005 :  2:49:56 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

cpyang

USA
1406 Posts

Posted - 03/01/2005 :  2:58:53 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

peter.cook

UK
356 Posts

Posted - 03/03/2005 :  05:54:12 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks CP.

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

Cheers,

pete

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000