Search:
Type: Posts; User: couttsj
Search:
Search took 0.08 seconds.
-
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...
-
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
-
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
-
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...
-
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...
-
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...
-
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,...
-
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...
|
Click Here to Expand Forum to Full Width
|