Search:

Type: Posts; User: vbwins

Page 1 of 11 1 2 3 4

Search: Search took 0.06 seconds.

  1. Re: RC6 error adding item to a cCollection with an empty string as a key (vb6 col can

    Apologies. You are indeed correct. Anything south of 10,000 entries its practically much the same but hashd wins. North of 10,000 and scripting dictionary falls off a cliff on my xp dev box. However...
  2. Re: RC6 error adding item to a cCollection with an empty string as a key (vb6 col can

    @Olaf Please place a link to which version of cHashD you used. The one I found in the code bank does not seem to support .Remove unless I am blind this morning.
  3. Re: RC6 error adding item to a cCollection with an empty string as a key (vb6 col can

    Try with a million simple keys




    Dim fd As Dictionary

    Set fd = New Dictionary

    Const loopCounter As Long = 1000000
  4. Re: RC6 error adding item to a cCollection with an empty string as a key (vb6 col can

    What on earth is this doing.From the dictionary class you referenced.



    #If Mac = 0 Then
    Friend Sub InitHasher(ByRef h As Hasher)
    Const dictVTables As Long = 4
    Const...
  5. Replies
    15
    Views
    861

    Re: Getting C2 to generate a listing file

    I got this working by modifying the well know outargs program floating around

    https://github.com/VBForumsCommunity/VB6Porter

    Interestingly and to dig up an old chestnut ticking Favour Pentium...
  6. Replies
    15
    Views
    861

    Re: Getting C2 to generate a listing file

    Man thanks Trick.
  7. Replies
    15
    Views
    861

    Re: Getting C2 to generate a listing file

    LAA works fine using this in the vbp file.

    [VBCompiler]
    LinkSwitches=/LARGEADDRESSAWARE
  8. Replies
    15
    Views
    861

    Re: Getting C2 to generate a listing file

    Yes I realized over the weekend that I am being stupid. The only way to do this is to intercept the compile arguments as c2 is called for each module, class, whatever so of course it overwrites the...
  9. Replies
    15
    Views
    861

    Re: Getting C2 to generate a listing file

    Nobody played with getting the compiler to generate a listing with source and ASM?
  10. Replies
    15
    Views
    861

    Getting C2 to generate a listing file

    Has anyone made this work properly?

    [VBCompiler]
    c2Switches=-FA s -Fa c:\listings\

    Unless I specify a file name like below I get a no such directory exists. When I specify a file name for the...
  11. Re: [VB6/VBA/twinBASIC] The quickest way to the real Windows version: KUSER_SHARED_DA

    Interesting but what is the reason MS makes the API lie?
  12. Replies
    21
    Views
    1,019

    Re: GUID/CLSID/UUID Comparison API?

    I use


    Private Type GUID
    Data1 As Long
    Data2 As Integer
    Data3 As Integer
    Data4(7) As Byte
    End Type
  13. Re: App works fine in the IDE, closes unexpectly in runtime mode

    Do you have an error handler?
  14. Replies
    60
    Views
    2,291

    Re: Adding a huge number of records to a MariaDB

    I do not do this at the scale you are dealing with but I do create sqlStatements using a string builder that insert a couple of thousand items at a time and then use the sql extension MyIsam and...
  15. Re: Running a x32 application in x64 environemtn

    Are you using a DSN?
  16. Replies
    19
    Views
    754

    Re: Ways to crash the VB6 IDE

    Being one or two bytes out with copyMemory usually does it eventually...
  17. Replies
    9
    Views
    852

    Re: VB6 - IOCP problem

    I don't understand the mechanism you are using but TCP will always break the traffic down to the agreed MTU between end points. Have you thought about including a header of a fixed length that...
  18. Re: [RESOLVED] Is this a VB Bug? Decimal Point < 0

    0.0002441481 is > 0
  19. Re: FAST read number of lines in txt file

    Note that all the VBCRLF stuff breaks if the file comes from something other than windows. Just something to be aware of.
  20. Re: FAST read number of lines in txt file

    If you are likely to have a big file then it might be better to count the lines by reading each line. Or at least give your code the option of making the decision to do that over a certain file size.
  21. Replies
    16
    Views
    840

    Re: "Out of string space"

    I only get this error in the IDE. When compiled to native it seems fine even with 600 meg.
  22. Re: I beg of you PLEASE consider offering perpetual licenses.

    I get the escrow thing but that still requires people with the time, ability & willingness to take on the challenge of supporting the product. In a way this supports the no perpetual licensing...
  23. Re: I beg of you PLEASE consider offering perpetual licenses.

    For me this comment is still the elephant in the room.

    "It's just Wayne, not some large company"

    The licensing model becomes a moot point if the product dies or has bugs that can never get...
  24. Replies
    10
    Views
    803

    Re: Etw filtering (again)

    Thanks for replying. I am already filtering by level and keyword and just using event filters to drop the event id's that belong to that keyword and level that I am not interested in.

    The way I...
  25. Replies
    10
    Views
    803

    Re: Etw filtering (again)

    Repost

    However the documentation comments below are making me evaluate if filtering is the right approach at scale where there are lots of eventID's and you are only interested in 4 or 5. What do...
  26. Replies
    10
    Views
    803

    Re: Etw filtering (again)

    Yes indeed the below does work. ENABLE_TRACE_PARAMETERS.EnableFilterDesc as 32 bit (long) in vb6 and EVENT_FILTER_DESCRIPTOR.Ptr as 64 bit.

    However the documentation comments below are making me...
  27. Replies
    10
    Views
    803

    Re: Etw filtering (again)

    So I tried. It does not fail but it does not work. The difference between your code and one of my attempts was that I was trying with a byte array not a fixed array of the max allowed events.
    ...
  28. Replies
    10
    Views
    803

    Re: Etw filtering (again)

    Thanks. Will give it a shot and post the results
  29. Thread: Memory Leak?

    by vbwins
    Replies
    13
    Views
    1,078

    Re: Memory Leak?

    Do you see those processes still in Task Manager with a state of suspended?
  30. Replies
    10
    Views
    803

    Etw filtering (again)

    Further to this thread and with acknowledgement of the help I received there and the people who gave it I need to resurrect this topic.
    ...
  31. Replies
    15
    Views
    1,204

    Re: Out of Memory error

    Do you have any error handling to help pinpoint where the exception is getting thrown?

    For what it's worth I have seen vb6 throw random out of memory errors when some other process has chowed...
  32. Re: [RESOLVED] Error 481 - Invalid picture in compiled exe (vb6 sp6) in Win7 II

    I know this sounds strange but I have had this error when running vb6 apps on modern versions of windows without ADMIN priv. I never got to the bottom of it as my main project runs on our boxes so...
  33. Re: One question about Fafalone's extensive TypeLib

    Thanks
  34. Re: One question about Fafalone's extensive TypeLib

    Could someone link a thread to this typelib please? I did search but failed.
  35. Poll: Re: If VB was still alive & updated today, would you pay for a license ? [POLL]

    One time fee + 64 bit compile + longlong + supported threads = a big yes

    Twin Basic will be compelling when it has a proper support system not just one very clever person.

    Mind you we don't...
  36. Replies
    9
    Views
    849

    Re: VB6 close in second execution of the app

    If it is related to a control you dont have the source to you can always resort to using Windbg to debug your own code if you cant solve the problem. Or vc++ 6.0 debug will also work. You don't get...
  37. Replies
    9
    Views
    849

    Re: VB6 close in second execution of the app

    It all depends on what your code is doing. One incorrect copyMemory or api call that corrupts something in memory can cause this behavior.

    What happens when you run your code compiled?
  38. Re: Do activeX dll's have the DLLMain entry point?

    Thanks all for the education.
  39. Re: Do activeX dll's have the DLLMain entry point?

    So DLLMain calls sub Main()?

    So if your DLL has no startup object set in the project then you are effectively out of DLLMain at that point?
  40. Re: Do activeX dll's have the DLLMain entry point?

    So what is the calling order in the case of activeX

    DLLMain
    Class_Initialize
    Whatever method you call
Results 1 to 40 of 436
Page 1 of 11 1 2 3 4



Click Here to Expand Forum to Full Width