- Kelly DevOps
- PowerBuilder
- Monday, 4 February 2019 09:46 PM UTC
I need assistance with referencing a DLL in my build using Orcascript (Orcascr170) or PBC170. I have an application that when built via the IDE references two DLLs as Dynamic Linked Libraries and the deployed exe file succesfully calls these DLLS for the necessary functions. However when built via Orca or PBC170 these DLLs aren't called and I'm suspecting that maybe I'm not properly referencing these DLL when building via Orca? Below is the OrcaScript I'm using the build my application:
scc connect offline
CMD "mkdir D:\Work\PBApps\AutoEDI\bin\autoedi"
set application "D:\Work\PBApps\AutoEDI\autoedi_net.pbl" "autoedi_net"
build application full
build library "D:\Work\PBApps\AutoEDI\autoedi_net.pbl" "" pbd
;build library "D:\Work\PBApps\AutoEDI\autoedi_net.pbl" "D:\Work\PBApps\AutoEDI\kernel32.dll" 32
;build library "D:\Work\PBApps\AutoEDI\autoedi_net.pbl" "D:\Work\PBApps\AutoEDI\KTBS.Cryptography.dll" 32
build executable "D:\Work\PBApps\AutoEDI\autoedi_net.exe" "D:\Work\PBApps\AutoEDI\autoedi_net.pbt_build\Deploy\autoedi_net.ico" "" "y"
file copy "D:\Work\PBApps\AutoEDI\autoedi_net.pbd" "D:\Work\PBApps\AutoEDI\bin\autoedi\autoedi_net.pbd"
file copy "D:\Work\PBApps\AutoEDI\autoedi_net.exe" "D:\Work\PBApps\AutoEDI\bin\autoedi\autoedi_net.exe"scc close
end session
The two DLL files in question are in my root directory but I don't think they're being referenced. Is there a specific way to include these?
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.