|
Hi,
What type of I/O are you performing Overlapped or Non-overlapped?
Have you set timeouts? If not, Try setting timeouts.
If possible post some code.
Adios,
Cool Ju
Dream Ur Destiny
|
|
|
|
|
Hello,
I added an ActiveX to my application but when I gave the program to other people the activeX isn't there...
How can I add/paste the ActiveX to my program so if i'll give it to another people it will work.
SnaidiS(Semion)
|
|
|
|
|
It has to be registered in others systems too,to whome u give,then it will work..
|
|
|
|
|
|
u must supply the activex alone with ur exe and Register that exe in the target mechine. Its good if u appoint a Installer for this purpose.
nave
|
|
|
|
|
How can I get the handle of object?
SnaidiS(Semion)
|
|
|
|
|
regsvr32 [path_to_your_activex_dll]
|
|
|
|
|
I wrote a code to register the activeX but when I'm giving the program to anither computer it can't find the activeX
SnaidiS(Semion)
|
|
|
|
|
try using IPropertyBag interface.
Regards
Abhishake Lahare
|
|
|
|
|
Sorry implement IPropertyBag for your control
Regards
Abhishake Lahare
|
|
|
|
|
Did you actually give them the .ocx file?
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
|
|
|
|
|
Here I have a problem that specified port is working or not ie when we give a port number then it should give that port is running or not.plz anybody help to me
#sankar#
|
|
|
|
|
runing in the sense..do u mean already in use..?
|
|
|
|
|
thanque for ur reply
but i want display it is running or not.
for example if i give 8080 then program will give corresponding port is running or not.plz kindely help me
#sankar#
|
|
|
|
|
|
sankarRao wrote: ere I have a problem that specified port is working or not ie when we give a port number then it should give that port is running or not.plz anybody help to me
how many time do you need answer to same problem... have you checked answer to your previous question!.. search ofr key Port Scanner
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
same question and same ....!?
whitesky
|
|
|
|
|
WhiteSky wrote:
same question and same ....!?
what to do!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
See Here[^] maybe it is some helpful to you
whitesky
|
|
|
|
|
sankarRao wrote: when we give a port number then it should give that port is running or not.
Ports do not run. They are monitored by applications. You can, instead, check whether a port is being monitored or not.
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hi all,
I have created a CEditBox dynamically, while i am entering some text it is accepting only with in the range of the CEditBox. i can't enter beyond the Range of the CEditBox.
But this is not with CEditBox of the ToolBar, because when we run the Application with CEditBox Choose statically from the ToolBar to CDialog. When you run the Application the CEditBox takes as many Charaters you want.
I used Set SetLimitText(...) to set the Length of the CEditControl but it is not taking, Please help me Out.
//==========================================================================
CEdit *ptr = new CEdit;
ptr->Create(WS_VISIBLE|WS_CHILD|WS_BORDER,CRect(point.x,point.y,point.x +100, point.y +20),this,NULL);
ptr->SetLimitText(100); //Not Working ---> it is not taking 100 Chars Why !
//==========================================================================
uday.
|
|
|
|
|
just give ES_AUTOHSCROLL style too
CEdit *ptr = new CEdit;
ptr->Create(WS_VISIBLE|WS_CHILD|WS_BORDER|ES_AUTOHSCROLL ,CRect(point.x,point.y,point.x +100, point.y +20),this,NULL);
nave
|
|
|
|
|
hi nave,
i got it very much thanks to you.
uday.
|
|
|
|
|
hi
i want to play .wav audio file using win32 api, and i am using following code.
#include<windows.h>
#include<mmsystem.h.>
int main()
{
PlaySound((LPCWSTR)"tada.wav", NULL, SND_FILENAME | SND_LOOP);
return 0;
}
the code compiles correctly. tada.wav is present in its exact location(code project). this code is not playing the file. it is returning 1.
one small beap comes and exits.
is the code correct?? if yes why it is not playing complete file.
if no, what is the exact method.
Manjunath S
GESL
Bangalore
|
|
|
|
|
The sound specified by pszSound must fit into available physical memory and be playable by an installed waveform-audio device driver. PlaySound searches the following directories for sound files: the current directory; the Windows directory; the Windows system directory; directories listed in the PATH environment variable; and the list of directories mapped in a network. For more information about the directory search order, see the documentation for the OpenFile function.
If it cannot find the specified sound, PlaySound uses the default system event sound entry instead. If the function can find neither the system default entry nor the default sound, it makes no sound and returns FALSE
|
|
|
|