Search:

Type: Posts; User: allynm

Search: Search took 0.01 seconds.

  1. Hello all, Well, for the sake of the record...

    Hello all,

    Well, for the sake of the record and perhaps help someone else who has stumbled on this problem, I have finally got code that does what I want. Here it is:



    #include <windows.h>...
  2. Hello Epy, If I follow your line of reasoning...

    Hello Epy,

    If I follow your line of reasoning correctly, then I can accomplish the same thing using straight C and calling the WINDOWS API CreateProcess(). In this case the App name is...
  3. Hello Epy, I'm not "married" to GNUPLOT or...

    Hello Epy,

    I'm not "married" to GNUPLOT or OCTAVE, although I have used both as stand-alone applications with good results. What alternatives can you suggest that would interface with Windows?
    ...
  4. Hello AdeyBlue, Prior to reading your...

    Hello AdeyBlue,

    Prior to reading your response, I previously I had read the second sentence in the _popen doc and followed the link to MSDN's example. After some fooling around, I got the thing...
  5. Calling GNUPLOT plot routines from WINDOWS app

    Hello everyone,

    I'm rather stuck on an interesting problem and need some guidance. Suppose I have a WINDOWS app which allows the user to plot results from a computation. Suppose further that the...
  6. Replies
    8
    Views
    1,976

    Forger and Catch22

    Good morning, Commentator,

    As a matter of fact, I had consulted Forger more than once over the years, but I hadn't ever paid attention to the name. So, when I turned up the link you sent I was...
  7. Replies
    8
    Views
    1,976

    Hello Commentater, Spent yesterday studying...

    Hello Commentater,

    Spent yesterday studying your suggestion. Looked at a bunch of C++ code illustrating how to do owner draw menus. I don't code in C++ so these examples were not very useful,...
  8. Replies
    8
    Views
    1,976

    How to add bitmaps to pulldown menu items?

    Hello everyone,

    I am trying to figure out how to add bitmaps next to pulldown menu items. These could be standard images such as the classical opened file image for "file open" toolbar button, or...
  9. Replies
    3
    Views
    2,958

    Hello CommonTater I had already put WS_CAPTION...

    Hello CommonTater

    I had already put WS_CAPTION in the resource template. I added WS_SYSMENU, recompiled, but that didn't work. It appears from an Ollydbg session that the SendMessage() call...
  10. Replies
    3
    Views
    2,958

    how to put small icon in dialog box title

    Hello everyone,

    I am trying to put an icon in a dialog box titlebar. The code I am using (unsuccessfully) is as follows:

    case WM_INITDIALOG :
    hIconSmall...
  11. Replies
    12
    Views
    7,757

    Good evening, CommonTater, I thought I had...

    Good evening, CommonTater,

    I thought I had replied to your last comment earlier, but it appears that my response didn't make the deadline. So, I will be brief.

    I completely agree with your...
  12. Replies
    12
    Views
    7,757

    Hello CommonTater, When I use an editor rather...

    Hello CommonTater,

    When I use an editor rather than just sticking the script into a txt file using Notepad, I have used mainly ResourceBuilder. In the present instance, I cannot recall whether I...
  13. Replies
    12
    Views
    7,757

    Hi again to CommonTater and adeyblue, A last...

    Hi again to CommonTater and adeyblue,

    A last observation on this business of Unicode and ANSI. I scoured the Binutils documentation on Windres and there is nothing in it that I could find that...
  14. Replies
    12
    Views
    7,757

    Hi CommonTater and adeyblue, BRILLIANT! I did...

    Hi CommonTater and adeyblue,

    BRILLIANT! I did as adeyblue suggested and saved the .rc file as ANSI and windres was happy and the whole thing worked perfectly.

    I omitted in my earlier posts...
  15. Replies
    12
    Views
    7,757

    Hello CommontaterL: The minimum command...

    Hello CommontaterL:

    The minimum command Windres excepts without complaint is:

    windres -v

    In which case, windres responds with:

    Using 'C:\MinGW\bin\gcc -E -xc -DRC_INVOKED -'
  16. Replies
    12
    Views
    7,757

    Hi CommonTater, Thanks for your reply. No,...

    Hi CommonTater,

    Thanks for your reply. No, the file is not in UNICODE. Straight vanilla ascii.

    Mark
  17. Replies
    12
    Views
    7,757

    windres syntax error

    Hello everyone,

    I am programming in MinGW and have run into a problem trying to compile a resource (.rc) file using Windres.exe. I have downloaded the most current version of MinGW (as of...
  18. Replies
    5
    Views
    4,369

    Update on failed experiments

    Hello Itsme (and others)

    I tried two experiments discussed previously.

    1. I ran identical server executable (compiled and linked on the same Win7 machine) on the XP box, and it too failed to...
  19. Replies
    5
    Views
    4,369

    Yes, I had read the MSDN pages on Named Pipe

    Hello Itsme86,

    As it turns out, I had read the MSDN page you noted. I noticed the same thing you did, but I have not tried to use waitnamedpipe() AFTER the createfile() call, and perhaps it does...
  20. Replies
    5
    Views
    4,369

    Here is named pipe codee

    Hello Itsme86.

    Thanks for your response. As requested, here is the code, starting with client.



    #include <windows.h>
    #include <stdio.h>
    #include <assert.h>
    #include <tchar.h>
  21. Replies
    5
    Views
    4,369

    pipe failure problem between Win7 & XP

    Hello everyone,

    I have run into a very peculiar problem while trying to run a client/server app on a small wireless LAN using Windows named pipes.

    When the server is the Win7 box and the client...
  22. Replies
    3
    Views
    5,179

    Yes, it does help...

    Hi KMDV,

    Thanks for taking the trouble to respond to my question.

    It appears that the GCC compilers (and hence, MinGW) do not support SEH.

    If anyone would care to point me (and KMDV, I...
  23. Replies
    3
    Views
    5,179

    mingw support for SEH

    Hello everyone,

    I am simply trying to determine whether or not MinGW supports structured error handling (SEH). I can't find any indication that the GCC compilers (gcc or g++) support the __try...
  24. Replies
    4
    Views
    5,089

    How to loadlibrary from a new thread

    Hello everyone,

    I've searched the forum for an answer to my newbie question, but found nothing directly related to it...although lots of good stuff about DLL's.

    In my little program in the...
Results 1 to 24 of 24