Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 04, 2011 04:29 AM by IanJ0208
May 02, 2011 07:00 PM|LINK
As usual it's the dumbest problems that leave me totally flumoxed. I'm trying to use the Koolwired IMAP library and I've fallen over at the first fence.
I get a "Type 'Imap' is not defined" compilation error when I run, and I can't see why.
Protected Sub Button1_Click(sender As Object, e As System.EventArgs) Handles Button1.ClickDim connection As ImapConnect = New ImapConnect("mail.xyz123.com")I've tried all sorts of combinations of things. Intellisense seems to like what I'm doing, it builds but all falls over when I run. Any free clues please? I realise I'm doing *something* stupid, but it's been a long day and I've been messing about in Delphi and seem to have lost the plot somewhere.TIAIan
May 02, 2011 07:15 PM|LINK
Ok, where are you actually defining IMap? We need to see more code to determine why you're getting that error :)
May 04, 2011 04:29 AM|LINK
Sorry, I wanted to cancel the post but couldn't until it was approved. I was using the DLL provided and it was an old one. Once I'd brought oin the source and rebuilt, it worked.