Hi,
I'm using the API to open a socket and send and recieve data.
My code contains the following line and function:
send hTCPSocket, StripToAscii(bytLogin(), Len(strLogin) * 2), Len(strLogin), 0
Private Function StripToAscii(bytUnicode() As Byte, iLength As Integer) As Byte()
Dim iPos As...
Thanks,
I actually have some code that works when used in a VB exe but fails in ASP. What I've done is build an ActiveX DLL that reads from / writes to the registry. This DLL functions correctly when part of the exe, but mysteriously fails to write to the registry when created with
Reggy =...
Hi,
I've been searching this forum for an answer to my question and this was the closest thread to it that I could find. Unfortunately it doesn't seem that it was ever answered :_(
I too am trying to edit the server's registry and failing. Is anyone aware of any issues regarding this specific...
Thanks to both of you. A linked list would have been an equally elegant way of doing things, but I guess I miss real pointers and my days writing device drivers ;)
CHeers,
BoBL.
Here you go... something like this:
Dim MyArray[3000] As MyClass
Dim ThingsInList As Long
Function RemoveObject(Index As Integer) As Boolean
If Index < ThingsInList Then
CopyMemory MyArray(Index), MyArray(Index + 1), _
(UBound(MyArray) - Index) * LenB(MyArray(Index))...
HI,
I've coded myself into a bit of a corner here. I'm manipulating silly amounts of data in VB. Enough that I wanted to avoid Collections and Dictionaries, and instead have created wrapper classes around arrays.
Also, I should mention at this point they are arrays of objects.
Now I have the...
Thanks alot!
Actually, I'd found the GetModuleFileName call after some Googling. And the it only took me another hour to write the string handling. ;)
CHeers anyway. I'm going to go crawling back to Unix now!
(You are in a maze of twisty little API calls. They are all alike...)
Hi,
I'm doing a rapid dll (for this afternoon) in Visual C++. Backgound is UNIX!
I'm trying to start another application from a dll that plugs into another app again.
I'm using CreateProcess which works with an absolute path name. Unfortunately the location of the .exe is relative to the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.