|
i have put a G723-Stream directly to the input of the wave-device
but i was bewildered by the new problem as blow :
i set the g723format to waveinopen,and transmit the data in UDP socket ,then waveoutpen .i found it too long before the data reach
another computer(lan).why !
when i set PCMformat,it's quicker .
i set the g723 as blow
static const struct {
WAVEFORMATEX wf;
BYTE extra[10];
} g7231format = {
{ 66, 1, 8000, 800, 24, 0, 10 },
{ 2, 0, 0xce, 0x9a, 0x32, 0xf7, 0xa2, 0xae, 0xde, 0xac }};
i set the pcm as blow:
mwaveFormatEx.cbSize=0;
mwaveFormatEx.nAvgBytesPerSec=16000;
mwaveFormatEx.nBlockAlign=2;
mwaveFormatEx.nChannels=1;
mwaveFormatEx.nSamplesPerSec=8000;
mwaveFormatEx.wBitsPerSample=16;
mwaveFormatEx.wFormatTag=WAVE_FORMAT_PCM;
and set the databuf as blow;
#define MAXWAVEBLOCK 5 //the max_num of buffer
#define MAXWAVEBUFFER 800//rthe max_size of buffer
someone help me
|
|
|
|
|
I have an app monitoring incoming mail.
The problem arose when my name became one of many (there are several people with first name like my own).
So, my e-mail address is now Darko.Hadzija@something.42, my alias is DarkoHa, and my app cannot connect to my 'mailbox' whatever name I use.
The question is:
how the heck can I connect via POP to my 'mailbox' (what name should I use),
and BTW password is what? - is it my password to computer or is it generated by God or (M$) or is it unimportant.
Thanks in advance,
Darko
|
|
|
|
|
Your Internet Service Provider is supposed to tell you the username and password for connecting to the POP server. Ask them (whoever they are).
|
|
|
|
|
Contact your network administrator or ISP for the username to use for POP. It's not necessarily the same as the stem of your email address and they will know what it should be.
The password is assigned by the same people. Nothing to do with your windows password.
|
|
|
|
|
Are you for real??
Anyway,
The name you should use is the user name you have been set up by your network admin or ISP provider.
If you have more than one aliase then you need to contact your network admin. otherwise the name is the whole string "Darko.Hadzija"
As for the password, it is your email password , it is not your computer password. The password is generated for you by the network admin.
Be strong and contact your network admin! Most network Admin are friendly (Insert comment here)
It also helps if you specified what is the
"app monitoring incoming mail" you are using
cheers
Alfadhly
|
|
|
|
|
Hi,
I want to implement Whois lookup in ISAPI DLL Extension. I used CSocket class for that. When I compile it's not showing any error. But, It's not giving any output in the browser. Let me know the reason, why its not showing the output.
Thanks in advance,
K.V.Raja
|
|
|
|
|
I think some code would be helpful here.
Cheers
|
|
|
|
|
we have developed a multithreaded win32 application using vc 6.0.Try catch exceptions are handled.But still when the exceptions are thrown, the threads get frozen except the primary thread.
Can anyone give suggestions?
|
|
|
|
|
Don't use exception handling, re-code in a defencive manor, checking things rather than waiting for things to explode.
|
|
|
|
|
> Don't use exception handling
This may be impossible - if he's using some library reporting error conditions using exceptions.
Tomasz Sowinski -- http://www.shooltz.com
|
|
|
|
|
Hi all, i use the same code in my CView derived class to draw icons to both the screen and the printer. I use CDC::DrawIcon to do the drawing. The icons show up properly on the screen, and on print previews. They just don't actually print. I've also tried using ::DrawIconEx, but to no avail.
Any suggestions? Thanks in advance!
|
|
|
|
|
There are tow hosts in a local network. One has database source files ( mdb files ) and the other accesses them by using ODBC DSN. sometimes it happens that a database source file breaks down and
message dialog says to repair the databse file immediately.
Why does the database file break down ????
Somebody help me.
Thanks in advance.
|
|
|
|
|
hi,
I think you need to synchronize your access.Give more detail so that I may help you.
joey_tribbiani
|
|
|
|
|
thank you for your concern.
Let's suppose that two customers visited my shop.
They look around my shop and purchase goods they need.
each of them goes for accounts , one to left and the other to right.
each of the two accounters processes his transaction ; updates mileage of the customer,
updates the left of each item, records details of sales, and so on.
in this situation, one host, client , could access the same database file to which server accesses at the same time.
that's all. please, help me.
i'm not apt at english.
|
|
|
|
|
You need to use transactions to ensure the integrity of the database. If you are using MFC database classes, see CDatabase::BeginTrans(), CDatabase::CommitTrans() and CDatabase::Rollback(). Also, check that the relationships between the tables are correctly (and completely) defined in Access.
|
|
|
|
|
I want to find the sourcecode of a ActiveX control from VC and MFC.
and the control with print interface.
Thanks.
Where can I get it?
|
|
|
|
|
How to set options in-order to create the application with minimum size ?
|
|
|
|
|
Go to
"Project | Options" in the VC++ menu
Go to the "C/C++" tab
Under "Optimizations", select "Minimize Size"
-- Thomas
modified 29-Aug-18 21:01pm.
|
|
|
|
|
Hallo everyone,
I am a student and have to make a little program in Visual C++ that launches an “event” on a certain date and time.
A good example are the programs who save birthdays and launches them on a predefined date and hour or the programs who launches a certain program on a certain date and time. A sort of schedular.
Is there someone who has the source code for such a program, so I have a little example.
I would be very gratefull !
Tom Crauwels
You can reach me at :
Danny.crauwels@pandora.be
|
|
|
|
|
Use GetSystemTime to know the time, use OnTimer to check at a regular interval and use ShellExecute to run your other program.
Christian
#include "std_disclaimer.h"
People who love sausage and respect the law should never watch either one being made.
The things that come to those who wait are usually the things left by those who got there first.
|
|
|
|
|
I have searched and searched, but I cannot find anything about implimenting jscript or vbscript into C++.
|
|
|
|
|
Did not exactly understand the question.
Do you just want to call VBScript or JScript code from external files to be run for VC++ code or
Do you want to pass parameters and get return values?
-- Thomas
modified 29-Aug-18 21:01pm.
|
|
|
|
|
Why not use a server-side scriptlet? This will enable your JavaScript or
VBScript to the accessed exactly like a COM object
Search for "Server Scriptlets" in MSDN.
There is an article by Dino Esposito that deals with it.
-- Thomas
modified 29-Aug-18 21:01pm.
|
|
|
|
|
Hi all,
The service I'm writing (i.e., a console app) needs to load resources from its exe file- is this possible? How do I get the HINSTANCE of the module?
Cheers,
NickB
|
|
|
|
|
Use the line:
HINSTANCE hInstance = ::GetModuleHandle(NULL);
modified 29-Aug-18 21:01pm.
|
|
|
|