Search found 210 matches

by DevilDog
Fri Jun 28, 2024 2:56 pm
Forum: Coding Questions
Topic: Searching contents of large number of PDF files
Replies: 6
Views: 1411

Re: Searching contents of large number of PDF files

Thanks everyone for the replies!

Sorry I wasn't clear in my description. The searching of the indexed files with Lucene is what takes a second or two (actually less). The indexing of the files (50k) does take quite some time, but it's a one time thing.

I am using the .Net port of Lucene in my C ...
by DevilDog
Thu Jun 27, 2024 9:25 pm
Forum: Coding Questions
Topic: Searching contents of large number of PDF files
Replies: 6
Views: 1411

Searching contents of large number of PDF files

Hi,
I have a C# .Net application that uses the Lucene library to index and search a large number of PDF files (over 50k) in a second or two. I am interested in converting it to PB or writing something in PB that uses another 3rd party library to do the same.

Is anyone aware of a library that can do ...
by DevilDog
Sat Mar 30, 2013 1:17 am
Forum: Announcement
Topic: xMask - A Masked Edit Gadget
Replies: 48
Views: 32802

Re: xMask - A Masked Edit Gadget

Has anyone tried this code with version 5.10 x64?

I get a compile error in line 43:

"Procedure InsertCharacter(*HoldText.i, Index.i, Character.c)"

the error is "Native types can't be used with pointers"

Any ideas?
by DevilDog
Wed Mar 27, 2013 10:40 pm
Forum: Windows
Topic: 32 bit SSL SMTP
Replies: 80
Views: 51030

Re: 32 bit SSL SMTP

That's weird, I opened the compiler options, and the "Use Compiler:" checkbox is checked and to the right of that it shows my compiler version (5.10 x64) which I would take to mean that will use that compiler, yet when I unchecked that checkbox, it compiles!

Isn't that backwards? Is this an IDE ...
by DevilDog
Wed Mar 27, 2013 10:24 pm
Forum: Windows
Topic: 32 bit SSL SMTP
Replies: 80
Views: 51030

Re: 32 bit SSL SMTP

Hi RichAlgeni
I'm trying to use your email_ssl64 program to send email using Gmail.

My version of PB is 5.10 x64 and when I try to run it I get:

"The required compiler cannot be found: Purebasic 4.61 (Windows - x64)"

Any idea why it would do this?
by DevilDog
Wed Mar 27, 2013 10:20 pm
Forum: Coding Questions
Topic: A question about PureBasic Email functions
Replies: 10
Views: 2802

Re: A question about PureBasic Email functions

Thanks Zebuddi!

That certainly looks promising. I'll have to contact the author because when I try to compile it (using 5.10) it complains "The required compiler cannot be found: Purebasic 4.61 (Windows - x64)"

I would imagine it would either compile under 5.10 or not but I've never seen a PB ...
by DevilDog
Wed Mar 27, 2013 9:37 pm
Forum: Coding Questions
Topic: A question about PureBasic Email functions
Replies: 10
Views: 2802

Re: A question about PureBasic Email functions

Correct, there is authentication but from what I understand Gmail requires TSL support and neither PB's built in SendMail nor Gnozal's PureSMTP supports that.

I've tried using both to send an email using Gmail (with authorization using my account) and neither work.

Can someone verify/correct that?
by DevilDog
Wed Mar 27, 2013 8:30 pm
Forum: Coding Questions
Topic: A question about PureBasic Email functions
Replies: 10
Views: 2802

Re: A question about PureBasic Email functions

I cannot believe that PureBasic cannot handle sending an email using TLS which is what Gmail requires.

If it can be done in C can't it be done in PB?

Gnozal, if you read this can you pipe in here and tell us why it cannot be done?

Can anyone convert that C code above to PB?
by DevilDog
Thu Mar 14, 2013 8:54 pm
Forum: Announcement
Topic: VB2PB - Visual Basic to PureBasic converter...
Replies: 21
Views: 17420

Re: VB2PB - Visual Basic to PureBasic converter...

Sorry guys I've been away for a while (no, not jail :-D ) and the site where I was sharing the code is no longer available so I thought I'd post this new download link:

http://www.mooresdevildogs.com/VB2PB.zip

Hopefully someone can still use it.
by DevilDog
Wed Dec 02, 2009 10:35 pm
Forum: Coding Questions
Topic: Executable size
Replies: 6
Views: 1462

Re: Executable size

OK here's what I found.

Most of the change in size was due to:


Feature creep (compared source files with WinMerge)
The original Exe was older than I thought
Changes in the 2DDrawing lib (28 kb)

When I compiled the old source code with 4.30 I got an Exe file size of 185 kb.

When I ...
by DevilDog
Wed Dec 02, 2009 10:08 pm
Forum: Coding Questions
Topic: Executable size
Replies: 6
Views: 1462

Re: Executable size

ok, I found a backup dating back to when it compiled into a 146 kb Exe.

I'm going to do a file compare to see what the difference is as well as compile that program using 4.40 and see what size I get.
by DevilDog
Wed Dec 02, 2009 10:00 pm
Forum: Coding Questions
Topic: Executable size
Replies: 6
Views: 1462

Re: Executable size

fsw, I'm using 32 bit 4.40.

I've removed some code I wasn't really using (in development) but that still only got it down to 352 kb.

very strange I even went as far as removing all commented out code even though it's my understanding that commented code is excluded.

Still no luck.
by DevilDog
Wed Dec 02, 2009 8:44 pm
Forum: Coding Questions
Topic: Executable size
Replies: 6
Views: 1462

Executable size

Apologies if this has already been discussed, I didn't see it in my search.

I have a small program that used to compile into a 190 kb Exe, now it compiles into a 385 kb Exe.

None of the program compiler setting are checked when I compile it.

I'm using version 4.40.

Anyone know what the cause of ...
by DevilDog
Tue Sep 01, 2009 8:52 pm
Forum: Coding Questions
Topic: Error with CallFunction...
Replies: 17
Views: 3785

Thanks for the explanation, it's great info.

And I'll look into your suggestions as well.
by DevilDog
Tue Sep 01, 2009 8:20 pm
Forum: Coding Questions
Topic: Error with CallFunction...
Replies: 17
Views: 3785

OK, the code you posted compiles fine under 4.40 beta 2 with the changes you made.

What's changed? why did the old code work under 4.31 and not under the beta?