Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
C

Castello07

@Castello07
About
Posts
13
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Timer
    C Castello07

    Hi to all... I want to create a timer in visual c++ (without using the class CWnd)that periodically send a message (for example a string). How is the best solution? I thought....create a thread that stay in sleep and after this time sleep send the message... I'll wait for any suggetion.. thanks!!

    C / C++ / MFC c++ tutorial question

  • Problem with socket datagram
    C Castello07

    Hi to all, I've this problem: I create a datagram socket. I create datagram socket with function 'Create'. The line of my code when I create is: m_pSocket->Create(port,SOCK_DGRAM,FD_READ | FD_WRITE | FD_OOB | FD_ACCEPT | FD_CONNECT | FD_CLOSE,strAddress); Now when I send, I' ve error in runtime at this line: m_pSocket->SendTo(Response,dwSize,porttx,ipAddress); the error is 'svchost: sink socket notification'. Where I make an error??I can't find it!!

    C / C++ / MFC help question

  • Socket
    C Castello07

    I try to use setSocketOpt with options SO_KEEPALIVE in socket intialization phase. I stay in OnSend and Control the nErrorCode but OnSend is never called!!

    C / C++ / MFC question sysadmin tutorial

  • Socket
    C Castello07

    Ok I suppose that i have to set with setsockopt the keep alive message....and after i control the nErrocode in OnSend is it correct?? however thanks a lot for the answer!!! -- modified at 5:59 Friday 5th May, 2006

    C / C++ / MFC question sysadmin tutorial

  • Socket
    C Castello07

    I have tried to use it, and for test, I unplug the utp cable and OnClose() wasn't called...Have I to set some particular option when I create the socket?? When I start the socket I only do this: if (!m_pSocket->Create()) throw 1; // Connect to our destination. if (!m_pSocket->Connect(strAddress, port)){ throw 2;

    C / C++ / MFC question sysadmin tutorial

  • Socket
    C Castello07

    My question is quite simple but I can't solve it. I have create a socket tcp, how can I know when the socket go down due to external cause? For example when the network is down etc.... Use members like CAsynchSocket::OnClose, isn't correct because this member is called only when my application close the socket! ...however how can i do? Thanks to all!!

    C / C++ / MFC question sysadmin tutorial

  • Change audio device
    C Castello07

    I want to play a wave file using the default audio windows device and also (if installed)the others audio devices.How can I do in visual basic?in particular I already use the Api: Public Declare Function PlaySoundData Lib "winmm.dll" Alias "PlaySoundA" _ (lpData As Any, _ ByVal hModule As Long, _ ByVal dwFlags As Long) As Long but this play a file only in default windows audio device. The next step, that I want to do, is that the user of my application, select which audio device use to reproduct the audio.

    Visual Basic question json

  • Beep and sound
    C Castello07

    I try to see in this site but nothing... However I'm still thinking that is impossible make the pc speaker beep asynchronous..:((

    Visual Basic question json

  • Beep and sound
    C Castello07

    Hi to all, I'm still developing to a softphone, that when receive an incoming call play a ring sound from sound card and also (together the ring sound) play a "beep" from pc speaker. Now, I have done the first part using PlaySound API function that play in loop a wave file asyncronously, but I can't play the 'beep' from pc speaker. For this, I have already used the beep API function, but it is synchronous! How can I do? Thanks a lot

    Visual Basic question json

  • problem with a mesasge box
    C Castello07

    OK!!!Thanks a lot it works!!!:-D

    C / C++ / MFC c++ help question

  • problem with a mesasge box
    C Castello07

    Ok I understand, however I explain you that my tsp when go, connect to a pbx, so I want to create a message box that, in case of connection failed because the user have made a mistake when have configed the tsp, pop up and warns which parameter of connection is wrong...if is the ip address or pbx address, or whatever...I hope that this information explain much more better my situation... However Good night for now...:)

    C / C++ / MFC c++ help question

  • problem with a mesasge box
    C Castello07

    Thanks, I tried this before but didn't work, at the MessageBox instruction the tsp stay there in position of stalemate with no windows error message or whatever..as the afxMessageBox.

    C / C++ / MFC c++ help question

  • problem with a mesasge box
    C Castello07

    Hi my name i Alberto , I'm new to this forum... I'm still developing to a tapi service proveder in visual c++. This tapi service provider is a static library that is executed in svchost.exe and I want to pop up a message box when this tsp is called from a tapi application as outlook. How can I do? I try to create a my CDialog or to use the afxMessageBox but don't go. Please help me!!Thanks!!:((

    C / C++ / MFC c++ help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups