Search:

Type: Posts; User: vbwins

Page 1 of 11 1 2 3 4

Search: Search took 0.03 seconds; generated 12 minute(s) ago.

  1. 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?
  2. Replies
    19
    Views
    465

    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
  3. Re: App works fine in the IDE, closes unexpectly in runtime mode

    Do you have an error handler?
  4. Replies
    60
    Views
    1,810

    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...
  5. Re: Running a x32 application in x64 environemtn

    Are you using a DSN?
  6. Replies
    19
    Views
    632

    Re: Ways to crash the VB6 IDE

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

    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...
  8. Re: [RESOLVED] Is this a VB Bug? Decimal Point < 0

    0.0002441481 is > 0
  9. 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.
  10. 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.
  11. Replies
    16
    Views
    762

    Re: "Out of string space"

    I only get this error in the IDE. When compiled to native it seems fine even with 600 meg.
  12. 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...
  13. 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...
  14. Replies
    10
    Views
    757

    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...
  15. Replies
    10
    Views
    757

    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...
  16. Replies
    10
    Views
    757

    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...
  17. Replies
    10
    Views
    757

    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.
    ...
  18. Replies
    10
    Views
    757

    Re: Etw filtering (again)

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

    by vbwins
    Replies
    13
    Views
    1,022

    Re: Memory Leak?

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

    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.
    ...
  21. Replies
    15
    Views
    1,156

    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...
  22. 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...
  23. Re: One question about Fafalone's extensive TypeLib

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

    Could someone link a thread to this typelib please? I did search but failed.
  25. 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...
  26. Replies
    9
    Views
    811

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

    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?
  28. Re: Do activeX dll's have the DLLMain entry point?

    Thanks all for the education.
  29. 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?
  30. 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
  31. [RESOLVED] Do activeX dll's have the DLLMain entry point?

    Just interested.
  32. Replies
    9
    Views
    752

    Re: ETW Keyword filtering

    Ahh. I think I have it. Thanks Trick.
  33. Replies
    12
    Views
    1,116

    Re: Question for fafalone

    Interesting conversation re versions. We develop on steam engines that run XP because our monitoring agent software has to coexist on clients platforms that are running real work. Slow hardware makes...
  34. Replies
    9
    Views
    752

    Re: ETW Keyword filtering

    Thanks guys. Will play some more. I don't think I can pass a 64 bit variant to ETW unless I am not understanding. Speed is not important. It happens once when the trace is set up and stays in place...
  35. Replies
    9
    Views
    752

    Re: ETW Keyword filtering

    Hi Trick,

    How do I pass a keyword of 0x8000000000000102 to CYOr

    cheers
  36. Replies
    9
    Views
    752

    Re: ETW Keyword filtering

    Thanks guys. Will have a play. I have to admit I find the documentation quite confusing when it comes to matchAnyKeyword and matchAllKeyword. I don't know why they made filtering so complicated but I...
  37. Replies
    9
    Views
    752

    ETW Keyword filtering

    This is driving me nuts. I cannot seem to get it right.

    https://learn.microsoft.com/en-us/message-analyzer/system-etw-provider-event-keyword-level-settings

    I have tried using currency and...
  38. Re: [RESOLVED] ETW (event tracing for Windows) problem

    I am using it for a bunch of stuff including monitoring IIS application pools, associating w3wp processes with an application pool. Associating a TCP connection open and close with an individual...
  39. Re: ETW (event tracing for Windows) problem

    Resolved. EventRecord.EventHeader.activityGuid is a match to the related activity guid
  40. Re: ETW (event tracing for Windows) problem

    Thanks Trick. That worked perfectly and now I can copy the relatedActvity ID from the HTTP_OPCODE_RECIEVE_REQUEST event extended data. For those that come after me the definition of dataPtr needs to...
Results 1 to 40 of 426
Page 1 of 11 1 2 3 4



Click Here to Expand Forum to Full Width