abhay1207
5th February 2007, 16:05
Hi,
I have Installed Baan Vc, in Unix HP UX 11.23, IA 64 environment, My D/b is Oracle 9i. When I created Program Script, During Compilation it is giving Some Error messages:

1. Error: Unresolved reference to function '__initialize_object'
2. Error: Unresolved reference to function 'message'
3. Error: Unresolved reference to function 'import'

The Script is following:
|******************************************************************************
|* tcind1101u000 0 VRC B50U c ind5
|* Excise Category
|* bsp
|* 06-08-05 [16:18]
|******************************************************************************
|* Script Type: 123
|******************************************************************************

declaration:
string parent.session(13)
string http.query(300)
string company_code(3)
string ip_add(20)
long ret
long file_ptr
| boolean ok

#pragma used dll "ottdllbw"


before.program:

file_ptr = seq.open(bse.dir$() & "\bin\ip_add.txt","r")
if file_ptr < 1 then
message("Missing IP Property File")
exit()
endif

ret = seq.gets(ip_add, 20, file_ptr, GETS_NORMAL)
if ret = -1 then
message("Invalid IP Property File")
endif

company_code = str$(get.compnr())
if len(company_code) = 1 then
company_code = "00" & company_code
endif
if len(company_code) = 2 then
company_code = "0" & company_code
endif

import("prog.name$", parent.session)

http.query = "http://" & ip_add & "/baan/BaanHandler.do?moduleName=ExciseCategory&companyId=" & company_code & "&colorFlag=blue"

ret = app_start("iexplore.exe " & http.query, "", "", "", "")

| ok = start.application.local("iexplore.exe " & http.query, false, ret)
if ret < 0 then
| if (ok = false) then
message("system not able to invoke IE")

endif
exit()


Can anyone help me out?

george7a
5th February 2007, 16:15
Hi,

Check this link:
http://www.baanboard.com/baanboard/showthread.php?t=26594&highlight=Unresolved

I hope it helps,

- George

abhay1207
7th February 2007, 12:39
Hi George,
Thanks for your reply,

How can I find out the include Files required, My Porting set is 7.1d.14, P/s is HP UX 11.23

Abhay