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.Click Dim 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.
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.
Cheers
Ian
Marked as answer by IanJ0208 on May 04, 2011 04:29 AM
IanJ0208
Member
104 Points
51 Posts
Not defined
May 02, 2011 07:00 PM|LINK
Hi all
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.
bbcompent1
All-Star
33063 Points
8516 Posts
Moderator
Re: Not defined
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 :)
IanJ0208
Member
104 Points
51 Posts
Re: Not defined
May 04, 2011 04:29 AM|LINK
Hi
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.
Cheers
Ian