Search:

Type: Posts; User: Eduardo-

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    27
    Views
    591

    Re: Thunk for a CopyMemory replacement?

    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...
    '...
  2. Replies
    27
    Views
    591

    Re: Thunk for a CopyMemory replacement?

    But can you access it as an ordinary variable? (or an like a variable in an array)
  3. Replies
    27
    Views
    591

    Re: Thunk for a CopyMemory replacement?

    OK, thanks.
  4. Replies
    27
    Views
    591

    Re: Thunk for a CopyMemory replacement?

    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,...
  5. Replies
    36
    Views
    12,941

    Re: [VB6] ShapeEx: Shape control replacement

    This is a screen shot with new available BorderStyle settings:

    185232
  6. Replies
    27
    Views
    591

    Re: Thunk for a CopyMemory replacement?

    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).
  7. Replies
    27
    Views
    591

    Re: Thunk for a CopyMemory replacement?

    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?
  8. Replies
    36
    Views
    12,941

    Re: [VB6] ShapeEx: Shape control replacement

    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...
  9. Replies
    27
    Views
    591

    Re: Thunk for a CopyMemory replacement?

    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....
  10. Replies
    48
    Views
    1,437

    Re: Arrays in Far Memory

    In The Trick's class he does not use FlushViewOfFile.
  11. Replies
    27
    Views
    591

    Thunk for a CopyMemory replacement?

    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?
  12. Replies
    48
    Views
    1,437

    Re: Arrays in Far Memory

    I don't understand why FlushViewOfFile is necessary at all.
  13. Replies
    48
    Views
    1,437

    Re: Arrays in Far Memory

    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?
  14. Re: MapViewOfFile, how does it work?

    I just was testing that. And yes, there is some.
  15. Re: MapViewOfFile, how does it work?

    Yes, as I suspected, it does not work.

    BTW in the documentation it is under Remarks:
  16. Replies
    48
    Views
    1,437

    Re: Arrays in Far Memory

    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...
  17. Replies
    48
    Views
    1,437

    Re: Arrays in Far Memory

    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...
  18. Re: TooltipText in a Label control inside a usercontrol as a container

    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...
  19. [RESOLVED] MapViewOfFile, how does it work?

    Private Declare Function MapViewOfFile Lib "kernel32" (ByVal hFileMappingObject As Long, ByVal dwDesiredAccess As Long, ByVal dwFileOffsetHigh As Long, ByVal dwFileOffsetLow As Long, ByVal...
  20. Re: TooltipText in a Label control inside a usercontrol as a container

    I see (the compiled exe + compiled ocx), I never noticed that before.
  21. Re: TooltipText in a Label control inside a usercontrol as a container

    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...
  22. Replies
    48
    Views
    1,437

    Re: Arrays in Far Memory

    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...
  23. Replies
    48
    Views
    1,437

    Re: Arrays in Far Memory

    That feature can be disabled, it is not guaranteed.
  24. Re: FYI: Scrollbar Theme Fade-in-out (breath light) feature on Win11

    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...
  25. Replies
    4
    Views
    248

    Re: PictureBox size in Print preview window

    Maybe you would like to try BSPrinter, search in Google.
  26. Replies
    48
    Views
    1,437

    Re: Arrays in Far Memory

    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, ...
  27. Replies
    48
    Views
    1,437

    Re: Arrays in Far Memory

    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...
  28. Replies
    48
    Views
    1,437

    Re: Arrays in Far Memory

    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...
  29. Replies
    48
    Views
    1,437

    Re: Arrays in Far Memory

    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...
  30. Re: (VB6) SSTabEx: SSTab replacement. Themed and with new features

    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...
  31. Re: (VB6) SSTabEx: SSTab replacement. Themed and with new features

    Thanks for your detailed report.
    Updated, please check if everything is working as expected now.
  32. Re: (VB6) SSTabEx: SSTab replacement. Themed and with new features

    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...
  33. Replies
    9
    Views
    864

    Re: Work with paths longer than MAX_PATH

    Update, changed:


    If Len(nPath) > MAX_PATH Then

    to


    If Len(nPath) >= MAX_PATH Then
  34. Re: (VB6) SSTabEx: SSTab replacement. Themed and with new features

    Please test now.
    (And if you can, please test with other configurations, to check they were not affected by the fix/change).
  35. Re: (VB6) SSTabEx: SSTab replacement. Themed and with new features

    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...
  36. Replies
    13
    Views
    595

    Re: Activex without form

    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...
  37. Replies
    13
    Views
    595

    Re: Activex without form

    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...
  38. Replies
    13
    Views
    595

    Re: Activex without form

    Sorry, I can't help you with Flash ocx. I never used it.
  39. Replies
    13
    Views
    595

    Re: Activex without form

    I don't understand what you mean.
  40. Replies
    13
    Views
    595

    Re: Activex without form

    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?...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width