Search:

Type: Posts; User: couttsj

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    27
    Views
    946

    Re: MakeDLL problem

    This is a working copy of the basic DLL (fRead.dll) and the program to test it (Test.vbp). The test file to be read (Test01.bin) is a 4 byte file in the app directory consisting of the ASCII...
  2. Replies
    27
    Views
    946

    Re: MakeDLL problem

    It is on the way. My ultimate goal was to make IOFile API calls more streamlined, but I was trying to get there using more normal VB6 routines. That didn't really work out very well.

    J.A. Coutts
  3. Replies
    27
    Views
    946

    Re: MakeDLL problem

    Thanks Elroy;

    I already tried that, but obviously there is some other problem. I am going to try IOFile API. It uses the file Handle as long instead of the file Name as string.

    J.A. Coutts
  4. Replies
    27
    Views
    946

    Re: MakeDLL problem

    It appears that the Runtime error was caused by the name I gave the new DLL file. The name "ReadFile" was already in use by the Kernel.

    The next problem is that the DLL is incapable of accepting...
  5. Replies
    27
    Views
    946

    Re: MakeDLL problem

    Now that I have the MakeDLL AddIn working again, I set out to recreate the issue. The original problem created a runtime error:
    Run-time error '-2147467259 (80004005)':
    Method '-' object '-' failed...
  6. Replies
    27
    Views
    946

    Re: MakeDLL problem

    I managed to get one of my machines (Win 8.2) working again. I followed the install instructions, but ran into an issue attempting to create MakeDLL.dll. When I loaded the AddIn project...
  7. Replies
    27
    Views
    946

    [RESOLVED] MakeDLL problem

    Does anyone out there use AddIn MakeDLL from DanSoft? I ran into a problem compiling a standard DLL, and when I attempted to fix it, I completely screwed it up. Attempts to re-install it have failed,...
  8. Replies
    9
    Views
    851

    Re: VB6 - IOCP problem

    The only circular buffer examples I could find dealt with single byte buffers subject to overflow. But that information pointed me in the direction of double buffer without the possibility of...
  9. Re: Problem VB6 connecting to a webservice with TLS 1.2

    See: https://www.vbforums.com/showthread.php?901057-VB6-MultiThread-Download

    It utilizes wininet.dll using multithreading, but I presume that wininet.dll can be used without multithreading. It...
  10. Replies
    12
    Views
    653

    Re: Error to do with Connectivity

    If you are going to leave a TCP connection open for extended periods without any traffic, you have to take extra precautions. Disconnection is a 2 way street. I can't remember the exact details, but...
  11. Replies
    4
    Views
    435

    Re: Package and deployment app throws error

    The only thing wrong with the MS package and deployment wizard is that some antivirus software will detect it as malware. The advantage of the MS setup tool is that it will not install a library if a...
  12. Re: Need to know the exact behavior under this scenario with sockets.

    I believe what you are seeking is what the Completion Port is supposed to provide. You tell the port what to expect, and when that function is complete it releases the data. Unfortunately, it doesn't...
  13. Re: Need to know the exact behavior under this scenario with sockets.

    I am not sure what the question is, but this is my understanding.

    - the sender sends the data in byte form in whatever size up to 64 KB.
    - the sender stack breaks up that data into packets...
  14. Replies
    9
    Views
    851

    Re: VB6 - IOCP problem

    To solve the problem, I came up with this simulation. The bulk of the code is for the generation of the samples, and the only part relative to the issue is the "Process" routine. My intention is to...
  15. Replies
    60
    Views
    68,186

    Re: VB6 - Huge (>2GB) File I/O Class

    I have been having the same problem. When ever the program crashes (in the IDE or not), it leaves the file open. I am using file API, but I don't think that matters. The API requires the handle to...
  16. Re: HAve to run Executable as Elevated, otherwise....

    What I failed to mention in the example I gave is that VB6-NoUAC references the normal VB6 link which is set to "Run as Administrator". Since Win 8.0, UAC still requires an acknowledgement from you...
  17. Re: HAve to run Executable as Elevated, otherwise....

    The IDE is already running in Administrative mode. What you can do is create a desktop link that uses the Task Scheduler to start the application. For example, I created one to start VB6:...
  18. Replies
    5
    Views
    465

    Re: get name of .zip file name from web page

    Normally I would say you simply right click on the link and copy it, but in this case the link does not contain the file name. The name of the link is unrelated....
  19. Replies
    10
    Views
    801

    Re: Post Viewing Problem

    When contacted directly, Zvoni promptly corrected the problem.

    J.A. Coutts
  20. Replies
    9
    Views
    851

    Re: VB6 - IOCP problem

    That is basically what I intend to do, only I don't have control over what gets delivered. The completion port does. The other option is a circular buffer, which I have never implemented before. What...
  21. Replies
    9
    Views
    851

    Re: VB6 - IOCP problem

    SmUX2k;

    Thank you for responding. What you have to appreciate in this attempt is that both the Winsock Control and my own SimpleSock are too slow. IOCP is much faster because much of the work is...
  22. Replies
    10
    Views
    801

    Re: Post Viewing Problem

    I would suggest that is the problem. Here is the page source.


    <blockquote class="signature restore"><div class="signaturecontainer"><font size="1"><i>Last edited by Zvoni; Tomorrow at 31:69...
  23. Replies
    10
    Views
    801

    Re: Post Viewing Problem

    Strangely enough, I found that any page that Zvoni had posted to exhibits this behaviour.

    J.A. Coutts
  24. Replies
    10
    Views
    801

    [RESOLVED] Post Viewing Problem

    Does anyone know why some VBForums pages only show about 2/3 of the total page width? It makes the posts difficult to read. The first page of...
  25. Replies
    9
    Views
    851

    VB6 - IOCP problem

    In the process of developing an I/O Completion Port server and client, each program was tested with a program built with SimpleSock. Then I attempted to run the IOCP client with the IOCP server, and...
  26. Re: Multiline tooltips with TTS_BALLOON style show rectangles under Windows 10

    I don't remember exactly, but I do remember I had to do a lot of searching. My particular problem was windows displayed when right clicking on a tray icon. You might try:...
  27. Re: Multiline tooltips with TTS_BALLOON style show rectangles under Windows 10

    I assume what you mean by "edgy" is square corners. I don't know if this is related to your particular problem or not, but Windows 11 (and probably Win 10) utilize the notification square cornered...
  28. Replies
    13
    Views
    2,607

    Re: IOCP Server - VB6

    The need for multi threading on the Client end is highly questionable considering the amount of resources it requires. On the Server end however, it is very desirable.

    J.A. Coutts
  29. Replies
    13
    Views
    2,607

    Re: IOCP Server - VB6

    The reason for developing this program is that on larger file transfers, the Client program I was using (built with SimpleSock), was not fast enough to keep up with the IOCP server program I was...
  30. Thread: Memory Leak?

    by couttsj
    Replies
    13
    Views
    1,078

    Re: Memory Leak?

    The use of the "End" statement may have temporarily resolved the issue for the single threaded monster that I have created, but what I am more interested in is how to shut down multi threaded loops...
  31. Thread: Memory Leak?

    by couttsj
    Replies
    13
    Views
    1,078

    Re: Memory Leak?

    One form, one thread, one socket.


    Private Sub Form_Unload(Cancel As Integer)
    TerminateThread mHandle0, ByVal 0&
    Releasesocket
    End
    End Sub
  32. Thread: Memory Leak?

    by couttsj
    Replies
    13
    Views
    1,078

    Re: Memory Leak?

    I don't pretend to understand this, but placing an "End" statement after terminating the thread and releasing the socket appears to have resolved the issue? Is "End" related to the API "EndTask"...
  33. Thread: Memory Leak?

    by couttsj
    Replies
    13
    Views
    1,078

    Re: Memory Leak?

    File moves from "Apps" to "Background Processes". No mention of suspended in properties.

    J.A. Coutts
  34. Thread: Memory Leak?

    by couttsj
    Replies
    13
    Views
    1,078

    Re: Memory Leak?

    Thread Created. Thread terminated.

    J.A. Coutts
  35. Thread: Memory Leak?

    by couttsj
    Replies
    13
    Views
    1,078

    Re: Memory Leak?

    1 form, 2 modules, 1 Class
    This behaviour only exhibits in the executable. The Class however contains an endless loop that is left in the signalled state. When a completed transaction is received by...
  36. Thread: Memory Leak?

    by couttsj
    Replies
    13
    Views
    1,078

    Memory Leak?

    This is a new one for me, one that I would have to classify as a memory leak. The program itself downloads files from the server using IOCP running on a single thread, and performs as expected...
  37. Re: Testing an internet link without opening browser

    See: https://www.vbforums.com/showthread.php?901057-VB6-MultiThread-Download

    It utilizes wininet.dll using multithreading, but I presume that wininet.dll can be used without multithreading. It...
  38. Re: Testing an internet link without opening browser

    All he asked for is an Internet link, from which I presumed he meant "Does the server exist?". It does not check if an individual page or file exists. For that you would actually need to connect to...
  39. Re: Testing an internet link without opening browser

    Have a look at https://www.vbforums.com/showthread.php?864393-VB6-Transit-Time-Tester-V2

    It uses an abbreviated version of SimpleSock to measure the time it takes for the server to respond to a...
  40. Replies
    0
    Views
    656

    Windows File API

    In the past I have used the Binary File Access provided by VB6 using Open #x. Binary access is not supported by FSO (File System Object). I wanted to find out if file access using the Windows API was...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width