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>...
Type: Posts; User: allynm
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>...
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...
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?
...
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...
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...
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...
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,...
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...
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...
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...
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...
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...
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...
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...
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 -'
Hi CommonTater,
Thanks for your reply. No, the file is not in UNICODE. Straight vanilla ascii.
Mark
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...
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...
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...
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>
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...
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...
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...
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...