Search:

Type: Posts; User: Ben321

Page 1 of 13 1 2 3 4

Search: Search took 0.23 seconds.

  1. Replies
    0
    Views
    122

    What happened to the NASM forum?

    Thile the official NASM assembler website at https://nasm.us/ is still up, the forum at https://forum.nasm.us/ is down. And the main website does say that their forum site is down for maintenance....
  2. Re: Is somebody backing up the MSDN reference documentation?

    Maybe not physical disks, but what about ISO disk images? What about full API documentation available in other offline formats such as PDF files, or a local (as opposed to being on the website) HTML...
  3. Re: Is somebody backing up the MSDN reference documentation?

    VB6 comes with an old MSDN CD, but that doesn't have nearly everything I don't think.

    When I google searched MSDN subscriptions I found this...
  4. Re: Is somebody backing up the MSDN reference documentation?

    Ok so the online docs will remain? That's good. Especially since most of the offline documents are actually incomplete (most of them have links that instead of taking you to the correct spot in the...
  5. Replies
    18
    Views
    2,389

    Re: Question about WinHttpRequest object

    Does Wininet always do chunked? Does Winhttp only do chunked if specified? I just want to make sure that one other requirement of my program is met, and that is that it's WinXP compatible. Enough...
  6. Replies
    0
    Views
    202

    Questions about using GDI+ flat API in VB6

    I want to make a simple program that loads an image of any format supported by GDI+ (like BMP, JPG, TIF, PNG), expose the raw pixels of that file (decompressing it if needed to expose those bytes) as...
  7. Re: How can I share a winsock socket ID across processes?

    So if I use WSADuplicateSocket to clone the socket for the other process, and also share that info with the other process, how do I load that cloned socket into the other the other process? Is there...
  8. Re: Is somebody backing up the MSDN reference documentation?

    Yes docs.microsoft.com is the new MSDN basically, and has been for the last several years. But that's the problem. That's the part of the website they are shutting down. If you look you will see on...
  9. Is somebody backing up the MSDN reference documentation?

    References for the API functions like the names and even descriptions of their arguments and their return values, apparently are a part of the Microsoft website that MS itself wants to get rid of....
  10. Replies
    18
    Views
    2,389

    Re: Question about WinHttpRequest object

    I know this is a REALLY REALLY REALLY OLD thread, but I'm revisiting internet programming now, and wondering if the same thing that your above code does in wininet.dll can also be accomplished with...
  11. How can I share a winsock socket ID across processes?

    I have 2 processes. One is my listener process called "Multiprocess Web Server.exe". When a connection arrives from a client (a web browser), it runs a second program called "ServerProc.exe"), and...
  12. Replies
    3
    Views
    504

    Re: Here's code to get any part of a URL.

    Here's an alternate version of the module code for the GetURLPart function, and this version makes much more use out of the VB6 Split function.

    Public Function GetURLPart(ByVal URL As String,...
  13. Replies
    3
    Views
    504

    Re: Here's code to get any part of a URL.

    Here's some code you can paste in your form to test it, and compare its output to the output of the Windows API function InternetCrackUrlA.

    Private Declare Sub InternetCrackUrl Lib "wininet.dll"...
  14. Replies
    3
    Views
    504

    Here's code to get any part of a URL.

    Just copy the code from the below code box and paste it into a module, and you can use it to get any part of a URL.
    The part numbers are as follows.
    0 = protocol
    1 = username
    2 = password
    3 =...
  15. How do I switch kernel32.dll with my own replacement for it? 2.0

    It seems I marked https://www.vbforums.com/showthread.php?894246-RESOLVED-How-do-I-switch-kernel32-dll-with-my-own-replacement-for-it as resolved a bit prematurely. While I DID find that registry...
  16. Re: How do I switch kernel32.dll with my own replacement for it?

    It looks like I managed to finally find an answer to the question. According to https://docs.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-search-order the registry path I was looking...
  17. [RESOLVED] How do I switch kernel32.dll with my own replacement for it?

    I have an old program that I'm trying to use, that won't work in the current version of Windows, but will for a much older version of Windows. I traced back the issue to a DLL compatibility issue....
  18. Replies
    3
    Views
    472

    Re: Can somebody debug my CRC code here?

    The problem with that last idea, is that doing the initial XOR must be performed only during the first iteration, while the finalizing steps (flushing the bits after the last piece of data, mirroring...
  19. Replies
    3
    Views
    472

    Re: Can somebody debug my CRC code here?

    Ok so it seems I misunderstood how the initial value (from here in referred to as InitVal) of a CRC works. I assumed InitVal was supposed to be loaded into the shift register prior to clocking any...
  20. Re: How do I make MSVC++ optimization not ruin my program?

    According to that article "in C and C++ it does not work in most threading scenarios, and that use is discouraged". So I don't know if C and C++ have an alternative way of doing it with threading,...
  21. Replies
    3
    Views
    472

    Can somebody debug my CRC code here?

    I'm trying to write a CRC16 calculator, in albeit not the most efficient way, in a way that is a literal software implementation of how it would be implemented in hardware (the shift register and all...
  22. How do I make MSVC++ optimization not ruin my program?

    I'm running the MS VC++ compiler from the command line, and am compiling a C (not C++) program. When I perform maximum optimization with the command line switch /Ox (or even the simple speed...
  23. Replies
    3
    Views
    1,144

    Re: Questions about Strings and Threads

    So then the "strings.h" file is only for use in C, not C++?

    Also, do you have an answer my question about C++ threads?
  24. Re: Here's how to execute any arbitrary x86 machine code from a VB6 program.

    Most people run the standard versions of Windows, not the server versions. Those versions are mainly for big companies that need to have things like employee portals for their employees to login to...
  25. Re: How to statically link a LIB or OBJ file in VB6!

    Here's a screenshot of the output of the program running.
    https://www.vbforums.com/attachment.php?attachmentid=182362
  26. How to statically link a LIB or OBJ file in VB6!

    There is a kinda hacky way to do this actually! I realized that there's no way to statically link the code so that it can be called like a normal function, as VB6 IDE won't even try to compile...
  27. Replies
    11
    Views
    1,065

    Re: What are square brackets used for in VB6?

    What is Procedure ID, and how do you set it? Is this something you can do in VB6? Or do I need to compile this and then use external software to hack the Procedure ID in the compiled EXE file?
  28. Thread: flippin bits

    by Ben321
    Replies
    24
    Views
    1,820

    Re: flippin bits

    All thee other answers here are long explanations that don't directly answer the specific question you asked, so I'm going to answer it for you.

    There is no way for VB6 to have a Byte variable set...
  29. Replies
    11
    Views
    1,065

    Re: What are square brackets used for in VB6?

    I tried using that, along with the code you posted below for the Fester class. It doesn't work. The line "Set Range = Fester.[x:z]" produces the error "Object doesn't support this property or method".
  30. Re: Here's how to execute any arbitrary x86 machine code from a VB6 program.

    I'm aware DispCallFunc more fully featured, but it's also much more of a PAIN to setup and use, and MSDN doesn't even have good documentation for it (like the various args passed on the stack to...
  31. Re: Here's how to execute any arbitrary x86 machine code from a VB6 program.

    DEP (data execution prevention) requires not only the it's running in a version of Windows that supports it, but also that it's enabled in a flag bit in the EXE itself. Visual Basic's linker does not...
  32. Here's how to execute any arbitrary x86 machine code from a VB6 program.

    Just paste this code in Form1, and make sure Auto Redraw is enabled for the form. I've commented this code so you can see how it works at a glance.


    'Repurpose the CallWindowProcA function to...
  33. Replies
    11
    Views
    1,065

    What are square brackets used for in VB6?

    They do appear to be a legit thing, as VB6 recognizes when only an opening bracket is used without a closing bracket. So it doesn't see it as just a normal number or letter. It clearly has some...
  34. Replies
    3
    Views
    1,144

    Questions about Strings and Threads

    So I have questions about these 2 separate topics, as they will both be used in the program I'm trying to make.

    Regarding strings, when compiling in MS Visual C++? My copy of MSVC++ has 2 include...
  35. Re: How do ActiveX DLLs actually store their exported functions?

    Still not sure how that works. The registry contains several GUIDs for interfaces and classes in the DLL, but how does the program using the DLL convert those GUIDs to the actual pointers to the...
  36. Replies
    3
    Views
    454

    Questions about ActiveX DLLs.

    Obviously the No Compatibility setting means there's no guaranty that the next time it's compiled it will have any similarity to the previous time it was compiled. But then there's Project...
  37. How do ActiveX DLLs actually store their exported functions?

    I know they are not exported the normal way, but instead the DLL's classes get registered in the Windows registry as GUIDs. But once a program checks the registry for the GUID for a class in the...
  38. Re: Can someone tell me about undocumented sections in VBP files?

    What does the /OPT:NOWIN98 option actually do? I can't find anything for it on Google, not even (possibly broken) links to old MSDN Visual Studio articles about it. Nothing at all. All I see are...
  39. Re: Can someone tell me about undocumented sections in VBP files?

    Cool! Big thanks! Where did you figure that out? Was that ever officially documented by MS? Or was that discovered originally by hackers and reverse engineers?

    Is there also a releated trick to...
  40. Re: Can someone tell me about undocumented sections in VBP files?

    Thanks.Thats's what I was looking for.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width