Search:
Type: Posts; User: Eduardo-
Search:
Search took 0.03 seconds.
-
I still didn't finish the code, and I'll have to pause it for several days now, but it will be something like this:
Public Property Get Item(ByVal Index As Long) As String
' code...
'...
-
But can you access it as an ordinary variable? (or an like a variable in an array)
-
-
OK. Since we are already on a close subject I'll take the opportunity to ask another related question: is it possible from a Win32 process to use 64 bits processor instructions?
I'm asking this,...
-
This is a screen shot with new available BorderStyle settings:
185232
-
I have no idea what is the academical term, I'm just calling them in the same way that the people that work with the technique call them (so they know what I'm talking about).
-
Do you think I could set up, let's say a 1 GB array in this way, and VB still able to work with it?
Or maybe even one larger than 4 GB?
-
Thank you.
I added options to the BorderStyle property. Now it matches the original.
Only that the dots and dashes are smaller (with GDI+ than were with GDI), so maybe you want to set a...
-
It is for the memory mapping, and I believe there is no way without copying the data from the map to a local variable.
If we could change the variable pointers, maybe it could be possible....
-
In The Trick's class he does not use FlushViewOfFile.
-
Calling to a function, any function, means some overhead, some performance penalty.
I am thinking if making a CopyMemory replacement based on an ASM thunk could avoid that.
What do you think?
-
I don't understand why FlushViewOfFile is necessary at all.
-
I don't understand. This is all about the problem that the 2 GB limit is not enough (to hold all the information that we need).
Because you mean it is buggy or what?
-
I just was testing that. And yes, there is some.
-
Yes, as I suspected, it does not work.
BTW in the documentation it is under Remarks:
-
I'm making my own take, it will be (if I finish it) for variable length strings, but focusing on performance, I want it to be as fast as possible.
That's why I would not like to be opening and...
-
I'm a bit lost, aren't these memory allocations intended to use just RAM memory? I don't want to use disk at all!
Or otherwise does it mean that I could have maps larger than the RAM memory size...
-
Fixing the issue from an OCX/UserControl seems a lot of work (not impossible, but I don't think it worth the effort).
And I don't know if it is at all possible to show a tooltip from code (I mean to...
-
Private Declare Function MapViewOfFile Lib "kernel32" (ByVal hFileMappingObject As Long, ByVal dwDesiredAccess As Long, ByVal dwFileOffsetHigh As Long, ByVal dwFileOffsetLow As Long, ByVal...
-
I see (the compiled exe + compiled ocx), I never noticed that before.
-
Hello Leandro,
Very weird, really.
But there are two situations where it does not happen, or call them workarounds:
1) Place the windowless controls into another container (container inside...
-
I made something simple to test the speed but it crashed.
This is the code of Form1 (using your test program):
Option Explicit
'
Dim oLong As MemoryBasedArray
Dim oDbl As MemoryBasedArray...
-
That feature can be disabled, it is not guaranteed.
-
It makes no sense.
Just look at a code box in the forum, if you don't have the mouse over the box, you cannot know if the code is just that that you are seeing or has some more lines (because you...
-
Maybe you would like to try BSPrinter, search in Google.
-
OT: it seems it is possible, but not as straightforward like PathFromID and IDFromPath as I would desire, but a bit more complex.
GetFileInformationByHandle to get dwVolumeSerialNumber, ...
-
Humm, no Elroy. I need to use this arrays pretty much as arrays, as they are now.
The UDTs need to be accessible by the index and by reference (not any copy, not to think of serializations), and be...
-
OK thanks.
About the mixing arrays question, I guess I was a bit confused. Yes, I can launch as many of these mapped files as I need, no problem.
About the variable length Strings, it would be...
-
Hello Elroy, I'm revisiting this issue.
I just started to get some basic understanding on your class, and I wanted to ask you a couple of questions, that may advance my understanding so I don't...
-
Thank you softv, I added the validation so TabsPerRow can't be 0 now.
About TabSelExtraHeight, I think it is not possible to have a problem with its values because they are limited to max the...
-
Thanks for your detailed report.
Updated, please check if everything is working as expected now.
-
Updated.
Sometimes it happens that fixing a bug, another bug is introduced.
It was the case of the update on 08-Jun-2022 (less than a couple of weeks ago).
Changing .hWnd to .hWndUserControl for...
-
Update, changed:
If Len(nPath) > MAX_PATH Then
to
If Len(nPath) >= MAX_PATH Then
-
Please test now.
(And if you can, please test with other configurations, to check they were not affected by the fix/change).
-
Hello, I fixed the issue.
It was that Krool's controls returns one hWnd for the control that is inside and another hWnd from another property (hWndUserControl) for the control-container (the...
-
But to clarify something: forget the idea that the problem is the form, and that you need to do it without a form.
A form is a main window, a parent window, and you always need a window to show...
-
I think you need to look in the forum for samples with UpdateLayeredWindow.
If you don't find anything that you can use, or have trouble with something, perhaps open a new thread asking for help...
-
Sorry, I can't help you with Flash ocx. I never used it.
-
I don't understand what you mean.
-
Yes, you can use SetLayeredWindowAttributes with LWA_COLORKEY but I still don't know why you want to use such an outdated technology like Flash.
Do they have an animation or are they static images?...
|
Click Here to Expand Forum to Full Width
|