Search found 43 matches

by Jens-Arne
Fri Jul 04, 2025 2:44 pm
Forum: Feature Requests and Wishlists
Topic: Packer should return progress
Replies: 13
Views: 593

Re: Packer should return progress

Please allow me one more suggestion:

In the original version the packer lib calculated how often it invoked the callback funktion without the possibility for the programmer to change the outcome.
To relieve the lib from this burden (which requires some calculations inside the packing loop, most ...
by Jens-Arne
Fri Jul 04, 2025 11:41 am
Forum: Feature Requests and Wishlists
Topic: Packer should return progress
Replies: 13
Views: 593

Re: Packer should return progress

@Fred: That sounds great! I hope it isn't too much of an effort to put that feat back in. Normally (but what is "normal" in programming?) that should be fairly straightforward so maybe your dev team has a chance to take a look at that somewhen in the future without having to divert too much time to ...
by Jens-Arne
Fri Jul 04, 2025 5:29 am
Forum: Feature Requests and Wishlists
Topic: Packer should return progress
Replies: 13
Views: 593

Re: Packer should return progress

@Thorium: Yes indeed, good idea, a parameter that takes the address of a callback function would be even better (no need for threads). The callback function itself would take a QuadInt as progress indicator and, say, a user defined Integer as is often the case with Windows callback functions.
by Jens-Arne
Tue Jul 01, 2025 4:52 pm
Forum: Feature Requests and Wishlists
Topic: Packer should return progress
Replies: 13
Views: 593

Packer should return progress

Hi all,

I'd appreciate it if the packer functions (e.g. AddPackFile) would take another parameter with the address of a quadint for 64bit systems and a longint for 32bit systems into which it writes the number of bytes it has already processed.

I know that this is normally useless because the ...
by Jens-Arne
Sun Mar 23, 2025 6:03 pm
Forum: Applications - Feedback and Discussion
Topic: MemoryModule x86 and x64 (static lib, import and example)
Replies: 21
Views: 22475

Re: MemoryModule x86 and x64 (static lib, import and example)

Still same question. Is there anybody who has the files because the download link is broken?
by Jens-Arne
Wed Mar 05, 2025 10:49 am
Forum: Tricks 'n' Tips
Topic: MS Speech SAPI Text to speech COM (Windows only)
Replies: 45
Views: 12654

Re: MS Speech SAPI Text to speech COM (Windows only)

Hello jak64,

that's certainly not possible with the code that is in use here. It relies solely on a certain Windows COM interface that is unique to Windows.

I don't code for machines that have an apple that's already missing a bite printed on them so I have no idea how to use speech synthesis on ...
by Jens-Arne
Wed Mar 05, 2025 10:46 am
Forum: Tricks 'n' Tips
Topic: MS Speech SAPI Text to speech COM (Windows only)
Replies: 45
Views: 12654

Re: MS Speech SAPI Text to speech COM (Windows only)

Hello jak64,

that's certainly not possible with the code that is in use here. It relies solely on a certain Windows COM Interface that is unique to Windows.

I don't code for machines that have an apple that's already missing a bite printed on them so I have no idea how to use speech synthesis on ...
by Jens-Arne
Tue Feb 25, 2025 9:54 pm
Forum: Tricks 'n' Tips
Topic: MS Speech SAPI Text to speech COM (Windows only)
Replies: 45
Views: 12654

Re: MS Speech SAPI Text to speech COM (Windows only)

That's not possible at the moment. You would have to select the appropriate part of the text in your program and start reading from the point where it should begin.
by Jens-Arne
Tue Feb 25, 2025 9:08 pm
Forum: Tricks 'n' Tips
Topic: MS Speech SAPI Text to speech COM (Windows only)
Replies: 45
Views: 12654

Re: MS Speech SAPI Text to speech COM (Windows only)

Hello jak64,

your text is perfect. Google translate does what it is supposed to do... ;-)
by Jens-Arne
Tue Feb 25, 2025 4:33 pm
Forum: Tricks 'n' Tips
Topic: MS Speech SAPI Text to speech COM (Windows only)
Replies: 45
Views: 12654

Re: MS Speech SAPI Text to speech COM (Windows only)

Hello jak64,

the only issue I can see is that at the very beginning of a new readout (but only after another one has stopped before) there is a brief "flicker" of the IsVoiceRunning flag (1 --> 0 --> 1). This must have been what you detected. I've gotten rid of this behaviour by purging all ...
by Jens-Arne
Mon Feb 03, 2025 2:05 pm
Forum: Tricks 'n' Tips
Topic: MS-Word from PB with COM Interface
Replies: 62
Views: 45660

Re: MS-Word from PB with COM Interface

It's not always that easy. Take the MSDN help page for find\execute for example:
https://learn.microsoft.com/de-de/office/vba/api/word.find.execute

What you see there is a ton of parameters each of which is of type VARIANT. But there's no clue as to what exact part of VARIANT is expected to be ...
by Jens-Arne
Sun Feb 02, 2025 10:17 pm
Forum: Tricks 'n' Tips
Topic: MS-Word from PB with COM Interface
Replies: 62
Views: 45660

Re: MS-Word from PB with COM Interface

@Justin: Cool, that's exactly what I was looking for - thank you!
How can I distinguish between addin/COM things and direct things in the pbi? Some put_ functions need variant inputs for strings, others take direct input with a simple string. This is still a little confusing to me.
by Jens-Arne
Sun Feb 02, 2025 8:50 pm
Forum: Tricks 'n' Tips
Topic: MS-Word from PB with COM Interface
Replies: 62
Views: 45660

Re: MS-Word from PB with COM Interface

I have written an example that does some of the more obvious things that one might want to perform with word. Use things one by one, don't try to set all ifs to 1 at once. I know the code is not fancy, but nevertheless I do think that it might help others to get familiar with this complicated topic ...
by Jens-Arne
Sun Feb 02, 2025 8:22 pm
Forum: Tricks 'n' Tips
Topic: MS-Word from PB with COM Interface
Replies: 62
Views: 45660

Re: MS-Word from PB with COM Interface

Does anybody know why there are only oSel\InsertBefore and \InsertAfter methods but not a simple \Insert? Of course it's possible to use find with replace to do that, or one could use \Delete before inserting, but it would be nice to simply overwrite a selection directly. Am I missing something here?