...sym000000.raw
Now, I need to list ONLY the files with extensions .raw, .sin, or .rec as follows:
t01:~ [120] > ls -1 /scratch/u118807/reconstruct/*.{rec,raw,sin}
/scratch/u118807/reconstruct/fr000202.rec
/scratch/u118807/reconstruct/fr000202.sin
/scratch/u118807/reconstruct/sin000000.rec...
Hello,
How can I make a C++ program running on Windows 2000 read data (read from a file for example) located in a Unix system?
Any help will be greatly appreciated.
Thanks.
Hello,
I currently can make a system call from within my C++ as follows:
exec("ls -l"),
I want to run a more complicated program and be able to controll it from withing my C++. For example, if I run the xclock process, I cannot gain control of my program until I close the xclock...
Hello,
Changing modes does not work. I still get the same error. Could that be because it is a Windows app? Basically, it is a little window which displays a butterfly flying. Is there any other .exe I can use in Unix that will give me a hint that is executing?
Thanks,
--Cecilia.
Hello,
I need to write a little C/C++ program that launches an executable and controls it (be able to identify if it is running, be able to kill it if necessary). I have done this already in Windows with ViusualC++.
Question, I have an executable to test (Butterfly.exe) that does not execute...
Hello,
FYI, I found the answer:
DoEvents is a function defined in a windows library, VC++ probably just automatically includes the library header, and link the library in when compiling/linking. Outside, you have to figure out which libraries you need to include.
I compiled and included the...
FYI,
I found the answer to the problem.
DoEvents is a function defined in a windows library, VC++ probably just automatically includes the library header, and link the library in when compiling/linking.
Outside VC++, I had to include the User32.LIB at compile time, and everything went fine...
FYI, I found the answer.
DoEvents is just a function defined in a windows library, VC++ probably just automatically includes the library header, and link the library in when compiling/linking.
Outside VC++, I had to link User32.LIB.
Thanks,
When trying to compile a plain C++ program (not visualC++) which uses DispatchMessage, TranslateMessage, and GetMessage in a DoEvents() loop function, I get the following link errors:
Butter2.obj : error LNK2001: unresolved external symbol __imp__DispatchMessageA@4
Butter2.obj : error LNK2001...
[Note: seems like I was unable to post this a few minutes ago. Sorry if it gets duplicated]
Hello,
In VisualC++ I have a program that calls DoEvents() and works just fine.
I moved the exact same code outside VisualC++, since I need it as a stand alone program. However, my DoEvents() now do...
Hello,
In VisualC++ I have a program that calls DoEvents() and works just fine.
I moved the exact same code outside VisualC++, since I need it as a stand alone program. However, my DoEvents() now do cause linkage problems. These look like:
void DoEvents(void)
{
MSG msg...
Hello,
I have a GUI with two buttons. Button "Execute" calls the following piece of code (processHandle is a global HANDLE):
ExecCmd::Run()
{
STARTUPINFO start;
PROCESS_INFORMATION pinfo;
memset(&start, 0, sizeof(STARTUPINFO));
start.cb = sizeof(start);
DWORD returnValue;
long time...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.