Search:

Type: Posts; User: dz32

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: html object library not work correct and any better html parser?

    I gave up on using it to parse web page data. Not sure which version of ie it represents anymore but it has always seemed fussy to me and problematic. I would always just manually extract stuff from...
  2. Replies
    10
    Views
    1,580

    Re: project one workng with project2

    and just to be thorough, an easy way to patch all classes in the project, starting from any random (internal) class instance
    ...
  3. Replies
    2
    Views
    227

    Re: Solve equation from textbox [VB6]

    I would probably use the ms script control and give the user access to your graphing class. User could write functions of defined prototype which you call as you process.

    You could include...
  4. Replies
    10
    Views
    1,580

    Re: project one workng with project2

    ok, actually this patching in memory does work, I just missed a small detail.

    we need the first live instance of the class to easily get to the object structure.
    however this first class was...
  5. Replies
    10
    Views
    1,580

    Re: project one workng with project2

    soooo patching it in memory after loaded by the runtime was a fail, has to be patched on disk or reach deeper into the runtime

    misc note, the error code does not appear in the vbruntime itself :(...
  6. Replies
    10
    Views
    1,580

    Re: project one workng with project2

    looks like you can make this work with private classes once compiled if you change the Object.ObjectType to 0x118803

    these are bitfields so this is crude could break stuff, better to set the...
  7. Replies
    26
    Views
    1,110

    Re: Redirect where Debug.Print goes.

    tadah magic :)

    awesome

    works perfect with Eduardos IVBPrint interface too
  8. Replies
    26
    Views
    1,110

    Re: Redirect where Debug.Print goes.

    I opened up vb6 and attached ollydbg native debugger then opened up the memory view window and did a search for the string. I canít remember which one did the trick it might have been in heap memory...
  9. Replies
    26
    Views
    1,110

    Re: Redirect where Debug.Print goes.

    Or do a search and destroy in memory so itís only active when you want it
  10. Re: Is there a function to return that code running in p-code inside IDE

    I am afraid I do not understand.

    You can determine if exe was compiled to pcode by looking at the bytes at offset returned by address of or by looking at pe file structure harder).

    To include...
  11. Re: Windows 10 Component Registration Issues

    When you reregustered did to make sure you were using a 32 bit version of cmd.exe from the syswow64 folder?

    I do hate how ms handled this
  12. Re: Is there a function to return that code running in p-code inside IDE

    the ide always runs as pcode

    addressof returns the address of a small native stub to transition from native to pcode



    mov edx, offset Module1_PcodeFunc_0
    mov ecx, offset...
  13. Re: [RESOLVED] How to retrieve the name of the procedure / function at runtime

    this is super handy to use at a breakpoint when your not sure how you got there
    easy way to document the code and paste the call stack in as a comment.

    there must also be a way to retrieve the...
  14. Replies
    27
    Views
    1,190

    Re: Immediate Window ... a weird animal

    it must be subclassed, dont know how to enumerate a subclass chain though
  15. Replies
    27
    Views
    1,190

    Re: Immediate Window ... a weird animal

    to see the wndproc you can attach ollydbg native debugger to the vb6.exe process

    view->windows then find the immediate window in the list the clsproc is the target

    Windows, item 76
    ...
  16. Replies
    27
    Views
    1,190

    Re: Immediate Window ... a weird animal

    Thatís probably what I was thinking of. Does a window spy show the class name as vbawindow with a wndproc in vba6.dll?
  17. Replies
    27
    Views
    1,190

    Re: Immediate Window ... a weird animal

    What was that commercial addin that added code folding and red squiggles and crazy features to the vb editor windows? Always wondered how they did that. Maybe the replaced the vbawindow class...
  18. Re: [RESOLVED] Problem with Static variable in DLL

    yeah I wouldnt be surprised if things are broken in that scenario. you would have to look explicitly at where that static variable memory alloc was made. Hacks are rarely perfect in such a complex...
  19. Re: Problem with Static variable in DLL

    a bit of errata, so a class level variable is stored at objptr(class) + x its data offset

    a static var in a method, will use objptr(class)+staticMemOff as a pointer to a static variable memory...
  20. Replies
    20
    Views
    629

    Re: 64 bit AND operations

    I still just feel better using a C library to handle x64 numbers even with an external dependancy
  21. Replies
    26
    Views
    1,110

    Re: Redirect where Debug.Print goes.

    aghh gotcha, makes sense thanks
  22. Replies
    26
    Views
    1,110

    Re: Redirect where Debug.Print goes.

    isnt that the magic of the bang operator though? rs("id") is already a base value type not an object?

    the following works



    'class 1
    'this is the default method of the class
    Function...
  23. Replies
    26
    Views
    1,110

    Re: Redirect where Debug.Print goes.

    One little tidbit I never knew about debug.print

    So you can pass debug.print a class as an argument. If that class has a default function, printObject will call its default method and display its...
  24. Replies
    27
    Views
    1,190

    Re: Immediate Window ... a weird animal

    well it was pretty easy to break the IDE support for the debug. object just with a string overwrite.
    I havent been able to declare my own sub Print yet though.

    nope nevermind, even with debug....
  25. Replies
    27
    Views
    1,190

    Re: Immediate Window ... a weird animal

    You might be able to wack the vb parsers internal name of the debug object so that your own debug.print ends up being the one which gets resolved ?

    Nevermind, not sure how to dynamically find the...
  26. Re: [RESOLVED] How to deal with bitfields with an odd number of bits?

    Good link thanks :)
  27. Re: [RESOLVED] How to deal with bitfields with an odd number of bits?

    I tend to start with this approach as well if I have any question at all. A few minutes to get a concrete answer saves hours down the line.

    It can get answers in literally a minute or two though.
  28. Re: How to deal with bitfields with an odd number of bits?

    When in doubt write a small c console program and inspect memory with test values or a dll for use with vb so you can pass the data back and forth and make sure you are interoperating properly....
  29. Replies
    11
    Views
    537

    Re: Simulate multiple classes in one module

    For a project of that scale vb6 may no longer be the right tool for the job I am sad to say.
  30. Replies
    11
    Views
    537

    Re: Simulate multiple classes in one module

    I am sure what you want to do can be done with lightweights but..

    what you save on physical files you pay for 5x in complexity and non-maintainability.

    I often find myself expanding small...
  31. Replies
    69
    Views
    1,568

    Re: Average age of people on this forum

    I have occasionally see users post reference to thier age and been surprised by some 80yr olds still at it. My guess is average will be 65 How do we embed one of those visual poll things. Might get...
  32. Replies
    69
    Views
    1,568

    Re: Average age of people on this forum

    48, first basic was programming choose your own adventure games on a commodore pet and casset tape storage around 10, but didnít really start programming again till 27. Just gaming in between
  33. Replies
    18
    Views
    758

    Re: Win32Api TLB for VB6

    I have always stayed away from tlb files unless really necessary (like com interface definition)
    They just donít seem worth the headache to me. The more self contained the source the better. Rather...
  34. Replies
    26
    Views
    1,110

    Re: Redirect where Debug.Print goes.

    I have been tracking down this type of information and exploring what I can while creating a vb6 disassembler and pcode debugger:

    http://sandsprite.com/vbdec/

    There is also a link there for an...
  35. Replies
    26
    Views
    1,110

    Re: Redirect where Debug.Print goes.

    I got super lucky finding those files lol. I think I first stumbled across the ms knowledge base articles

    Q188588: VB5SP3DS Contains Visual Basic SP3 Debugging Symbols
    Q176547: Vb5sp2ds Contains...
  36. Replies
    26
    Views
    1,110

    Re: Redirect where Debug.Print goes.

    I was actually just looking at it this weekend. I still want a debug.clear (I use the persistent debug window as well thank you:)

    I was look at vb5 because I could get the debug symbols for...
  37. Re: Can we get the tObjectTable structure? Both in IDE running and compiled?

    The vb runtime itself uses that back link as part of it idispatch implementation. Thatís how it finds the proc names array for IDispatch::getidsofnames

    Internal and undocumented, but part of the...
  38. Re: [RESOLVED] VB6 COM/Code Object Method Name ---> vTable Entry Number

    Cool thanks :)
  39. Re: [RESOLVED] VB6 COM/Code Object Method Name ---> vTable Entry Number

    Weíre just a couple inches away from implementing reflection for all vb6 classes and forms now without needing tlbinf
  40. Re: [RESOLVED] VB6 COM/Code Object Method Name ---> vTable Entry Number

    Here is the article I mentioned describing some more details on the structures and bit field values. We can actually reconstruct the entire function prototype from the data embedded in these...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width