WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-25-2014, 08:16 AM
Frank Verberne Frank Verberne is offline
Member
 
Join Date: Mar 2008
Location: Netherlands
Posts: 148
Two options to work around this issue:
1. Load everything you need in the beginning. When publishing the exe, you can just quit the process and everything is there.
2. Put everything you don't want to load at the beginning, but need later in your code in one folder (e.g. data) and include viz.res.addPublishDirectory('./data') at the beginning of your code.

I had to get used to the publishing system as well, but it's workable when you get the hang of it. Although I agree with you that there should be a more elegant solution for making sure everything you need is included in the executable.
Reply With Quote
  #2  
Old 11-25-2014, 10:12 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
The Publishing as an EXE tutorial covers the different ways you can add dependencies and accessing data files that are both internal/external to the EXE.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Suggestion: Code Browser kopper Vizard 5 05-23-2011 03:39 AM
building a maze GoldenSun Vizard 3 06-04-2008 10:27 AM


All times are GMT -7. The time now is 07:42 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC