First  |  Prev |  Next  |  Last
Pages: 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
string vs string*
The following line is illegal? std::string line = NULL; // for a value I cannot set to null as it's not an address Then I should write like following? std::string * line = NULL; // a pointer I can set to null pointer ... 28 Apr 2008 04:19
Increasing your traffic and rankings to your website...
Any ideas or tactics that your using to help increase page rankings and traffic to your websites?This SEO course that I have been using has been a miracle worker for my search engine stats...I wanted to share this with anyone who is looking for something that is less an SEO course and more an interactive learning e... 17 Apr 2008 13:19
CreateFile fail when opening a printer connected to VISTA
I have issues with Createfile() in Vista. In my code, I am trying to open aprinter share(\\vista_ip_addr\print_share) with Creatfile() and OPEN_EXISTING as one of the parameter. Eventhough the share exists, CreateFile always fails saying file not found. It is working fine if I use OPEN_ALWAYS instead of OPEN_E... 17 Apr 2008 13:19
Access violation in oleaut32.dll
Hello everyone, Our customer experience an access violation error inside the method GetRecordInfoFromTypeInfo (implemented in oleaut32.dll). It doesn't happen every time, but it happens every couple of days. The environment is Windows Server 2003 SP2 32 bits. The version of the oleaut32.dll is 5.2.3790.4202 Ha... 17 Apr 2008 12:31
About pure virtual function
Here I'd like to quote a segment of code from Thinking In C++ (a book writen by Bruce Eckel) to expain my question. class Pet { public: virtual void speak() const = 0; virtual void eat() const = 0; }; class Dog : public Pet { public: void eat() const {} }; int main() { // Dog g; } If I ... 21 Apr 2008 10:04
A Windows object named "Instance"...
Hello, I have to get and select controls whose the classname is "Edit". They are in a form which is itself a control whose the classname is "Static". These controls are seen by the excellent freeware "Auto It" as follows : Class : Edit Instance : XX ClassNameNN : EditXX As an example : Class : Edit ... 17 Apr 2008 14:07
safe alternative to va_arg
Hello, for my error handling I have a class with static method overloads to print error messages (I will probably make this a bit more general with some pattern later). But for the start it is enough to print messages with different numbers of arguments. I don't want to write endless overloads for different ... 18 Apr 2008 08:36
problem using delphi dll in vc++
hi, I am using a delphi DLL in vc++,static linked with ".h"and "lib". the export functions in DLL are "__stdcall",but the function doesn't work well,it often returns some weird values. when I add codes as follows,it suddenly works well. why?? DWORD returnAdd; __asm { ... 16 Apr 2008 22:48
typedef vs inheritance
I found in C++ a type is typedef several times and alot of time, I need to dig further to see the original type. like LPDWORD - it's a strange type, but when i dig further, i see it's a (DWORD *) =========== typedef DWORD near *PDWORD; typedef DWORD far *LPDWORD; =========== i feel tha... 18 Apr 2008 12:36
return value
Is there any way to return either NULL or a SYSTEMTIME object? will it work in C++? as in Java, one can return either NULL or an object, does C++ has something similar? Is the following code OK for C++? ================= SYSTEMTIME Table::Get(char* FieldName) { _variant_t vtValue; vtValue = m_Rec->Fi... 17 Apr 2008 10:55
First  |  Prev |  Next  |  Last
Pages: 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94