Error Calling External Function S At Line
Contents |
från GoogleLogga inDolda fältSök efter grupper eller meddelanden
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 > General Discussion > "Error calling external function %s at line..." Error calling external function %s at line... 5 posts in General Discussion . Last posting was on 2008-01-30 16:18:03.0Z adam Posted on 2008-01-28 15:25:52.0Z Sender: e18.479df19e.1804289383@sybase.comFrom: AdamNewsgroups: sybase.public.powerbuilder.generalSubject: Error calling external function %s at line...X-Mailer: WebNews to Mail Gateway v1.1tMessage-ID: <479df400.e7c.1681692777@sybase.com>NNTP-Posting-Host: 10.22.241.41X-Original-NNTP-Posting-Host: 10.22.241.41Date: 28 Jan 2008 07:25:52 -0800X-Trace: forums-1-dub 1201533952 10.22.241.41 (28 Jan 2008 07:25:52 -0800)X-Original-Trace: 28 Jan 2008 07:25:52 https://groups.google.com/d/topic/sybase.public.powerbuilder.general/uDwbC2yS5d4 -0800, 10.22.241.41Lines: 65Path: forums-1-dub!not-for-mailXref: forums-1-dub sybase.public.powerbuilder.general:211587 Article PK: 662252 Hello, I work with PowerBuilder 10.2.1.9948. Because UI in PB isn't the nicest possible, I try to use coolmenu and API tooltips to make it a little better. Lately I've noticed such a problem with "SendMessageA" function. I use it for some actions. In every action the last parameter is of another type. That's why I have many aliases for that function. For example: http://nntp-archive.sybase.com/nntp-archive/action/article/%3C47a0a33b$1@forums-1-dub%3E Function uLong AddToolbarStringA( uLong hwnd, uInt msg, uLong wparam, Ref char lparam[] ) library "user32.dll" Alias For SendMessageA;Ansi" or: Function integer ToolTipMsg(long hWnd, long uMsg, long wParam, REF TOOLINFO ToolInfo) library "user32.dll" Alias For SendMessageA;Ansi" and many other aliases that have no "string" parameters. Some of you may know the lines - that's the standard use of coolmenu and tooltips. When the action affects sending a string as a parameter (for example setting a tooltip text for a control or adding toolbar button with text), I become an error "Error calling external function %s at line...". Function name exactly as I write - "%s". And in every case the message is the same (the line number differs of course). Firstly, it didn't bother me much, because the problem existed only on Vista and PB doesn't support Vista. I thought maybe it's because of that fact. But yesterday I've seen such an error under Windows XP too. It's hard to repeat it, but it happens from time to time. Other aliases work fine, only these with strings make problems. Under Vista there is a place in my code, where i become an error in 98% cases by calling AddToolbarStringA. But not in 100% cases and not in 0% cases. Mostly I become an error. But s
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 error calling Risk ManagementHuman ResourcesOverviewCore Human Resources and PayrollHuman 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 error calling external Quote to CashSales Force AutomationSales Performance ManagementSelling Through Contact CentersServiceOverviewEfficient Field 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 TechnologyAnalyticsOverviewBusin