|
http://www.codeproject.com/system/serial_com.asp for more details.
|
|
|
|
|
get the number of records in an array of data structure after reading in a binary file?
|
|
|
|
|
How you read the array from the file?
Robert-Antonio
"Science is a differerntial equation.
Religion is a boundary condition."
|
|
|
|
|
number of bits in files divide with size of one structure.
|
|
|
|
|
i want to connect Oracle database inserver.and install Oracle client in my PC.how can i connect the database with ADO(not using ODBC)
|
|
|
|
|
sConnString = _T("Provider=MSDAORA;Data Source=MyOracleDB;User Id=myUsername;"
"Password=myPassword;");
It's not a bug, it's an undocumented feature. suhredayan@omniquad.com
messenger :suhredayan@hotmail.com
|
|
|
|
|
i used CAsyncSocket class in my prog.when the socket connect.connect()function return zero.getlasterror() show the errorcode is 997.
what is this error?and how can i resolve it?
|
|
|
|
|
tank1025 wrote:
what is this error?
Overlapped I/O operation is in progress.
tank1025 wrote:
how can i resolve it?
something is still going on the port, are you sure nothing else is using the same port.
it might help if you post some code
i can't even remember what my point is now, but anyway, i'm correct
Barring unforeseen acts of God and Adminstrators, my server will be up tomorrow. I'm more worried about the Adminstrators.
|
|
|
|
|
I didn't know where else to put this, so I thought here was the best.
Does anyone know where to find a good algorithm for insertion into a 234 tree?
A thread in time is worth....two....in the bush.
|
|
|
|
|
Hey guys,
I've been looking for hours for a nice DCT implementation... without success.
I need some code which is not too difficult because I don't want to use code I don't understand. Who knows an implementation? Thx for advice.
Don't try it, just do it!
|
|
|
|
|
Fast and easy to read in the same sentance as DCT , good luck!
Try 'Numerical Recipes in C', you can download free chapters from http://www.library.cornell.edu/nr/bookcpdf.html[^] It might take you a little digging to find something appropriate but it should be in there.
If you need something really fast you can try IPP - Intel Performance Primitives (I think that's right) which has great performance, but it isn't open source. I've noticed that some of Intel's libraries (especially OpenCV) are very performance oriented, with little regard for readability.
If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.
Rudyard Kipling
|
|
|
|
|
Do the MS CRT wide string functions, like wprintf, _vsnwprintf, etc, work OK in Windows 98? I know that there is no unicode version of the core Win32 API (unless you have that recent unicode services DLL installed), but I am unclear about the CRT stuff. MSDN seems to imply that they are OK to call.
¡El diablo está en mis pantalones! ¡Mire, mire!
Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!
SELECT * FROM User WHERE Clue > 0
0 rows returned
|
|
|
|
|
The CRT has its own routines that are not depending on the system, so it should work. try it!
Don't try it, just do it!
|
|
|
|
|
I don't have Windows 98 at the moment, and to try ai Have to go through the hassle of installing it via VMWare, so I thought I'd ask first.
¡El diablo está en mis pantalones! ¡Mire, mire!
Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!
SELECT * FROM User WHERE Clue > 0
0 rows returned
|
|
|
|
|
Hi
I am opening the ChttpConnection Session with CInternetSession.But when i send the Request using the Function
pHttpFile->SendRequestEx(dataLength)
It gives the error "The server name or address could not be resolved" error number is 12007.But i am unable to find any thing on the web. Can anybody help me in this.
Thanks in advance
shailesh
|
|
|
|
|
seems there is an error in the server name passed when creating CHttpConnection.
can you send more code to let us check it with you ?
|
|
|
|
|
change this line :
pHttpConnection = pHttpSession->GetHttpConnection(szAddress, nPort);
to :
pHttpConnection = pHttpSession->GetHttpConnection(strServerName, nPort);
|
|
|
|
|
Hello, I am new to posting on forums so please explain this posting if I am not making any sense. I researched Office Automation on this website and found many useful articles. The most useful was the "Building an Office2K COM addin with VC++/ATL" article by Mr. Dey. I have a dll that is used for MS Word Automation. I put a button on the toolbar which saves whatever is typed in and quits the application. I have a problem, though, after about the 3rd or 4th time of entering MS Word, MS Word will crash. I have isolated the crash to the invoke statement for the Quit:
//Invoke the Quit method
szFunction = OLESTR("Quit");
hr = m_spApp->GetIDsOfNames(IID_NULL, &szFunction, 1,
LOCALE_USER_DEFAULT, &dispid_Quit);
hr = m_spApp->Invoke(dispid_Quit, IID_NULL, LOCALE_USER_DEFAULT,
DISPATCH_METHOD, &dpNoArgs, NULL, NULL, NULL);
I am not sure what the problem is. I found an article on MSDN that has this exact same code. So why would the Invoke GPF? Could it be that I am missing the Release statements (m_spApp->Release)? I modeled my dll after the example in the article "Building an Office2K COM addin with VC++/ATL" so m_spApp is actually a private member in the .h file. HELP!
|
|
|
|
|
how to include "scandisk" in a vc++ mfc wizard prgm
ie when i click a buton scandisk should work and when i exit scandisk ,the control should return to main program and other dialogues should work....how to dooooooooooooooo
|
|
|
|
|
easy. redirect the std handles to your program (own console) and run scandisk from there.
Don't try it, just do it!
|
|
|
|
|
Thanks in advance for any help! I have a compile error which is driving me insane. I need to access the SDI MFC view from a non-MFC class/file. I found a simple example of how to implement a GetView function, unfortunately once I include CXXXView.h in the non-MFC file, I get compile errors in XXXView.h. Compiler no longer seems to recognize the GetDocument function. Any ideas?
It's easy to re-create this problem. Just create an empty project using MFC AppWizard. Add a blank h & cpp file. #include "XXXView.h" into the blank cpp file and it won't compile.
|
|
|
|
|
A class MUST be an MFC-oriented class to access a CView object. It has to know about CDocuments also. I don't believe that there are any alternatives available.
__________________________________________
a two cent stamp short of going postal.
|
|
|
|
|
Put #include "stdafx.h" in the cpp file, just before #include "XXXView.h" . The stdafx.h file includes all headers, that you need to manage MFC classes.
Robert-Antonio
"Friends come and leave, but teddybears stay in forever."
|
|
|
|
|
I just installed vc++.net 2003. It works fine until I begin debugging a module. It then goes off attempting to do something on my LAN or the internet, don't know which, but the ethernet light on my NIC blinks while vc++ is "hung". But since this computer is not connected to anythging, it gets no response. About a minute later it times-out and returns to the task at hand, ie debugging my app.
1. What is it trying to do? and
2. I don't care about the answer to #1, how do I make it stop this annoying behavior?
tbanks for any help.
Chuck
|
|
|
|
|