|
|
Thanks.
I saw the articles are rated less than 4.. is it risky to read those?
Regards,
Chua Wen Ching :p
|
|
|
|
|
|
I actually disagree that this book is a worthy purchase. As I mentioned in a previous post, I personally know Richard and he is very good. However, this book is not up to his usually high standards.
Cheers,
Tom Archer
Inside C#, Extending MFC Applications with the .NET Framework
It's better to listen to others than to speak, because I already know what I'm going to say anyway. - Jörgen Sigvardsson
|
|
|
|
|
When looking at the reviews on a Web public site such CodeProject, you have to realize that there are no prerequisites required for someone to post a rating. Therefore, while some of the reviews (both good and bad) are valid, there are many times when a person posting the rating might not be the best person to quantify the value of a given ariticle and in many cases, bad ratings can be directly attributed to personal issues between the rater and the article.
If you truly want to determine if an article is worth reading, I would first look at the remarks at the bottom of the article. Are there a lot of unanswered questions about bugs? Are a lot of errors being pointed out that are not being corrected in the article? In the case of Nish's articles, I think you'll find that the overwhelming majority of articles are top-notch and the few that had any problems were quickly corrected so that they're also top-notch now.
Cheers,
Tom Archer
Inside C#, Extending MFC Applications with the .NET Framework
It's better to listen to others than to speak, because I already know what I'm going to say anyway. - Jörgen Sigvardsson
|
|
|
|
|
Hello.
I'm a beginner in Managed C++. I have created a Windows Forms application. The wizard has generated a project with a app.rc resource file.
I have added to this rc file a string to the String Table and a Icon ( like in MFC ).
Now, my problem it's that I can't read the string or the icon from the resource file.
I have tryd to use the resource Manager but I'm not able to make it work.
Please, can anyone help me ?
|
|
|
|
|
hello can any body tell me how i can stop my c++ multithreaded console aplication from auto exiting once main() has been executed,i need to keep my thread working and stop the proggie exiting.or how could i make my app stay open until the thread get's out of the loop?
thanx
chris
|
|
|
|
|
Have the main wait for the threads to finish. When you created the threads you are given a handle to each thread. Just do a wait multiple for all on the thread handles.
Tim Smith
I'm going to patent thought. I have yet to see any prior art.
|
|
|
|
|
If you are using Managed Threads --> check IsBackground thread property: may help.
"...Ability to type is not enough to become a Programmer. Unless you type in VB. But then again you have to type really fast..."
Me
|
|
|
|
|
Hi everyone
If i type:
System::Windows::Forms::Button* btn = new System::Windows::Forms::Button();
btn->
in a generic C++ class within a C++.NET application i get no intellisense options although if i type it out, the code compiles and works.
Is this a bug?
|
|
|
|
|
I am trying to write a small program to send data to a serial port and then read it back. I need to set this up as a class. I am very new with c++ .net and was hoping someone might have some suggestions or examples. Most of the programs i have seen are more complicated than i am looking for.
|
|
|
|
|
|
Hi everybody.
Is there a way to use .NET Remoting with Visual C++ .Net?
In positive case, how to build the interfaces like they're
built in C#?
Thanks,
Moises.
|
|
|
|
|
|
|
Hello.
I'm writing a managed C++ application, and I have created a __gc class that acts as a Cache between the Database and my application.
I want that this caché can be accesed from anywhere in the application.
So I tried to do this.
In stdafx.h
extern CCache* g_pCache;
In stdafx.cpp
CCache* g_pCache = new CCache ();
and I have the following error message:
error C3145: 'g_pCache' : cannot declare a global or static managed type object or a __gc pointer
Its possible to define a variable of a managed type that its global ? How ?
Thanks.
|
|
|
|
|
|
I have a combo box on a form, KeyPreview is set to true, I use page up and
page down to perform certain tasks in the form, but when the combo box is
selected the keydown event on the form doesnt even fire when i press PageUp
or PageDown, does anybody know why?
|
|
|
|
|
Hello. A problem in the following:
1. In Visual C++ .NET 2003 we create the project: New Project, Visual C++ Projects, (.NET), Windows Forms Application (.NET). Appears Form1.
2. On Form1 we place the button, and in procedure for processing click on this button we write down a code:
Process::Start(S”wmplayer.exe”, S”D:\\My Sounds\\Sound 1.mp3”);
3. At start of the program, the player appears, however file does not sound (there is a message: the file is not found). Without use VC++ .NET, the player sounds this file normally. In VB .NET 2003 this code sounds a file also normally.
Conclusion. If in a name of a folder (where there is a sound file) or in a name of a sound file there is a blank, VC++ .NET can not find this file.
How through VC++ .NET to sound a file (.mp3), in which name there is a blank?
Beforehand many thanks for your answer. Best regards, Dr. V.A. Zharkov. Address: Orekhovy bulvar, 39-2, Moscow, 115573, Russia.
|
|
|
|
|
Hi all,
I'm new to Managed C++. I'd like to set unicode string for the form's title. I tried many ways, but they just didn't work. I even set the preprocessor _UNICODE, but I think it should be default.
private: System::Void Form1_Load(System::Object * sender, System::EventArgs * e)
{
this->Text = "中文hi"; // doesn't work, it'll show ??hi
this->Text = _T("中文hi"); // doesn't work, it'll show ??hi
}
Please help. Thanks.
|
|
|
|
|
You need to use the macro "S"
like S"something".
hope this helps.
Sonork 100.41263:Anthony_Yio
|
|
|
|
|
Thanks, Anthony. I tried, but doesn't work.
|
|
|
|
|
Have you tried using the L prefix.
L"awetawegwa"
Tim Smith
I'm going to patent thought. I have yet to see any prior art.
|
|
|
|
|
Hi,
How do I do to convert the managed type 'System::Data::String' to the unmanaged type 'PWSTR' ?
thanks.
|
|
|
|
|
Use CStringT in ATL like the way you use it in MFC.
#include <atlstr.h>
<br />
String *strTemp;<br />
CString strConverted = strTemp;
Sonork 100.41263:Anthony_Yio
|
|
|
|