Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. scecilia

    Results from "ls" command

    ...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...
  2. scecilia

    C++ talking to Unix

    Thank you Ion. Are there any examples you can point me to to achieve this? --Cecilia.
  3. scecilia

    C++ talking to Unix

    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.
  4. scecilia

    How to call unix commands from within C++

    Thank you Norm!
  5. scecilia

    Controlling Unix process from within C++

    It got me started, Thanks!
  6. scecilia

    Controlling Unix process from within C++

    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...
  7. scecilia

    How to call unix commands from within C++

    I got it, I need double quotes arougn exec() as in: exec("ls -l"); Thanks,
  8. scecilia

    How to call unix commands from within C++

    Hello, How can I invoke a unix command from within my C++ code? Thanks, --Cecilia
  9. scecilia

    App.exe in Unix

    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.
  10. scecilia

    App.exe in Unix

    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...
  11. scecilia

    DoEvents()

    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...
  12. scecilia

    DoEvents

    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...
  13. scecilia

    When trying to compile a plain C++

    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,
  14. scecilia

    When trying to compile a plain C++

    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...
  15. scecilia

    DoEvents

    [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...
  16. scecilia

    DoEvents()

    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...
  17. scecilia

    Problem w/ CreateProcess WaitForSingleObject

    Thanks Pete. It DID work :-) I restarted the computer and the sluggishness went away as well, I guess I was leaking memory like crazy.
  18. scecilia

    Problem w/ CreateProcess WaitForSingleObject

    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...
  19. scecilia

    How to declare a global variable?

    Thank you Rick :-)
  20. scecilia

    How to call a class within the same project?

    I had tried that and it works, but why do I need to declare it as a pointer? Thanks.

Part and Inventory Search

Back
Top