Search:

Type: Posts; User: Krool

Page 1 of 13 1 2 3 4

Search: Search took 0.09 seconds; generated 34 minute(s) ago.

  1. Thread: sqlite3win32

    by Krool
    Replies
    15
    Views
    7,264

    Re: sqlite3win32

    The sqlite3 c source was upgraded from version 3.39.2 (2022-07-21) to 3.39.3 (2022-09-05).
  2. Replies
    3,458
    Views
    1,389,184

    Re: CommonControls (Replacement of the MS common controls)

    I understand your point(s). But I see no way to fix it.. :(
  3. Replies
    3,458
    Views
    1,389,184

    Re: CommonControls (Replacement of the MS common controls)

    Update released. There was a tiny bug in the RightToLeft property which causes trouble if you set the two properties at design-time only..
    That's now fixed. Please confirm.

    The other question...
  4. Replies
    3,458
    Views
    1,389,184

    Re: CommonControls (Replacement of the MS common controls)

    Yes the MSCOMCTL.OCX behavior is the same for the ToolBar.

    So, yes. I keep everything like it is. Adding a "DisabledImage", "HotImage" property in a Button object would complicate everything and...
  5. Replies
    3,458
    Views
    1,389,184

    Re: CommonControls (Replacement of the MS common controls)

    No.

    ---

    Btw(!), just noticed that DrawState API in the StatusBar crashes when the StrPtr() of the Text property is 0. I guess that's due to a recent MS update..
    Will make a fix for that soon....
  6. Replies
    3,458
    Views
    1,389,184

    Re: CommonControls (Replacement of the MS common controls)

    I understand.. However, the "solution" is not easy.

    First of all, the TBBUTTONINFOW structure has only single iImage member.
    So TB_SETIMAGELIST/TB_SETDISABLEDIMAGELIST/TB_SETHOTIMAGELIST do use...
  7. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Bugfix for FlexFocusRectFlat. The pen style uses now a NULL_BRUSH to not affect custom background color/picture.
  8. Re: Is there a change event in Flexgrid?

    I see you have VBFlexGrid1, so it must be that control.

    Well, you don't have to loop and re-calculate everything. Just calculate the row that was altered.


    Private Sub...
  9. Replies
    3,458
    Views
    1,389,184

    Re: CommonControls (Replacement of the MS common controls)

    I can't replicate. For me it just reverts to 9.75
  10. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Update released. Fixed.
  11. Re: [VB6/VBA7] CNamespaceWalk (Using the INamespaceWalk interface)

    Bugfix in the INamespaceWalkCB_InitializeProgressDialog. (only affects when providing a custom DialogTitle text)

    The string for the
    [out] LPWSTR *ppszTitle is now only allocated via...
  12. Replies
    3,458
    Views
    1,389,184

    Re: CommonControls (Replacement of the MS common controls)

    Good. But why you can't change the Font of the StatusBar ?
    For me it works..
  13. Replies
    3,458
    Views
    1,389,184

    Re: CommonControls (Replacement of the MS common controls)

    I can't check now. But the SetParent is wrong, shall be:

    Call SetParent(.hWndUserControl, StatusBar1.hWnd)
  14. Replies
    3,458
    Views
    1,389,184

    Re: CommonControls (Replacement of the MS common controls)

    I fixed the property now in the StatusBar control. (Exit Property if new value equals old value)
  15. Re: [VB6/VBA7] CNamespaceWalk (Using the INamespaceWalk interface)

    Thanks. But I added that already.
    See that in EnterFolder.

    ByRef Result As NSWCBResultConstants)
  16. [VB6/VBA7] CNamespaceWalk (Using the INamespaceWalk interface)

    This project is intended to demonstrate how to implement the INamespaceWalk interface.

    It uses lightweight COM and no .tlb is required and no VTable subclassing is used.
    This means that the...
  17. Replies
    3,458
    Views
    1,389,184

    Re: CommonControls (Replacement of the MS common controls)

    Yes thanks. Noted.
    I think it's worth to get fixed soon as well.
  18. Replies
    3,458
    Views
    1,389,184

    Re: CommonControls (Replacement of the MS common controls)

    @Erwin69,
    Do you set 10000 times the exact same text ?
    Because setting each time a different text the performance of the MS StatusBar is as bad as well. However, if old and new text is equal I can...
  19. Replies
    196
    Views
    24,002

    Re: VB SQLite Library (COM-Wrapper)

    Update released.

    The sqlite3 c source was upgraded from version 3.37.2 (2022-01-06) to 3.39.2 (2022-07-21).

    The compiler is still VC6. However, it uses now in addition the /O2 and /Gz compiler...
  20. Thread: sqlite3win32

    by Krool
    Replies
    15
    Views
    7,264

    Re: sqlite3win32

    The sqlite3 c source was upgraded from version 3.37.2 (2022-01-06) to 3.39.2 (2022-07-21).

    Also upgraded the regexp c extension to the latest.

    Important to note also is that all callback...
  21. Replies
    3,458
    Views
    1,389,184

    Re: CommonControls (Replacement of the MS common controls)

    Thanks.
    2505 seconds or milliseconds ?
  22. Replies
    196
    Views
    24,002

    Re: VB SQLite Library (COM-Wrapper)

    I recompiled VBSQLite12_MT14.DLL using /O2.
    Did you replace it?

    Otherwise I am clueless why the build by wqweto runs faster..
  23. Replies
    196
    Views
    24,002

    Re: VB SQLite Library (COM-Wrapper)

    So, I still don't get it.
    What's now faster Eduardo? VC6 or VS2015 dll?
    Maybe you can repeat the tests with the replaced piece of sample suggested by wqweto.
  24. Replies
    196
    Views
    24,002

    Re: VB SQLite Library (COM-Wrapper)

    Eduardo,

    just re-compiled VBSQLite12_MT14.DLL to use now O2. (you need to unregister old first and re-register this one then)
    It is just a test to see if at least my and wqweto's builds results...
  25. Replies
    196
    Views
    24,002

    Re: VB SQLite Library (COM-Wrapper)

    One step forward for the vs 2015 /MT compile.

    I included the "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib" (v140_xp) in the environment variable list, so that kernel32.lib is linked...
  26. Replies
    196
    Views
    24,002

    Re: VB SQLite Library (COM-Wrapper)

    Yes, I tested the sqlite3win32 with /MT using VC6 and I could compile the VBSQLite12.DLL using
    KERNEL32.LIB msvcrt.lib /OPT:NOREF /OPT:NOWIN98

    But as you said, that makes no big deal. So for VC6...
  27. Replies
    196
    Views
    24,002

    Re: VB SQLite Library (COM-Wrapper)

    Yes it's dynamic. (/MD)
    As you noticed the static approach (/MT) is a bit challenging.

    So you can't register it on windows xp, for example. (Unless it would be possible to install a visual c++...
  28. Replies
    196
    Views
    24,002

    Re: VB SQLite Library (COM-Wrapper)

    Ok, I see.
    Now let's just double check if a VBSQLite12.DLL compiled with vs2015 (vs14_xp) and /MD makes any difference.
    See here test VBSQLite12_vs14.DLL (it's not binary compatible, so you could...
  29. Replies
    196
    Views
    24,002

    Re: VB SQLite Library (COM-Wrapper)

    Now it would be interesting to see if there is any difference when increasing SQLITE_DEFAULT_CACHE from -8000 to let's say -16000.

    You may test via pragma. So we don't need to recompile for the...
  30. Replies
    196
    Views
    24,002

    Re: VB SQLite Library (COM-Wrapper)

    For me it's fine. Maybe Eduardo can give results of the latest benchmarks.
    Perhaps SQLITE_DEFAULT_CACHE needs to be increased a little further and the differences will be negligible..
  31. Replies
    196
    Views
    24,002

    Re: VB SQLite Library (COM-Wrapper)

    With the VC6.0 we can link as it was compiled with /MD.
    It would cause the same issues when would done with /MT.

    the trick managed to compile a v140_xp statically in an AxDll. (see VbPng project)...
  32. Replies
    196
    Views
    24,002

    Re: VB SQLite Library (COM-Wrapper)

    I could compile now VBSQLite12.DLL (vs 2015 sqlite3) and register/use it in XP vm.

    Though this was possible only due to

    /FORCE:MULTIPLE /FORCE:UNRESOLVED
    and that's a no go..
  33. Replies
    196
    Views
    24,002

    Re: VB SQLite Library (COM-Wrapper)

    Didn't test yet (no time) but will a /NODEFAULTLIB:"libucrt.lib" solve it?

    EDIT: no effect ...
  34. Replies
    196
    Views
    24,002

    Re: VB SQLite Library (COM-Wrapper)

    I can't register your (or mine) Ax-Dll on a vanilla XP vm.
    So something is there..
  35. Replies
    196
    Views
    24,002

    Re: VB SQLite Library (COM-Wrapper)

    Hi wqweto,

    I was able to compile a sqlite3win32.dll which works fine on Windows XP for debug reasons.
    However, the VBSQLite12.DLL (Ax-DLL) compiles fine (I add a environment variables for the lib...
  36. Replies
    196
    Views
    24,002

    Re: VB SQLite Library (COM-Wrapper)

    I installed in vs 2017 the v14 (2015) compiler and clicked the windows-xp support (v140_xp)
    However, building the dll with v14 compiler works, but it won't work in XP vm. So manually compiling I do...
  37. Replies
    196
    Views
    24,002

    Re: VB SQLite Library (COM-Wrapper)

    Usage of sqlite3_prepare16_v2/v3 instead of sqlite3_prepare_v2/v3, if applicable.

    I think that's it for now related to optimizations..
  38. Replies
    196
    Views
    24,002

    Re: VB SQLite Library (COM-Wrapper)

    sqlite3_bind_text16 now fixed to use directly StrPtr(Value).
    I don't know what triggered me to cache it in a variable and append a vbNullChar. Normally I don't do it when sending a string to an API....
  39. Replies
    196
    Views
    24,002

    Re: VB SQLite Library (COM-Wrapper)

    Yes I mixed that up. I was used to add always a nullchar as to receiving strings from API's so I am always sure to have a cut-off in the string (Instr vbNullChar always hits) that I somewhat forgot...
  40. Replies
    196
    Views
    24,002

    Re: VB SQLite Library (COM-Wrapper)

    I'm pretty sure it is needed. The VB string stores the length in it's header but the actual string data has no automatic null char at the end.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width