Menú

Mostrar Mensajes

Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.

Mostrar Mensajes Menú

Mensajes - ntaryl

#51
Thanks  raul338
have a  nice  day   
#52
Good evening   
Play with a small client server application .When listen for connections all my example clients connect succesfuly  on Server and all  data  arrive  on the list.
But  when connect 5 clients and close the number (3 client)  The  socket from  3 connection still open i think .Because if try to load another one client the new client take the number 6  ..
How  can make this  if the  client 3 close  then the  new client  take the number 3 again ?
sorry  for my english 
Have a good  time  and  talk tommorow
#53
thanks  for  the  reply   Cobein   
have a  good  day   
#54
thanks  again   
with  this  example  my  project  crash 
i  try  to use it again   
and  this  work   

Dim strFilePath As String
   Dim hLibrary As Long
   Dim hResource As Long
   Dim hData As Long
   Dim lpData As Long
   ' Get the path to the Resource DLL
   strFilePath = "Sound.dll"
   ' Load the Resource DLL
   hLibrary = LoadLibrary(strFilePath & Chr(0))
   If hLibrary = 0 Then
      MsgBox "Failed to load the specified library with error code " & Err.LastDllError
      Exit Sub
   End If
   ' Get a .WAV file from the Resource DLL
   hResource = FindResource(hLibrary, "#101", "CUSTOM")
   If hResource <> 0 Then
      hData = LoadResource(hLibrary, hResource) 'This gets a handle to the data
      If hData <> 0 Then
         lpData = LockResource(hData) 'This gets a POINTER to the data... which is what we need
         If lpData <> 0 Then
            PlaySound ByVal lpData, 0, SND_MEMORY Or SND_NODEFAULT Or SND_SYNC
         End If
      End If
   End If
   
   ' Close the Resource DLL
   FreeLibrary hLibrary

have a good  afternoon
#55
Thanks  guys  for  the  answer  
and  also to spent  time  in my post
   .
seba123neo : i  change the  commend3 with  this  code and  when  run the  project  crash  my  vb ide
also  when  run it  compile  crash  again  
in  ur pc  work  fine   ?
thanks  for the time  

http://img521.imageshack.us/img521/7886/errorwx.jpg


thanks  for  ur  time  also El_coco

#56
thanks  for the  fast reply  
this  is my  example  
http://rapidshare.com/files/337400568/res-dll.rar.html
thanks  for the  tips  El_coco
in  local way  is  ok    
only with the dll  i  cant  
Thanks  for the time  

the example  come  from  thevbzone
#57
Good  evening 
I  try  this time  to load a res wav file from  dll   .but  no luck   
use this  example 
but  i dont  know  what the  wrong 
i successed to load from main project  and after try from dll  but something is wrong   
someone  can point me to  the correct way   


#58
Good  morning 
I  work with a small project client server (multiconnection)use(evil inside example)
Complete to have maximum connections (10) and everything go fine 
if someone from 10 clients  close the socket stay  open   
want to refresh the list   and the  clients socket .
For example if the socket number 3 close  the number 4 take the  nymber 3 possition  until number 10 go to number 9 and  stay  one  socket  open  for connections   
Iam sorry  for my english   
try to  explain  it   
have a good  night 

#59
Happy  new year
Sandsprite  have a nice tool Hook explorer 
u  will see interesting  code 
#60
someone  reupload  it   

( The file you are trying to access is temporarily unavailable.)
thanks  for  the  sharing