473,569 Members | 2,436 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

'New' not behaving as exprected. Advice needed urgently.

Hi

Long Post - Please read to end to understand my question.

I am writing a telnet server in VB.net

(code samples lower down)

I connect two hyperterm sessions to the code. (2 telnet sessions.)

The state object created when the socket connects as such

Public Shared Sub AcceptCallback( ByVal ar As IAsyncResult)
Dim State As New StateObject()
State.sb = ""
State.UserData = New StateObject.Col lectData()
.....
end

This triggers the new statement for
Public Class CollectData.
When I examine the memory of these items (using memory window)
they are assigned "nothing" before the call new new.

After the call to new the are assigned the same memory address for both
threads.

Can anyone please tell me why this is happening. The other items in the
structer
StockTakeNo
BranchCodeId
StockRoomId
UserName
Password
all appear correct and contail the data givvent to them by the new session.
The collections (having the same address in both threads) have a combined
pool of information. This is breaking the app as each session deals with and
writes different data to the database.
Thread 1
colBarCodeSize 0x0210A794
colBarCode 0x0210A790

Thread 2
colBarCodeSize 0x0210A794
colBarCode 0x0210A790

Other code can be posted as required. Any mindfull insight into this will be
appretiated.

The following are structures extracted from the code.

Public Class BarCodeSizeData
Public BarCodePrdSizeI D As Long
Public BarCodeQty As Integer
End Class

Public Class BarCodeData
Public BarCodeString As String
Public BarCodePrdColou rID As Long
Public TotPrdCodeQty As Integer
Public ArrLen As Integer
Public aListOfItems(50 ) As Integer
End Class

Public Class StateObject
Public Class CollectData
Public StockTakeNo As String
Public BranchCodeId As Long
Public StockRoomId As Long
Public UserName As String
Public Password As String
Public BinNo As String
Public ToCount As String
Public Counter As Integer
Public Shared colBarCode As BarCodeDataColl ection
Public Shared colBarCodeSize As BarCodeSizeColl ection

Sub New()
colBarCode = New BarCodeDataColl ection()
colBarCodeSize = New BarCodeSizeColl ection()
End Sub

End Class

Public Class BarCodeSizeColl ection
Inherits System.Collecti ons.CollectionB ase
Public Sub Add(ByVal SizeData As BarCodeSizeData )
' Invokes Add method of the List object to add a widget.
List.Add(SizeDa ta)
End Sub

Public Sub Remove(ByVal index As Integer)
' Check to see if there is a widget at the supplied index.
If index > Count - 1 Or index < 0 Then
Else
List.RemoveAt(i ndex)
End If
End Sub

Public Property Item(ByVal index As Integer) As BarCodeSizeData
Get
' The appropriate item is retrieved from the List object and
' explicitly cast to the Widget type, then returned to the
' caller.
Return CType(List.Item (index), BarCodeSizeData )
End Get
Set(ByVal Value As BarCodeSizeData )
List.Item(index ) = Value
End Set
End Property
end class

Public Class BarCodeDataColl ection
Inherits System.Collecti ons.CollectionB ase

Public Sub Add(ByVal CodeData As BarCodeData)
List.Add(CodeDa ta)
End Sub

Public Sub Remove(ByVal index As Integer)
' Check to see if there is a widget at the supplied index.
If index > Count - 1 Or index < 0 Then
Else
List.RemoveAt(i ndex)
End If
End Sub

Public Property Item(ByVal index As Integer) As BarCodeData
Get
' The appropriate item is retrieved from the List object and
' explicitly cast to the Widget type, then returned to the
' caller.
Return CType(List.Item (index), BarCodeData)
End Get
Set(ByVal Value As BarCodeData)
List.Item(index ) = Value
End Set
End Property

End Class
Nov 21 '05 #1
4 1016
Hi,

Add a new procedure to your class to assign a value to the
variables even if it is a 0 or "" that way they are not nothing. I prefer to
use public properties instead of public variables for passing data to and
from the class. The properties allow you to validate the data being sent in.

Ken
-------------------------

"Hylton" wrote:
Hi

Long Post - Please read to end to understand my question.

I am writing a telnet server in VB.net

(code samples lower down)

I connect two hyperterm sessions to the code. (2 telnet sessions.)

The state object created when the socket connects as such

Public Shared Sub AcceptCallback( ByVal ar As IAsyncResult)
Dim State As New StateObject()
State.sb = ""
State.UserData = New StateObject.Col lectData()
....
end

This triggers the new statement for
Public Class CollectData.
When I examine the memory of these items (using memory window)
they are assigned "nothing" before the call new new.

After the call to new the are assigned the same memory address for both
threads.

Can anyone please tell me why this is happening. The other items in the
structer
StockTakeNo
BranchCodeId
StockRoomId
UserName
Password
all appear correct and contail the data givvent to them by the new session.
The collections (having the same address in both threads) have a combined
pool of information. This is breaking the app as each session deals with and
writes different data to the database.
Thread 1
colBarCodeSize 0x0210A794
colBarCode 0x0210A790

Thread 2
colBarCodeSize 0x0210A794
colBarCode 0x0210A790

Other code can be posted as required. Any mindfull insight into this will be
appretiated.

The following are structures extracted from the code.

Public Class BarCodeSizeData
Public BarCodePrdSizeI D As Long
Public BarCodeQty As Integer
End Class

Public Class BarCodeData
Public BarCodeString As String
Public BarCodePrdColou rID As Long
Public TotPrdCodeQty As Integer
Public ArrLen As Integer
Public aListOfItems(50 ) As Integer
End Class

Public Class StateObject
Public Class CollectData
Public StockTakeNo As String
Public BranchCodeId As Long
Public StockRoomId As Long
Public UserName As String
Public Password As String
Public BinNo As String
Public ToCount As String
Public Counter As Integer
Public Shared colBarCode As BarCodeDataColl ection
Public Shared colBarCodeSize As BarCodeSizeColl ection

Sub New()
colBarCode = New BarCodeDataColl ection()
colBarCodeSize = New BarCodeSizeColl ection()
End Sub

End Class

Public Class BarCodeSizeColl ection
Inherits System.Collecti ons.CollectionB ase
Public Sub Add(ByVal SizeData As BarCodeSizeData )
' Invokes Add method of the List object to add a widget.
List.Add(SizeDa ta)
End Sub

Public Sub Remove(ByVal index As Integer)
' Check to see if there is a widget at the supplied index.
If index > Count - 1 Or index < 0 Then
Else
List.RemoveAt(i ndex)
End If
End Sub

Public Property Item(ByVal index As Integer) As BarCodeSizeData
Get
' The appropriate item is retrieved from the List object and
' explicitly cast to the Widget type, then returned to the
' caller.
Return CType(List.Item (index), BarCodeSizeData )
End Get
Set(ByVal Value As BarCodeSizeData )
List.Item(index ) = Value
End Set
End Property
end class

Public Class BarCodeDataColl ection
Inherits System.Collecti ons.CollectionB ase

Public Sub Add(ByVal CodeData As BarCodeData)
List.Add(CodeDa ta)
End Sub

Public Sub Remove(ByVal index As Integer)
' Check to see if there is a widget at the supplied index.
If index > Count - 1 Or index < 0 Then
Else
List.RemoveAt(i ndex)
End If
End Sub

Public Property Item(ByVal index As Integer) As BarCodeData
Get
' The appropriate item is retrieved from the List object and
' explicitly cast to the Widget type, then returned to the
' caller.
Return CType(List.Item (index), BarCodeData)
End Get
Set(ByVal Value As BarCodeData)
List.Item(index ) = Value
End Set
End Property

End Class

Nov 21 '05 #2
Ken, thanks for the reply.

Towards the bottom of the post is the following :
Public Class StateObject
Public Class CollectData
Public StockTakeNo As String
Public BranchCodeId As Long
Public StockRoomId As Long
Public UserName As String
Public Password As String
Public BinNo As String
Public ToCount As String
Public Counter As Integer
Public Shared colBarCode As BarCodeDataColl ection
Public Shared colBarCodeSize As BarCodeSizeColl ection

Sub New()
colBarCode = New BarCodeDataColl ection()
colBarCodeSize = New BarCodeSizeColl ection()
End Sub

End Class

The 'new' is called when an instance of CollectData is created.
When a second instance of CollectData is created in another thread (another
connection) the addresses of colBarCode and colBarCodeSize are the same as
the previous thread. They were nothing before new got called . My problem :
Why are they pointing to the same memory. It appears that the new is not
creating a new instance of the collections but rather seeing that there is
one in memory already is using it instead.


"Ken Tucker [MVP]" wrote:
Hi,

Add a new procedure to your class to assign a value to the
variables even if it is a 0 or "" that way they are not nothing. I prefer to
use public properties instead of public variables for passing data to and
from the class. The properties allow you to validate the data being sent in.

Ken
-------------------------

"Hylton" wrote:
Hi

Long Post - Please read to end to understand my question.

I am writing a telnet server in VB.net

(code samples lower down)

I connect two hyperterm sessions to the code. (2 telnet sessions.)

The state object created when the socket connects as such

Public Shared Sub AcceptCallback( ByVal ar As IAsyncResult)
Dim State As New StateObject()
State.sb = ""
State.UserData = New StateObject.Col lectData()
....
end

This triggers the new statement for
Public Class CollectData.
When I examine the memory of these items (using memory window)
they are assigned "nothing" before the call new new.

After the call to new the are assigned the same memory address for both
threads.

Can anyone please tell me why this is happening. The other items in the
structer
StockTakeNo
BranchCodeId
StockRoomId
UserName
Password
all appear correct and contail the data givvent to them by the new session.
The collections (having the same address in both threads) have a combined
pool of information. This is breaking the app as each session deals with and
writes different data to the database.
Thread 1
colBarCodeSize 0x0210A794
colBarCode 0x0210A790

Thread 2
colBarCodeSize 0x0210A794
colBarCode 0x0210A790

Other code can be posted as required. Any mindfull insight into this will be
appretiated.

The following are structures extracted from the code.

Public Class BarCodeSizeData
Public BarCodePrdSizeI D As Long
Public BarCodeQty As Integer
End Class

Public Class BarCodeData
Public BarCodeString As String
Public BarCodePrdColou rID As Long
Public TotPrdCodeQty As Integer
Public ArrLen As Integer
Public aListOfItems(50 ) As Integer
End Class

Public Class StateObject
Public Class CollectData
Public StockTakeNo As String
Public BranchCodeId As Long
Public StockRoomId As Long
Public UserName As String
Public Password As String
Public BinNo As String
Public ToCount As String
Public Counter As Integer
Public Shared colBarCode As BarCodeDataColl ection
Public Shared colBarCodeSize As BarCodeSizeColl ection

Sub New()
colBarCode = New BarCodeDataColl ection()
colBarCodeSize = New BarCodeSizeColl ection()
End Sub

End Class

Public Class BarCodeSizeColl ection
Inherits System.Collecti ons.CollectionB ase
Public Sub Add(ByVal SizeData As BarCodeSizeData )
' Invokes Add method of the List object to add a widget.
List.Add(SizeDa ta)
End Sub

Public Sub Remove(ByVal index As Integer)
' Check to see if there is a widget at the supplied index.
If index > Count - 1 Or index < 0 Then
Else
List.RemoveAt(i ndex)
End If
End Sub

Public Property Item(ByVal index As Integer) As BarCodeSizeData
Get
' The appropriate item is retrieved from the List object and
' explicitly cast to the Widget type, then returned to the
' caller.
Return CType(List.Item (index), BarCodeSizeData )
End Get
Set(ByVal Value As BarCodeSizeData )
List.Item(index ) = Value
End Set
End Property
end class

Public Class BarCodeDataColl ection
Inherits System.Collecti ons.CollectionB ase

Public Sub Add(ByVal CodeData As BarCodeData)
List.Add(CodeDa ta)
End Sub

Public Sub Remove(ByVal index As Integer)
' Check to see if there is a widget at the supplied index.
If index > Count - 1 Or index < 0 Then
Else
List.RemoveAt(i ndex)
End If
End Sub

Public Property Item(ByVal index As Integer) As BarCodeData
Get
' The appropriate item is retrieved from the List object and
' explicitly cast to the Widget type, then returned to the
' caller.
Return CType(List.Item (index), BarCodeData)
End Get
Set(ByVal Value As BarCodeData)
List.Item(index ) = Value
End Set
End Property

End Class

Nov 21 '05 #3
Hi,

A shared variable means there is only one per class. Thats means
if you for example 100 variables of the stateobject class there still will
only be one barcodecollecti on and one barcodesizecoll ection.

http://msdn.microsoft.com/library/de...akeyShared.asp

Ken
----------------------
"Hylton" wrote:
Ken, thanks for the reply.

Towards the bottom of the post is the following :
Public Class StateObject
Public Class CollectData
Public StockTakeNo As String
Public BranchCodeId As Long
Public StockRoomId As Long
Public UserName As String
Public Password As String
Public BinNo As String
Public ToCount As String
Public Counter As Integer
Public Shared colBarCode As BarCodeDataColl ection
Public Shared colBarCodeSize As BarCodeSizeColl ection

Sub New()
colBarCode = New BarCodeDataColl ection()
colBarCodeSize = New BarCodeSizeColl ection()
End Sub

End Class

The 'new' is called when an instance of CollectData is created.
When a second instance of CollectData is created in another thread (another
connection) the addresses of colBarCode and colBarCodeSize are the same as
the previous thread. They were nothing before new got called . My problem :
Why are they pointing to the same memory. It appears that the new is not
creating a new instance of the collections but rather seeing that there is
one in memory already is using it instead.


"Ken Tucker [MVP]" wrote:
Hi,

Add a new procedure to your class to assign a value to the
variables even if it is a 0 or "" that way they are not nothing. I prefer to
use public properties instead of public variables for passing data to and
from the class. The properties allow you to validate the data being sent in.

Ken
-------------------------

"Hylton" wrote:
Hi

Long Post - Please read to end to understand my question.

I am writing a telnet server in VB.net

(code samples lower down)

I connect two hyperterm sessions to the code. (2 telnet sessions.)

The state object created when the socket connects as such

Public Shared Sub AcceptCallback( ByVal ar As IAsyncResult)
Dim State As New StateObject()
State.sb = ""
State.UserData = New StateObject.Col lectData()
....
end

This triggers the new statement for
Public Class CollectData.
When I examine the memory of these items (using memory window)
they are assigned "nothing" before the call new new.

After the call to new the are assigned the same memory address for both
threads.

Can anyone please tell me why this is happening. The other items in the
structer
StockTakeNo
BranchCodeId
StockRoomId
UserName
Password
all appear correct and contail the data givvent to them by the new session.
The collections (having the same address in both threads) have a combined
pool of information. This is breaking the app as each session deals with and
writes different data to the database.
Thread 1
colBarCodeSize 0x0210A794
colBarCode 0x0210A790

Thread 2
colBarCodeSize 0x0210A794
colBarCode 0x0210A790

Other code can be posted as required. Any mindfull insight into this will be
appretiated.

The following are structures extracted from the code.

Public Class BarCodeSizeData
Public BarCodePrdSizeI D As Long
Public BarCodeQty As Integer
End Class

Public Class BarCodeData
Public BarCodeString As String
Public BarCodePrdColou rID As Long
Public TotPrdCodeQty As Integer
Public ArrLen As Integer
Public aListOfItems(50 ) As Integer
End Class

Public Class StateObject
Public Class CollectData
Public StockTakeNo As String
Public BranchCodeId As Long
Public StockRoomId As Long
Public UserName As String
Public Password As String
Public BinNo As String
Public ToCount As String
Public Counter As Integer
Public Shared colBarCode As BarCodeDataColl ection
Public Shared colBarCodeSize As BarCodeSizeColl ection

Sub New()
colBarCode = New BarCodeDataColl ection()
colBarCodeSize = New BarCodeSizeColl ection()
End Sub

End Class

Public Class BarCodeSizeColl ection
Inherits System.Collecti ons.CollectionB ase
Public Sub Add(ByVal SizeData As BarCodeSizeData )
' Invokes Add method of the List object to add a widget.
List.Add(SizeDa ta)
End Sub

Public Sub Remove(ByVal index As Integer)
' Check to see if there is a widget at the supplied index.
If index > Count - 1 Or index < 0 Then
Else
List.RemoveAt(i ndex)
End If
End Sub

Public Property Item(ByVal index As Integer) As BarCodeSizeData
Get
' The appropriate item is retrieved from the List object and
' explicitly cast to the Widget type, then returned to the
' caller.
Return CType(List.Item (index), BarCodeSizeData )
End Get
Set(ByVal Value As BarCodeSizeData )
List.Item(index ) = Value
End Set
End Property
end class

Public Class BarCodeDataColl ection
Inherits System.Collecti ons.CollectionB ase

Public Sub Add(ByVal CodeData As BarCodeData)
List.Add(CodeDa ta)
End Sub

Public Sub Remove(ByVal index As Integer)
' Check to see if there is a widget at the supplied index.
If index > Count - 1 Or index < 0 Then
Else
List.RemoveAt(i ndex)
End If
End Sub

Public Property Item(ByVal index As Integer) As BarCodeData
Get
' The appropriate item is retrieved from the List object and
' explicitly cast to the Widget type, then returned to the
' caller.
Return CType(List.Item (index), BarCodeData)
End Get
Set(ByVal Value As BarCodeData)
List.Item(index ) = Value
End Set
End Property

End Class

Nov 21 '05 #4
Just relialised that myselef,
However when I remove the shared I get an error (probably why it was there
in the first place).

Found that too. Was using the variable type and not the varialble name in
the code.

Many thanks Ken.

This is appretiated.

"Ken Tucker [MVP]" wrote:
Hi,

A shared variable means there is only one per class. Thats means
if you for example 100 variables of the stateobject class there still will
only be one barcodecollecti on and one barcodesizecoll ection.

http://msdn.microsoft.com/library/de...akeyShared.asp

Ken
----------------------
"Hylton" wrote:
Ken, thanks for the reply.

Towards the bottom of the post is the following :
Public Class StateObject
Public Class CollectData
Public StockTakeNo As String
Public BranchCodeId As Long
Public StockRoomId As Long
Public UserName As String
Public Password As String
Public BinNo As String
Public ToCount As String
Public Counter As Integer
Public Shared colBarCode As BarCodeDataColl ection
Public Shared colBarCodeSize As BarCodeSizeColl ection

Sub New()
colBarCode = New BarCodeDataColl ection()
colBarCodeSize = New BarCodeSizeColl ection()
End Sub

End Class

The 'new' is called when an instance of CollectData is created.
When a second instance of CollectData is created in another thread (another
connection) the addresses of colBarCode and colBarCodeSize are the same as
the previous thread. They were nothing before new got called . My problem :
Why are they pointing to the same memory. It appears that the new is not
creating a new instance of the collections but rather seeing that there is
one in memory already is using it instead.


"Ken Tucker [MVP]" wrote:
Hi,

Add a new procedure to your class to assign a value to the
variables even if it is a 0 or "" that way they are not nothing. I prefer to
use public properties instead of public variables for passing data to and
from the class. The properties allow you to validate the data being sent in.

Ken
-------------------------

"Hylton" wrote:

> Hi
>
> Long Post - Please read to end to understand my question.
>
> I am writing a telnet server in VB.net
>
> (code samples lower down)
>
> I connect two hyperterm sessions to the code. (2 telnet sessions.)
>
> The state object created when the socket connects as such
>
> Public Shared Sub AcceptCallback( ByVal ar As IAsyncResult)
> Dim State As New StateObject()
> State.sb = ""
> State.UserData = New StateObject.Col lectData()
> ....
> end
>
> This triggers the new statement for
> Public Class CollectData.
> When I examine the memory of these items (using memory window)
> they are assigned "nothing" before the call new new.
>
> After the call to new the are assigned the same memory address for both
> threads.
>
> Can anyone please tell me why this is happening. The other items in the
> structer
> StockTakeNo
> BranchCodeId
> StockRoomId
> UserName
> Password
> all appear correct and contail the data givvent to them by the new session.
> The collections (having the same address in both threads) have a combined
> pool of information. This is breaking the app as each session deals with and
> writes different data to the database.
>
>
> Thread 1
> colBarCodeSize 0x0210A794
> colBarCode 0x0210A790
>
> Thread 2
> colBarCodeSize 0x0210A794
> colBarCode 0x0210A790
>
> Other code can be posted as required. Any mindfull insight into this will be
> appretiated.
>
>
>
> The following are structures extracted from the code.
>
> Public Class BarCodeSizeData
> Public BarCodePrdSizeI D As Long
> Public BarCodeQty As Integer
> End Class
>
> Public Class BarCodeData
> Public BarCodeString As String
> Public BarCodePrdColou rID As Long
> Public TotPrdCodeQty As Integer
> Public ArrLen As Integer
> Public aListOfItems(50 ) As Integer
> End Class
>
> Public Class StateObject
> Public Class CollectData
> Public StockTakeNo As String
> Public BranchCodeId As Long
> Public StockRoomId As Long
> Public UserName As String
> Public Password As String
> Public BinNo As String
> Public ToCount As String
> Public Counter As Integer
> Public Shared colBarCode As BarCodeDataColl ection
> Public Shared colBarCodeSize As BarCodeSizeColl ection
>
> Sub New()
> colBarCode = New BarCodeDataColl ection()
> colBarCodeSize = New BarCodeSizeColl ection()
> End Sub
>
> End Class
>
> Public Class BarCodeSizeColl ection
> Inherits System.Collecti ons.CollectionB ase
> Public Sub Add(ByVal SizeData As BarCodeSizeData )
> ' Invokes Add method of the List object to add a widget.
> List.Add(SizeDa ta)
> End Sub
>
> Public Sub Remove(ByVal index As Integer)
> ' Check to see if there is a widget at the supplied index.
> If index > Count - 1 Or index < 0 Then
> Else
> List.RemoveAt(i ndex)
> End If
> End Sub
>
> Public Property Item(ByVal index As Integer) As BarCodeSizeData
> Get
> ' The appropriate item is retrieved from the List object and
> ' explicitly cast to the Widget type, then returned to the
> ' caller.
> Return CType(List.Item (index), BarCodeSizeData )
> End Get
> Set(ByVal Value As BarCodeSizeData )
> List.Item(index ) = Value
> End Set
> End Property
> end class
>
> Public Class BarCodeDataColl ection
> Inherits System.Collecti ons.CollectionB ase
>
> Public Sub Add(ByVal CodeData As BarCodeData)
> List.Add(CodeDa ta)
> End Sub
>
> Public Sub Remove(ByVal index As Integer)
> ' Check to see if there is a widget at the supplied index.
> If index > Count - 1 Or index < 0 Then
> Else
> List.RemoveAt(i ndex)
> End If
> End Sub
>
> Public Property Item(ByVal index As Integer) As BarCodeData
> Get
> ' The appropriate item is retrieved from the List object and
> ' explicitly cast to the Widget type, then returned to the
> ' caller.
> Return CType(List.Item (index), BarCodeData)
> End Get
> Set(ByVal Value As BarCodeData)
> List.Item(index ) = Value
> End Set
> End Property
>
> End Class
>
>

Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1596
by: Bert | last post by:
Sorry for the unclear subject line. I've got to write a download script for and existing file manager (we are working on a complete redesign for this file manager, but the functionality of downloading zipped folders is urgently needed). Files and folders can be set invisible to the normal user. They are stored on the HD and are referenced...
11
912
by: Jonan | last post by:
Hello, For several reasons I want to replace the built-in memory management with some custom built. The mem management itlsef is not subject to my question - it's ok to the point that I have nice and working allocation deallocation routines. However, I don't want to loose the nice extras of new operator, like - constructor calling,...
24
2833
by: Rv5 | last post by:
Rookie c++ question, but Ive spent the last 5 years doing Java, where everytime I created an object I used new. In c++ I can create my objects without and its confusing me just a little. I have a class called polynomial. Its a nothing little class right now, with just int variables, a basic container class. Im using it as I go through...
37
2100
by: Art | last post by:
Hello everyone, I am interested in starting an all volunteer website which will be directed at recovering missing children. I am aware that there are few other sites out there with the same mission. However, My perspective I believe is a little different and more pro-active. And, the way I view... worst case scenario, we recover a few...
4
1379
by: xunitinmullik | last post by:
Hello ppl: I am facing a problem that I ahve never experienced before with the secured database. I created an MS Access 2000 application (.mdb) using MS Access 2002 and secured it using exactly the procedure described in the Access Security FAQ and as I have been doing since the time I have started using Access. So let the access...
5
1904
by: el prinCipante | last post by:
I'm getting tired of the following error message. Compiler Error message : Error: Need explicit cast to convert from: float to: float * I am trying to use a routine from the Numerical Recipes library called amebsa.c. The routine requires several parameters of the following form. *iter, **p, *yb.... . How does one initialize these...
1
1438
by: MrGiga (Robb Sadler) | last post by:
I have a set of pages with C# code attached to manage session information. They hang their info off of the session string and store it in a MSDE table. I have all of this code working well in one app and started another app which needed much of the same functionality. So I copied the pages, code behinds, web.config and appropriate DB tables to...
6
5671
by: crack.the.hack | last post by:
Hi All, If I am changing the database machine, what should I do not to prep bind the sqc files everytime. Because I need to build my application everytime the database is changed? Is there any way, to do prep bind with "defined timestamp" or something which does not require any prep - binding even when the
1
1457
by: Robert Wells | last post by:
Gentlemen, We are looking for two IBM documents that are needed urgently for a project. They are titled "4680 Store Systems Serial I/O Channel Attachment Information" and "Serial I/O Product Attachment Information". $100 will be paid to the first person to deliver either or both of these documents in their entirety. If you have partial...
0
7703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7926
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8138
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7983
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6287
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3657
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1228
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
946
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.