|
Yesterday, you have asked same question in VC++ forum, which is right forum for this question. Did you say CLI or managed C++ some where ?
|
|
|
|
|
Programm3r wrote: insight or web reference on the following: how to get notified when a new email message has arrived (MS Outlook) using VC++.
you have to look MSoutlook com interface for that... try googling
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
Can sombody help, i need source for capturing s-video from my pinnacle pci card to borland c++. Or can sombody tell me where to begin if i write it myself. Because i dont know how link other applications ed.
bozzim
|
|
|
|
|
Borland doesn't do C++/CLI AFAIK, so odds are, you're in the wrong forum. Try the visual C++ forum, but even then, Borland means you're pushing it to find someone here who can help.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
Does anyone know the function to get the Length of a file in CPP (Win32 Console Application).
Regards,
Vichitra
|
|
|
|
|
I know that you've described a program that is not appropriate to this forum. Try the visual c++ forum.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
GetFileSize()? Or for "Really Big®" files (according to the docs), GetFileSizeEx()?
Great job, team. Head back to base for debriefing and cocktails.
|
|
|
|
|
Hi all.
I have some problem, I need class thet manage files as CFile in MFC, but in console.
can anyone help me.
Thanks for any help.
|
|
|
|
|
Wrong forum. Ask here[^].
|
|
|
|
|
I used your codes and creating resume format in paragh form.But in some feilds value is replaced along with the mergefield and field name.KInndly suggest a solution
Regards,
Lea
Lea
|
|
|
|
|
Is there a C++/CLI article on CP on using Word ?
Anyhow, the article has a forum attached to it, if you want to ask the author a question.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Hi all,
I m new for C++, May u reffer me some good tutorials
Thanks & Regards
Pankaj Jain
|
|
|
|
|
I suggest you learn C++ before worrying about C++/CLI. The web is full of tutorials, but you'd do better to buy a good book and work through it first.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
I'm trying to compile the below code with the command line compiler but I get a bunch of errors? Errors like 'System' is not a class or namespace name. I'm using cl.exe and the command "C:\cl test.cpp".
Can the command line compiler be used on this type of code?
#include
#include
using namespace System::IO;
using namespace System::Text::RegularExpressions;
void main (void)
{
int index = 0;
String ^line;
Regex^ rx = gcnew Regex(",")
StreamReader^ sr = gcnew StreamReader(testfile.tif);
while ( line = sr->ReadLine() )
{
array^ ia = rx->Split(line);
}
int a=array[index++];
int b=array[index++];
int c=array[index++];
if (a <= 42)
{
b--;
if (c > 1444)
c--;
}
else if (a > 42)
{
do {
a += b;
}
while (b <= 1000);
}
return;
}
|
|
|
|
|
I mentioned command line parameters in another reply to your question.
Here's an example for a simple .NET test app. Maybe you can extract what's missing from yours.
/AI "D:\Source_Test\Debug" /D "WIN32" /D "_DEBUG" /D "_UNICODE" /D "UNICODE" /FD /EHsc /MTd /GS /G
R /Yu"stdafx.h" /Fp"Debug/TestDotNet.pch" /Fo"Debug/" /Fd"Debug/vc70.pdb" /W3 /nologo /c /Zi /clr
/TP /FU "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
\mscorlib.dll" /FU "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
\System.dll" /FU "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.dll"
Your build environment needs to be set up correctly as well:
Setting the Path and Environment Variables for Command-Line Builds[^]
Building on the Command Line[^]
Mark
Great job, team. Head back to base for debriefing and cocktails.
|
|
|
|
|
What are you including
Dont dare sanjay
or get out of my shop
|
|
|
|
|
I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax.So please help me out by providing some important link or book name or some example,so that it would help me.
Thanks & Regards
Pankaj
|
|
|
|
|
pan_angel wrote: I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax.
ROTFL. This is wrong on so many levels.
1 - this is not the C++ forum
2 - you want to convert FORTRAN, but you don't know it ?
3 - Google doesn't work where you live ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
then you should be fired...simple as that. There's no way that you should be taking on a project to convert FORTRAN code to ANYTHING if you don't know FORTRAN. I bet you also got an MCSD by visiting a brain dump site too, huh?
(Nyquist_Rate || ! Nyquist_Rate)
{
Console.WriteLine("That is the question");
}//Go Colts.
|
|
|
|
|
I m trying to refresh ListBox when i m adding Items in a for loop.
List box freshed after comliting loop.
My code is here
for(int i=1;i<=100;i+=1) //Loop
{
if(i%10==0)
{
SendDlgItemMessage(IDC_LIST3, LB_INSERTSTRING, (WPARAM) -1, (LPARAM) _T("HP Laser Jet 5000 Series PCL 6")); //Adding String in ListBox
}
}
Repply Please
Pankaj Jain
|
|
|
|
|
Why you want costly refreshing in this case? Any way it will not take much time to complete the loop.
You can consider using WM_SETREDRAW for refreshing list box.
You should ask such question in VC++[^] forum. As there is nothing specific to CLI in this question.
|
|
|
|
|
Thanks Prasad!
for ur reply, but there is no effect after modifying my code
for(int i=1;i<=100;i+=1) //Loop
{
if(i%10==0)
{
SendDlgItemMessage(IDC_LIST3, LB_INSERTSTRING, (WPARAM) -1, (LPARAM) _T("HP Laser Jet 5000 Series PCL 6")); //Adding String in ListBox
SendDlgItemMessage(IDC_LIST3, WM_SETREDRAW , 1, 1);//Code is added here
}
}
Acually i want to add in listbox with the progresbar so I need to refresh listbox to show simulteneous progress, If u hv any other idea please share with me. I will take care about ur suggession in future.
Thanks
Pankaj Jain
|
|
|
|
|
PK Jain wrote: Acually i want to add in listbox with the progresbar so I need to refresh listbox to show simulteneous progress
Consider using thread for this.
You can get lot of example related to this on CP.
|
|
|
|
|
String used in C++/CLI programs which are set to use Unicode character sets need not be prefixed with L. Is this an optional feature or is there something more to it?
One thing that came to my notice is
String^ fileName = "primary" + '.' + "extn";
and
String^ fileName = "primary" + L'.' + "extn";
gave different results.
So prefixing the dot with L, tells the compiler not to convert to integer.
« Superman »
|
|
|
|
|
Conversion from char to int is implicit in C++. In .NET, having a string and an int concatenated, automatically calls ToString on the int. so, C++ is turning your char to an int, and then .NET is trying to be helpful and turning that number into it's string representation.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|