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
 Origin Forum
 Error: Calling members of unattached wrapper class
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

slurpy

Singapore
3 Posts

Posted - 03/03/2009 :  08:37:44 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 7.5SR7 --> 8 SR4
Operating System: XP SP3

Hi all,

I have a project .obj with the following code that I think is having issues because of the change in Syntax for Accessing NAG Library Functions (from Origin 7.5 to 8)

Since then, I had added/changed the appropriate include files:
#include "System\NAG8\nag.h"
#include "System\NAG8\nagg02.h"

and added the new NAG wrapper files (g02cac) into the linear regression code.

When I compile there are no issues. However, when I try to run the interface on OriginPro8 (in the project file .obj), this error occurs:

C:\Program Files\OriginLab\Origin8\OriginC\calview_working ANALYSE.c(596) :Origin C Function Runtime Error, Calling members of unattached wrapper class

Can someone help? Thank you very much :)

easwar

USA
1964 Posts

Posted - 03/03/2009 :  1:48:53 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Please send your Origin C file (and any associated files such as any custom header files that you may be using) to tech support so we can look at the issue. Please mention this forum post in your message to tech support.

Easwar
OriginLab
Go to Top of Page

eparent

118 Posts

Posted - 03/03/2009 :  2:16:59 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

You can find an example, nag_linear_regression_ex1, calling g02cac here:
http://ocwiki.originlab.com/index.php?title=OriginC:Regression_Analysis

This example compiles and executes fine in Origin 8. Please try this example.

Thanks.
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