|
led mike wrote: If I say I don't understand him then I don't freakin understand him.
Yes, and that surprised me.
led mike wrote: What does that mean? I'm a software developer not a linguist or a magician so GET OFF
Interestingly enough, I am not a linguist either. His first post said :
"I want to open a word document with Windows Forms applications, from a boutton; when i click on this boutton a document text which is going to execute, thank you. "
To me, it was pretty easy to understand what he meant. Though I guess that doesn't necessarily mean everyone else must understand it too.
I was just surprised that you didn't understand him, that's all.
|
|
|
|
|
Nishant Sivakumar wrote: I was just surprised that you didn't understand him, that's all.
Oh... sorry... my bad... I didn't read "surprised" in the tone, I thought it was something else.
led mike
|
|
|
|
|
led mike wrote: Oh... sorry... my bad... I didn't read "surprised" in the tone, I thought it was something else.
On a different note, I am more used to non-native speakers (being one myself) and thus I guess I have a much better chance of making sense of ungrammatical gibberish than a native speaker like you would
|
|
|
|
|
Hello im a designing a pbss blocker. does anyone know what win api functions that ()lock and ()unlock uses in ddraw.dll?
|
|
|
|
|
Not sure how this relates to C++/CLI ?
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 )
|
|
|
|
|
im coding a c++ program i am wondering if anyone can tell me what win32apis are called in the lock() and unlock() functions of ddraw.dll?
-- modified at 22:09 Tuesday 6th March, 2007
|
|
|
|
|
|
How i can close a window, from a 1st window, i try for this.dispose();, and it not work.
How i can show a window from a window?i use WinFormsApplications.
Thank you
|
|
|
|
|
Close();
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 )
|
|
|
|
|
Yes it work;thank you.
how i can show a window from an other window?
i try for this->show(?), i don't know a parametr's?
thank you.
|
|
|
|
|
You can add given window's header file ( window which is gonna be shown) to your main window unit and use a name of window's class you want to show for example:
#include "MyForm.h"<br />
.<br />
.<br />
.<br />
MyForm ^Frm = gcnew MyForm();
.<br />
.<br />
.<br />
Frm->Show(this);
|
|
|
|
|
i want to upload a bitmap or jpeg picture in c
but i do not know how
|
|
|
|
|
wrote: in c
Wrong forum, You can try VC++ or Graphics forum.
|
|
|
|
|
I use Netica.c and i would use it in Windows Forms Application, in 1st i do {Proprities of project>C/C++>Precompiled Headers>not using precompiled Headers. In MFC that's all and it work at 100%.
But in Windows Forms Application there are error: Command line error D8045 : cannot compile C file '.\NeticaEx.c' with the /clr option
pleas hel me to resolve this problem,
Thank you very mutch.
|
|
|
|
|
When i choose "select compile as C++ code" there are 8 errors, one of theme error C2440: 'initializing' : cannot convert from 'void *' to 'state_bn *', this Netica.c contain a founctions who Netica.h use theme.
help me to resolve this pb; thank you.
|
|
|
|
|
abbd wrote: 'void *' to 'state_bn *',
And how the causing this error looks like ?
Possible it requires explicit cast.
|
|
|
|
|
You probably need to ask people who know what netica.c is, and either way, you probably need to post the code that is blowing up. And, once you are asking about compiling straight C, you need to ask in the right forum.
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 )
|
|
|
|
|
That's because NULL is defined in afx.h, an MFC header file.
You can add it to your source, header, or pre-compiled header file(s):
#if !defined(NULL)
#define NULL 0
#endif
*edit* It's defined in many places in CRT header files as well.
"Great job, team. Head back to base for debriefing and cocktails."
(Spottswoode "Team America")
|
|
|
|
|
Thank you very mutch
|
|
|
|
|
hi everyone,,,
i am a new user of this site and to telling the truth i dont know how to reach the thing i want,
the only thing i know is , i really need some help.i have to finish my semester project put i dont
know how to do it,,I WILL BE SO GLAD IF SOMEONE HELPS ME...
THE ISSUE IS "FINDING THE DISTANCE BETWEEN TO POINTS ON A GRAPH"...
I AM SORRY FOR MY BAD ENGLISH ,,,PLEASE SHOW ME THE WAY ,I HAVE TO DO THIS ,,,THANKS ...
IF YOU SEND YOUR COMMENDS TO ahhmeet123456@yahoo.com i will be very glad...
----
|
|
|
|
|
the code im about to put down.. seems to run through without errors... however. when i cout out the final conversion i get wierd numbers...
but basically what i have here is create process.. im using a dummy.exe to create a txt file so i know if it works right away...
if(first4=="EXEC"){
LPWSTR szCmdline=(LPWSTR)cl.c_str();
STARTUPINFO StartupInfo;
PROCESS_INFORMATION ProcessInformation;
HANDLE hPipeRead, hpRead;
HANDLE hPipeWrite;
SECURITY_ATTRIBUTES sa;
memset(&ProcessInformation,0,sizeof(ProcessInformation));
memset(&sa,0,sizeof(sa));
sa.nLength=sizeof(sa);
sa.bInheritHandle = TRUE;
CreatePipe(&hPipeRead,&hPipeWrite,&sa,0);
memset(&StartupInfo,0,sizeof(StartupInfo));
cout << "pipes and memset";
GetStartupInfo(&StartupInfo);
StartupInfo.hStdOutput = hPipeWrite;
StartupInfo.hStdInput = hPipeRead;
StartupInfo.dwFlags = STARTF_USESTDHANDLES | STARTF_USESHOWWINDOW;
StartupInfo.wShowWindow = SW_HIDE;
cout << "StartupInfo Read\n";
CreateProcess(NULL, szCmdline, NULL, NULL, TRUE, 0, NULL, NULL, &StartupInfo, &ProcessInformation);
cout << szCmdline;
CloseHandle( hPipeWrite );
Sleep(100); DWORD stuff; char buff[1000]; bool firstsend; int offset = 0, bRecv;
PeekNamedPipe(hPipeRead, NULL, 0, NULL, &stuff, NULL);
if(stuff != 0) {
ZeroMemory(buff, sizeof(buff));
firstsend = true;
do {
ReadFile(hPipeRead, buff, 1000, &stuff, NULL);
if(firstsend) { send(usersock, buff + offset, strlen(buff) - offset, 0); firstsend = false; }
else send(usersock, buff, strlen(buff), 0);
} while(stuff == 1000);
} else { char ccc[128]="NoReply program run"; send(usersock, ccc, strlen(ccc), 0); }
}
//
// This is for an ftp server and webserver i have to get this create process functioning and outputing
// the dos screen info through a socket which i already have setup here and should work.... but errors
// out when if statement is called... ive been playing wiht it for about 2hr... plz help
// im using Visual Studio 2005 C++ and im pretty sure this is CLR
-- modified at 7:22 Monday 5th March, 2007
|
|
|
|
|
|
Hi
How to convert DRM protected audio files to unprotected audio files. I have DRM protected audio files which are purchased from iTunes(i.e., from Apple website),i want to convert those DRM protected files to unprotected MPEG or AVI or WMV format files.
Bala
|
|
|
|
|
Please do not cross post. Also, DRM is there for a reason, don't try to violate the licenses you bought things under.
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 Graus,
Converting DRM protected audio files to unprotected audio files is not a illegal thing. So please give some guidance to me.
How can u convert code of FORTRAN to C++ with out knowing the FORTRAN syntax
Regards,
Balu.
Bala
|
|
|
|
|