Interface Not Supported Delphi Error
Contents |
TfrmMain.buildPaymentPacket(Currency: String); var VagasFinancialRequest: IXMLVagasFinancialRequestType; begin FreeAndNil(VagasFinancialRequest); VagasFinancialRequest := GetVagasFinancialRequest(dmData.xdTPPVagas); VagasFinancialRequest.Currency delphi "interface not supported" eintfcasterror := Trim(Currency); end; The first time when I call the
Excel Interface Not Supported
procedure like this: buildPaymentPacket('710'); It works like a charm. The second time round, I get this error: --------------------------- De{*word*81} Exception Notification --------------------------- Project TPPServer.exe raised exception class EIntfCastError with message 'Interface not supported'. Process stopped. Use Step or Run to continue. --------------------------- OK Help --------------------------- What exactly this error means, I am not quite sure yet. Google could not shed any light on the subject. If anybody has any ideas, no matter how stupid you might think they sound, throw them this way. I may or may not have thought of it before. Thanks Louis Marcel Bestebroer Delphi Developer 2003-11-17 07:03:34 PM Re:Interface not supported Hello, Louis! You wrote on Mon, 17 Nov 2003 12:56:43 +0200: LY>procedure TfrmMain.buildPaymentPacket(Currency: String); LY>var LY>VagasFinancialRequest: IXMLVagasFinancialRequestType; LY>begin LY>FreeAndNil(VagasFinancialRequest); That is not needed (and maybe even wrong to do). IXMLVegaFinancialRequestType seems to be an interface, which will get released automatically (and is nilled automatically). If you do want to set it to nil, never use FreeAndNil on an interface type; just set the variable to nil using 'VegaFinancialRequest := nil'. LY>VagasFinancialRequest := GetVagasFinancialRequest(dmData.xdTPPVagas); LY>VagasFinancialRequest.Currency := Trim(Currency); LY>end; LY>Project TPPServer.exe raised exception class EIntfCastError with LY>message 'Interface not supported'. Process stopped. Use Step or Run to LY>continue. This might be caused by the FreeAndNil call. To mail me, remove the obvious from my mail address Foobar2000 now playing: "Aquarium" by Nits. Scott Huerta Delphi Developer 2004-05-2
Add new topic Add-in Express for VCL Topics 1 - 25 of 1924 First|Prev.|1 234567891011|Next|Last Subject Replies Views Last Post Info Other problem in Outlook 2010 Author: Giancarlo 1 14 17 Oct, 2016 09:06:04 Author: Andrei Smolin Inspector.CurrentItem is on Compose? Author: Giancarlo 1 27 06 Oct, 2016 10:33:50 Author: Andrei Smolin Outlook.COMAddIns.Item(i).Connect -> crash Author: Giancarlo 3 31 04 Oct, 2016 06:32:27 Author: Andrei Smolin Mail.Delete (Pages: 1 2 3 ) Author: Giancarlo 20 264 26 Sep, 2016 09:54:48 Author: Andrei Smolin Outlook2000 -> Outlook2010 problems Author: Giancarlo http://www.delphigroups.info/2/4/329055.html 1 60 23 Sep, 2016 05:44:30 Author: Andrei Smolin Outlook, adding text to a mail at cursor position (Pages: 1 2 ) Author: Bus 11 340 22 Sep, 2016 08:07:05 Author: Andrei Smolin Thread it's possible? Author: Giancarlo 1 54 21 Sep, 2016 01:01:46 Author: Andrei Smolin how send header from user A to user B Author: Giancarlo 8 131 16 Sep, 2016 https://www.add-in-express.com/forum/read.php?FID=1&TID=10706 09:34:05 Author: Andrei Smolin TItems bug? Author: Giancarlo 1 76 14 Sep, 2016 09:03:34 Author: Andrei Smolin OnBeforeAttachmentSave Author: Giancarlo 5 105 14 Sep, 2016 08:25:56 Author: Andrei Smolin enable disable plugin programmatically Author: Giancarlo 2 88 09 Sep, 2016 08:57:47 Author: Andrei Smolin Mark some mail as special only for plugin Author: Giancarlo 4 94 09 Sep, 2016 07:53:34 Author: Andrei Smolin Excel - Using AddIn Express with REST components... OS Loader Lock issue Author: George Spears 3 152 07 Sep, 2016 06:57:05 Author: Andrei Smolin OnItemSave Event Author: Giancarlo 1 103 06 Sep, 2016 06:45:02 Author: Andrei Smolin authorization problem into outlook Author: Giancarlo 7 140 05 Sep, 2016 10:28:40 Author: Andrei Smolin Accessing Current Appointment in Outlook Reading attributes of current selected appointment within Outlook Author: George Spears 3 117 05 Sep, 2016 10:26:32 Author: Andrei Smolin How Addi attachments to an Outlook item? Author: Giancarlo 6 147 02 Sep, 2016 08:18:48 Author: Andrei Smolin CreateItemFromTemplate in VLC Author: Giancarlo 4 139 01 Sep, 2016 08:20:45 Author: Andrei Smolin How create a setup for vcl? Author: Giancarlo 1 140 29 Aug, 2016 04:38:08 Author:
get past "Interface not supported" when I export to Excel? How can I get past "Interface not supported" when I export to Excel? TNT.tips from Bob! TNT.tips Blog SmartPath Video Series https://www.tntware.com/tntconnect/faqs/en/how-can-i-get-past-quot-interface-not-supported-quot-when-i-export-to-excel.aspx Tags Analysis Developer Guides donation DonorHub Dropbox eTapestry Forums Help Getting Started Gift Input from Web Google How TntConnect Works Import Contacts Linux Mac Issues Macintosh Mail Merge MailChimp Managing Database http://answers.microsoft.com/en-us/msoffice/forum/msoffice_word-mso_other/getting-interface-not-supported/79440b82-ffe5-4234-bb06-3003d43b1ca7 Files Outlook Sync Sign In Issues Survey Results TntMPD 3.0 Training and Help Translation Troubleshooting View more Table of Contents What are the 2005 survey results?What were the most frequently asked questions interface not in the 2005 survey?What kind of training is being offered for TntMPD?How can I run TntMPD on my Mac?How do I install and start using TntMPD? What are the advanced Outlook settings?What are all the Contact import fields?How do I import contacts from my previous database? How do download names and addresses from my ministry? What and where is my database?Why is my main interface not supported screen in TntMPD mostly grayed out?How do I shrink the size of my database?Why and how should I backup my database?How do I transfer my database to another computer?How do I manually keep two copies of my database in sync?How do I keep two copies of my database in sync using TntSync?How should I understand "TNT Phase"? How does TntConnect determines monthly average? Why is a certain donation not downloading into TntConnect?How do I link a donation account which was accidentally linked to the wrong contact? How do I get past the many Outlook security prompts? What is the procedure for obtaining and importing archived CCCI donation data into TntMPD? How do I download from multiple accounts into one TntMPD database? Once I'm in Microsoft Word, how do I mail merge envelopes or labels?How do I create an installation CD for TntConnect to share with others? How can I reduce the size of a digital pictures using Office 2000? How can my organization become "TNT-compatible"?How can I custom implement the web-based TntConnect DataSync protocol?How would I send our staff a monthly TntConnect DataSync file?How can I develop add-ons fo
be down. Please try the request again. Your cache administrator is webmaster. Generated Tue, 18 Oct 2016 21:38:45 GMT by s_nt6 (squid/3.5.20)