Error Calling External Functions Powerbuilder
links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center. Forums Archive > PowerBuilder > Objects > "Error calling external function %s" Error calling external function %s 4 posts in Objects . Last posting was on 2009-11-10 01:13:06.0Z Larry Posted on 2009-11-09 15:58:34.0Z Sender: 58a4.4af839bb.1804289383@sybase.comFrom: LarryNewsgroups: sybase.public.powerbuilder.objectsSubject: Error calling external function %sX-Mailer: WebNews to Mail Gateway v1.1tMessage-ID: <4af83c2a.5917.1681692777@sybase.com>NNTP-Posting-Host: 10.22.241.41X-Original-NNTP-Posting-Host: 10.22.241.41Date: 9 Nov 2009 07:58:34 -0800X-Trace: forums-1-dub 1257782314 10.22.241.41 (9 Nov 2009 07:58:34 -0800)X-Original-Trace: 9 Nov 2009 07:58:34 -0800, 10.22.241.41Lines: 36Path: forums-1-dub!not-for-mailXref: forums-1-dub sybase.public.powerbuilder.objects:9947 Article PK: 737076 We have an application that is loaded on terminal server that is starting to give us some problems. We call a third party dll written in C that is giving us a sparadic error. The users can access this dll 99/100 times, but the 100 try it will fail with the 15 - Error calling external function. The problem is the fact that we cannot recreate the issue, even if the problem occurs for a user and we log on and try to get it to fail. No matter what we have tried both the ansi and unicode calls are being used as we noticed that may be the problem from reading the boards. The functions are declared as.... FUNCTION int gef_apivcf(int commodity, ref double obstemp, ref double obsgrav, ref double alttemp, ref double vcf, ref double apigrav) LIBRARY "APIVCF.DLL" alias for "_gef_apivcf@24;Ansi" FUNCTION int gef_apivcf_retry(int commodity, ref double obstemp, ref double obsgrav, ref double alttemp, ref double vcf, ref double apigrav) LIBRARY "APIVCF.DLL" alias for "_gef_apivcf@24;" The first one is the Ansi version, the second is called if the first fails with the unicode version. We just tried this fix and it still didnt work. We have been pullling our hair out with this issue as we cannot make it fail. As stated before it works 99% of the time, but then that 1% is causing a huge problem. If the user logs off the terminal server and back on then it seems to work. Any suggestions would be great! Scott Morris Posted on 2009-11-09 18:53:43.0Z From: "Scott Morris"
and SafetyAsset NetworkAsset Operations and MaintenanceCommerceOverviewSubscription Billing and Revenue ManagementMaster Data Management for CommerceOmnichannel CommerceFinanceOverviewAccounting and Financial CloseCollaborative Finance OperationsEnterprise Risk and ComplianceFinancial Planning and AnalysisTreasury and Financial Risk ManagementHuman ResourcesOverviewCore Human Resources and PayrollHuman http://nntp-archive.sybase.com/nntp-archive/action/article/%3C8bfhf558gard62hbgmg4eeolud58der6f0@4ax.com%3E Capital AnalyticsTalent ManagementTime and Attendance ManagementManufacturingOverviewManufacturing NetworkManufacturing OperationsResponsive ManufacturingMarketingOverviewMarket with Speed and AgilityUnique Customer ExperiencesReal-Time Customer InsightsR&D/EngineeringOverviewDesign NetworkDesign OrchestrationProject and Portfolio ManagementSalesOverviewCollaborative Quote to CashSales Force AutomationSales Performance ManagementSelling Through Contact CentersServiceOverviewEfficient Field https://scn.sap.com/thread/3473224 Service ManagementOmnichannel Customer ServiceTransparent Service Process and OperationsSourcing and ProcurementOverviewContingent Workforce ManagementDirect ProcurementSelf-Service ProcurementServices ProcurementStrategic Sourcing and Supplier ManagementSupply ChainOverviewDemand ManagementDemand NetworkLogistics NetworkManufacturing Planning and SchedulingResponse NetworkResponse and Supply ManagementSales, Inventory, and Operations PlanningTransportation ManagementWarehouse ManagementSustainabilityOverviewEnvironment, Health, and SafetyProduct Safety and Stewardship NetworkBrowse by IndustryAerospace and DefenseAutomotiveBankingChemicalsConsumer ProductsDefense and SecurityEngineering, Construction, and OperationsHealthcareHigh TechHigher Education and ResearchIndustrial Machinery and ComponentsInsuranceLife SciencesMediaMill ProductsMiningOil and GasProfessional ServicesPublic SectorRetailSports and EntertainmentTelecommunicationsTravel and TransportationUtilitiesWholesale DistributionBrowse Platform and TechnologyAnalyticsOverviewBusiness IntelligencePredictive AnalyticsGovernance, Risk, and ComplianceEnterprise Performance ManagementApplication Platform and InfrastructureOverviewApplication PlatformContent and CollaborationInterface ManagementProcess Management and IntegrationData ManagementOverviewBig Data on HadoopData WarehousingDatabase M
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to https://www.experts-exchange.com/questions/20814896/Error-calling-MSWord-function-from-a-Powerbuilder-application.html Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs http://answers.microsoft.com/en-us/windows/forum/windows_vista-performance/error-35-error-calling-external-object-function/14149fa5-e608-429e-aaf3-37d5938966af Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > Error calling MSWord function from a Powerbuilder application Want to Advertise Here? Solved Error calling MSWord function from a Powerbuilder application Posted on 2003-12-03 Editors IDEs 1 Verified Solution 3 Comments 637 Views Last Modified: 2013-12-26 We are calling a function Opendatasource() error calling which belongs to MSWord from a PB app, by initiating a OLE object of MSWord. It was working fine with Word97 and Word2000 ver. Now with Word2002, it is not working. I have tried many things suggested by Microsoft website,other PB developers, search results from Internet and Knet tech.experts,over a period of 2 weeks but of no use. If someone can help me resolve this, I greatly appreciate that. Since error calling external one requires more detail before attempting a solution, Thanks and regards 0 Question by:Meena_kumari Facebook Twitter LinkedIn Google LVL 2 Best Solution bymdhampton I noticed that the OpenDataSource documentation you show has 16 parameters, but your call has only 14. Are you missing SQLStatement1 and OpenExclusive? Have you tried working with the code in a VB Go to Solution 3 Comments LVL 33 Overall: Level 33 Editors IDEs 6 Message Expert Comment by:sajuks2003-12-03 can u post a part of ur code so that it could be more understandable ? 0 Message Author Comment by:Meena_kumari2003-12-03 Process flow : A Word document is stored in a Oracle database as blob. It is retrieved during run time into a Blob variable and then assigned to a OLE control (OLE_1.Objectdata = Blob variable). Then we declare a local variable of type "oleobject" and is initiated by OLE_1.object ( ole_object_variable = ole_1.object) Now onwards we use the local "oleobject" variable to execute MSword methods(functions) like ole_object_variable.mailmerge.opendatasource(...). MS Excel spread sheet is used as data source. We are NOT using "create" and "ConnectToObject" functions. This setup was working fine with older versions of MSWord & MS Excel. Opendatasource function description ... Ole_object.MailMerge.OpenDataSource(Name As String, [Format], [ConfirmConversions], [ReadOnly], [LinkToSource], [AddTo
be down. Please try the request again. Your cache administrator is webmaster. Generated Sun, 09 Oct 2016 02:46:46 GMT by s_ac5 (squid/3.5.20)