elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Trabajando con las ramas de git (tercera parte)


  Mostrar Mensajes
Páginas: 1 2 3 4 5 [6] 7 8 9 10
51  Programación / Programación Visual Basic / Re: Socket stay open en: 30 Enero 2010, 17:02 pm
Thanks  raul338
have a  nice  day   
52  Programación / Programación Visual Basic / Socket stay open en: 28 Enero 2010, 22:54 pm
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  Programación / Programación Visual Basic / Re: Load wav file from res in a dll en: 19 Enero 2010, 22:00 pm
thanks  for  the  reply   Cobein   
have a  good  day   
54  Programación / Programación Visual Basic / Re: Load wav file from res in a dll en: 19 Enero 2010, 18:17 pm
thanks  again   
with  this  example  my  project  crash 
i  try  to use it again   
and  this  work   
Código:
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  Programación / Programación Visual Basic / Re: Load wav file from res in a dll en: 19 Enero 2010, 16:08 pm
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  Programación / Programación Visual Basic / Re: Load wav file from res in a dll en: 18 Enero 2010, 22:11 pm
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  Programación / Programación Visual Basic / Load wav file from res in a dll en: 18 Enero 2010, 19:56 pm
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  Programación / Programación Visual Basic / Refresh connections en: 14 Enero 2010, 23:22 pm
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  Programación / Programación Visual Basic / Re: Como puedo Unhookear las APis de user32.dll? en: 1 Enero 2010, 00:44 am
Happy  new year
Sandsprite  have a nice tool Hook explorer 
u  will see interesting  code 
60  Programación / Programación Visual Basic / Re: SCB Labs Downloader v2.0 en: 15 Diciembre 2009, 20:12 pm
someone  reupload  it   

( The file you are trying to access is temporarily unavailable.)
thanks  for  the  sharing   
Páginas: 1 2 3 4 5 [6] 7 8 9 10
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines