Search:

Type: Posts; User: dz32

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    138

    Re: Vb6 chatroom server service online help

    just a demo needs more work. anyone can connect in their web browser, uses http chunked transfers to keep data streaming in
    you will need to track data size sent and start next chunk and implement...
  2. Re: How to use program to detect struct is contiguous memory or not ?

    Will the struct defs as text be available to your program ?
    Are you trying to work on arbitrary structures without knowing the expected defs at all?
    Are you only working in your own process address...
  3. Replies
    2
    Views
    225

    Re: Using a TLB to call stuff in windows dlls

    Itís really only the first call to the api that is slower, the address is cached after that and the difference will only be like 5 asm instructions extra per call which is nothing.
  4. Re: [RESOLVED] SQL 1 query two distinct elements?

    interesting thanks I was not aware of that. I have noticed anomalies at times.
  5. Re: [RESOLVED] SQL 1 query two distinct elements?

    yuppers this did the trick thanks guys
  6. [RESOLVED] SQL 1 query two distinct elements?

    Some people can do some very clever things with sql, but Iím not sure if it can do this in one query?
    (I am working with sqllite here)

    I want three bits of information, distinct file_path, total...
  7. Re: http Request Unterbrechen wenn keine Antwort kommt

    https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms767625(v=vs.85)
  8. Replies
    8
    Views
    484

    Re: "Scratch off" approaches

    Ha that would be great, top layer cat, under layer cat skeleton.
    Or top layer cute girl under layer scary witch or lingerie or witch in lingerie sure why not,
  9. Replies
    3
    Views
    427

    Re: I need help with scintilla!!

    You donít necessarily need to use the highlighter files, you can code the settings directly in from vb which makes it easier to experiment with.

    Whatever your highlighting though you need to set...
  10. Replies
    26
    Views
    1,054

    Re: Some unreasonable restrictions in VB6

    All your vars are belong to us
  11. Replies
    26
    Views
    1,054

    Re: Some unreasonable restrictions in VB6

    vb does not have private variables.



    '-------------------- class1 ------------------------------------
    Private a As Long
    Private b As Long

    Sub showMe()
    MsgBox "a=" & Hex(a) & " b="...
  12. Replies
    14
    Views
    809

    Re: UDT to String and Vice-Versa

    The pipe serilization can handle all the complexities that udts support like non fixed length strings,
    Variant arrays that contain different types etc. the get/put support in the runtime is...
  13. Replies
    27
    Views
    958

    Re: Thunk for a CopyMemory replacement?

    The stub vb uses to transfer you to copymemory is already small Chuck of asm you can see it in second half of this blog post

    http://sandsprite.com/blogs/index.php?uid=7&pid=471&year=2019

    Wonít...
  14. Replies
    1
    Views
    250

    Re: Persistent objetcs after state loss ?

    For inspection like on crash or for a pause resume feature?

    It would be possible to save state and restore state in some
    senses but you would have to design things for it and manually implement...
  15. Re: Finding OLB, TLB file paths dynamically at runtime ?

    If itís a known static list to drive an intellisense feature you can ditch the type libs completely and just create a utility to dump them to an easier to use format. I just use text file formats. I...
  16. Re: Finding OLB, TLB file paths dynamically at runtime ?

    You really have to start with the guid for the context of whatís relevant.

    Different libraries can define the same function names and enum names
    Anyway they want. What if a newer version of the...
  17. Replies
    7
    Views
    387

    Re: Iterating through UDT members ?

    Correct itís a 32bit dll only
  18. Re: How to convert this C style UNION in a UDT to VB ?

    glad you got it. this is one way you can watch it:



    #include <stdio.h>
    #include <windows.h>
    #include <conio.h>
    #include <cstddef>

    int main()
  19. Re: How to convert this C style UNION in a UDT to VB ?

    from a quick google, ULONG is 32bit in both 32/64 process
    pointers like Variant* will be 4 bytes/8 bytes in 32/64 process

    if you are expecting oInst, you want the first? 4 bytes from the...
  20. Re: How to convert this C style UNION in a UDT to VB ?

    this is incorrect




    ' union {
    ' ULONG oInst;
    ' VARIANT *lpvarValue;
    ' } DUMMYUNIONNAME;
  21. Re: How to convert this C style UNION in a UDT to VB ?

    yup, you will just have to interpret the data manually later
  22. Replies
    7
    Views
    387

    Re: Iterating through UDT members ?

    so I guess you can get the udt values by name with tli if in ActiveXdll

    https://stackoverflow.com/questions/23797038/found-and-set-value-to-a-udt-member-vb6



    Public Function...
  23. Replies
    7
    Views
    387

    Re: Iterating through UDT members ?

    if it was declared as public in an activex dll then it would be published in the type library.
    you could use tlbinf to get the udt name, field names and types.



    Dim mi As MemberInfo, ri As...
  24. Replies
    31
    Views
    1,162

    Re: Error Trapping in an Executable

    You can add line numbers to each line and use erl()



    Private Sub Form_Load()
    On Error GoTo hell
    Dim a As Long
    7734 a = "nope"
    hell: MsgBox Erl() & " n1"
    End Sub
  25. Re: How do i download 5 zip at a time rather than my entire list

    You could shell 5 curl instances and watch the process id. Or 5 instances of your own program to do it.

    The normal answer is to use 5 threads but itís a fuss to do with vb
  26. Replies
    31
    Views
    1,162

    Re: Error Trapping in an Executable

    You could look into setunhandledexceptionfilter api. Especially if the crash is happening outside the vb code
  27. Re: VB6-alike IDE - Has anyone ever created any IDE similar?

    to keep the links together, the integrated javascript engine, IDE and debugger that use the scintinilla wrapper are here : https://github.com/dzzie/duk4vb
  28. Re: transfer user-defined data types between apps

    Schmidt Posted a way to serialize udts directly in memory by writing the data to a pipe

    https://www.vbforums.com/showthread.php?807205-VB6-pipe-based-UDT-serializing-deserializing-InMemory
    ...
  29. Re: VB6-alike IDE - Has anyone ever created any IDE similar?

    The closest I came is working on a scintinilla wrapper with the syntax highlighting, intellisense, code tool tips, and support for breakpoints and debugger line highlighting and advanced...
  30. Re: Why is my application infected according to VirusTotal site?

    Itís hard to get a clean bill of health with almost 70av vendors as long as itís not the major ones I ignore it. Itís bad signatures hello world can come back with detections especially with vb6.
  31. Replies
    7
    Views
    449

    Re: AsyncRead / openURL returns nothing

    I debugged it a little bit and it looked like it used the win api directly

    Edit: ďwindows internet apiĒ for the pedantic.
  32. Replies
    7
    Views
    449

    Re: AsyncRead / openURL returns nothing

    I just tested one of my apps that uses this. It was returning nothing, but on further investigation the server was returning a 301 moved
    message and it just was not following the location header....
  33. Replies
    27
    Views
    895

    Re: How should I rewrite this to not use GoTo?

    if the loop is really long I actually prefer to use a goto label sometimes.
    usually when I dont want to nest if statements another layer deep and not when an exit for will suffice.
  34. Re: Can't borrow Long DataType from VB.Net directly into VB6

    Pass max and min values from .net to vb
    And see how the vb data types handle them it will literally tell you if there is still a problem. If you donít need to do math on them just pass them as a...
  35. Re: COM Visible library fails to access the UI thread?

    The ipc was do an easy form of marshal and synchronization across threads.
    You receive the data and events fine but the ipc test would resolve any threading issues.
  36. Re: COM Visible library fails to access the UI thread?

    If they are in different threads try using ipc instead of a direct callback from .net to vb6
    I always use wm_copy data since itís synchronous.

    http://sandsprite.com/openSource.php?id=70

    It...
  37. Replies
    5
    Views
    860

    Re: Like operator for c/c++ ?

    Thanks Iíll check it out :)

    edit: resolved the sqllite rip converted to wchar_t did the job well.
  38. Replies
    5
    Views
    860

    Re: Like operator for c/c++ ?

    Itís like a simplified regex supporting * to match multiple characters, ? To match any single one
    And a couple more basics:...
  39. Replies
    5
    Views
    860

    Re: Like operator for c/c++ ?

    Some more googling turned up some potential answers.

    One guy did rip the pattern match function from SQLite:
    https://stackoverflow.com/questions/22099599/sql-like-similar-use-in-c

    And I also...
  40. Replies
    11
    Views
    21,961

    Re: Semi VB Decompiler - Source Code + More

    He has a full installer in his open source git repo

    https://github.com/VBGAMER45/Semi-VB-Decompiler/tree/master/Semi%20VB%20Decompiler
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width