Back

Tip 6. Why are Datastores not working in my Executable?

If you use datastores and they cause errors in the exe or do not give any results then the chances are that the compiler has discarded the datawindows you use. Because the references are dynamic for a datastore the compiler will discard the objects thinking that they are unused.
To get around this either include your datawindow objects in a PBD library or include the names of the objects in your resource file.

A typical resource file entry would look like this.

libarary.pbl(d_datadwindow)

Added before 01 Jan 2000

Back