First  |  Prev |  Next  |  Last
Pages: 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410
VC++ doesn't like sal.h AT ALL!
VC++ reports this pair of errors when Boost::Filesystem's exception.cpp is compiled: C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\sal.h(226) : error C2144: syntax error : 'int' should be preceded by ';' C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\sal.h(226) : error C4430: missing type spe... 14 Apr 2006 00:58
Why CorExitProcess?
In a pure Win32 app, let's say hello.c, the generated code uses CorExitProcess funcion from mscoree.dll to finalize the app.... Why? []s Fred ... 21 Apr 2006 22:01
Easy way to convert Trad-Chinese to Simp-Chinese.
MS Office Word support both Trad-Chinese and Simp-Chinese Font code. If your program have messages in Trad-Chinese code. you can convert these message by Office Word, by Word menu File-> Save as -> Choice encode. because simp-Chinese is a superset of Trad-Chinese. so you can not convert simp-Chinese to Tra... 13 Apr 2006 07:53
LPCTSTR vs const char* in Visual C++ 2005
Greetings! I'm converting programs written on Visual C++.NET 2003 to Visual C++ 2005. While building them with Visual Studio 2005, I got hundreds of errors like: "cannot convert parameter 1 from 'LPCTSTR' to 'const char *'" or "cannot convert parameter 1 from 'const char *' to 'LPCTSTR'". I wrote a simple appli... 13 Apr 2006 02:38
Question about return by reference?
Hello all: When I compile const char* msg_to_usr2(void) { const int rsp_cnt = 5; // this is wrong char usr_msgs[] = "Hello"; return usr_msgs; } warning C4172: returning address of local variable or temporary while the following code is correct. const char* msg_to_usr2(void) { const int ... 11 Apr 2006 13:08
reference type
Hi all, if an object is pointed by a iterator, when we take the dereference of this iterator. it should return the lvalue instead of the rvalue. So if p is a mutable iterator, value type is T then *p should return T& not T. Can somebody explain this rule? Thanks Jack ... 11 Apr 2006 05:45
compare '-1.#IND' with 1.#INF doubles ?
I have a function to convert Strings to Doubles double StringToFloat(CString a_test); some times StringToFloat returns a -1.#IND for values that can't be converted This value is supposed to be in a Range. and sometimes that range is not bounded -1.#INF to 1.#INF so if I do something Like this, when GetMin... 6 Apr 2006 10:09
workbook saveas: how? (interop)
There really is no documentation worth the name for this interop capabilities in visual c++. Any samples you may come across are either vb or c#. I'd like to know how to do this ThisApplication.ActiveWorkbook.SaveAs(@"C:\MyWorkbook.xml", Excel.XlFileFormat.xlXMLSpreadsheet, Type.Missing, Type.Missing,... 5 Apr 2006 07:00
Acess Violation in MSDART.dll 0xC0000005
Hello All Members, I have some problem with VC++ code. I have created a DLL having a database class having connection pointer and recordset pointer. And I have created Databse class (using ODBC) object into dllApp Class to make it use like global object. But when i call my dll and debug my dll i got exception at... 3 Apr 2006 07:28
Problems using /MT switch
In order to be compatible with a 3rd party library we need to compile our projects with /MT this has resulted in lots of unresolved externals (e.g.): unresolved external symbol "char const * const _afxPchNil" nresolved external symbol "public: static struct CRuntimeClass const CWnd::classCWnd" unresolved exter... 31 Mar 2006 12:24
First  |  Prev |  Next  |  Last
Pages: 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410