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
 APP needs compile and then can be used
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

flycs99

China
8 Posts

Posted - 03/13/2019 :  10:35:44 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I try to build my APP. When I ran the APP, the C function theDialog() in the launch.ogs cannot be identified. I need to compile the files and then the function can be identified. What should I do to avoid the compile process? I just want the app would run correctly when I click the app. If the users do not know how to compile, this would be a trouble.

YimingChen

1609 Posts

Posted - 03/13/2019 :  2:54:32 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

You need add one line in launch.ogs before theDialog() to do the compiling:
run.loadOC("%@AAppFolder\AppCode.cpp", 16)

where AppFolder is the folder with your app files and AppCode the file with theDialog() function.

Thanks,
James
Go to Top of Page

flycs99

China
8 Posts

Posted - 03/14/2019 :  08:39:23 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by YimingChen

Hi,

You need add one line in launch.ogs before theDialog() to do the compiling:
run.loadOC("%@AAppFolder\AppCode.cpp", 16)

where AppFolder is the folder with your app files and AppCode the file with theDialog() function.

Thanks,
James


Thank you very much. It is helpful. This show me a new way.
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