顯示具有 Genero Studio 標籤的文章。 顯示所有文章
顯示具有 Genero Studio 標籤的文章。 顯示所有文章

2011年2月21日 星期一

Genero Report 編譯問題 - Can't find the Reporting API Functions

        由於架構上需要改用新版的Genero Report來製作,所以參考了內建的範例檔,當新增一個應用程式進行撰寫時,竟然發生下列的編譯問題,但是下列的Reporting API Functions都是內建的,所以應該是有些Library沒有匯入所造成,透過下列的方式,便可以解決。

ERROR(-1338):The function 'fgl_report_loadcurrentsettings' has not been defined in any module in the program.
ERROR(-1338):The function 'fgl_report_selectdevice' has not been defined in any module in the program.
ERROR(-1338):The function 'fgl_report_selectpreview' has not been defined in any module in the program.
ERROR(-1338):The function 'fgl_report_commitcurrentsettings' has not been defined in any module in the program.

解決方式:點選需要編譯的應用程式後,在右下角的Properties ->External Dependencies加上libgre.42x即可。


2011年2月18日 星期五

Genero Report - Report Writer token creation failed

            當執行 Genero Studio 內建的範例報表時,遇到下列的問題時,可以透過此文章所提供的方式進行處理。

ERROR(-6786):Report Writer token creation failed.
ERROR communicating with GRE: Response from channel is NULL. Please check your Java installation.


處理方式如下:
1、先確定你有安裝Java。
2、確認你有開啟GDC (Genero Desktop Client)。
3、進入 [控制台 ] -> [使用者帳戶和家庭安全] -> [使用者帳號] -> [變更使用者帳戶控制設定] -> 將警示更改成 [不要通知] 後再重開機即可。

2011年2月17日 星期四

Genero Studio Form 編譯錯誤 - Memory Fault

         在本機端進行畫面的編輯時,都可以正確執行,但是檔案更新至主機時,卻發生Memory Fault的錯誤,就連Genero Studio提供的範例檔也出錯,後來經同事指點後,發現原本是本機的Genero Studio的編譯器與主機上的編輯器不同所造成,後來再將舊版的Genero Studio裝上後,畫面重新編輯即可解決,最後注意本機環境的編譯器不可比主機上的版本還新。

主機上編譯譯版本查詢(下面三個指令皆可):
fglcomp -V
fglrun -V
fgllink -V

而Genero Studio的版本主要點選Help -> Abort即可得知。