fb:porticula NoPaste
TSNE v3 Speicherzugriffsfehler (gelöst)
Uploader: | St_W |
Datum/Zeit: | 09.02.2011 16:48:45 |
#Include Once "tsne_v3.bi"
Dim Shared G_ClientWeb As UInteger
Sub TSNE_ConnectedWeb(ByVal V_TSNEID as UInteger)
End Sub
Sub TSNE_DisconnectedWeb(ByVal V_TSNEID as UInteger)
End Sub
Sub TSNE_NewDataWeb (ByVal V_TSNEID as UInteger, ByRef V_Data as String)
End Sub
sub Test(byval a as any ptr)
dim BV as Integer
' Speicherzugriffsfehler
BV = TSNE_Create_Client(G_ClientWeb, "localhost", 80, @TSNE_DisconnectedWeb, @TSNE_ConnectedWeb, @TSNE_NewDataWeb, 60)
end sub
'WICHTIG: Stacksize, sonst obiger Segmentation fault
ThreadCreate(@Test,,512000)