Search:
Type: Posts; User: couttsj
Search:
Search took 0.45 seconds; generated 20 minute(s) ago.
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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:...
-
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....
-
When contacted directly, Zvoni promptly corrected the problem.
J.A. Coutts
-
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...
-
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...
-
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...
-
Strangely enough, I found that any page that Zvoni had posted to exhibits this behaviour.
J.A. Coutts
-
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...
-
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...
-
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:...
-
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...
-
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
-
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...
-
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...
-
One form, one thread, one socket.
Private Sub Form_Unload(Cancel As Integer)
TerminateThread mHandle0, ByVal 0&
Releasesocket
End
End Sub
-
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"...
-
File moves from "Apps" to "Background Processes". No mention of suspended in properties.
J.A. Coutts
-
Thread Created. Thread terminated.
J.A. Coutts
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
Email servers have long required encryption. The primary purpose for this is to resist password theft. Most also now require 2 Factor Authentication as well. I have used JACMail for years, with the...
-
A MsgBox is just another form, but it behaves like a Modal form in that it halts program execution until the user responds. To make it appear like a MsgBox, change the ControlBox property to False...
-
Why screw around with MsgBox if it doesn't meet your needs. Make your own.
J.A. Coutts
-
According to the link in post #3, all I had to do was temporarily suspend "MsMpEng.exe" and Group Policy changes would remain. So far I can live with one scheduled scan per day. Defender still...
-
Once again I found an imperfect solution.
If FileData(0).FileLen <= 0 Then 'Last record, clear variables & close file
Close
Debug.Print FileData(0).FileName & " SAVED!"
...
-
My workaround was only hiding the real problem, which was not closing the file. Upon successful downloading of the file, the thread is supposed to close the file and clear the file variables.
...
-
Computer networking is not an easy thing to explain or understand. It is all based on the 7 layers of the OSI model. See:...
|
Click Here to Expand Forum to Full Width
|