Hi Colin.
I got distracted at work and wasn't able to look into this problem for quite a while. But I finally found the time and, after following your advice, it works absolutely perfectly!
So I wanted to thank you very much for your patience in helping me with so much information. I would not ...
Search found 13 matches
- Sat Apr 19, 2025 5:00 pm
- Forum: General Developer Support
- Topic: Crash when reading from a PIPE:
- Replies: 13
- Views: 78650
- Sat Mar 08, 2025 8:04 am
- Forum: General Developer Support
- Topic: Crash when reading from a PIPE:
- Replies: 13
- Views: 78650
Re: Crash when reading from a PIPE:
Thanks for this great information Colin, and I must say that the new AutoDoc for SystemTags() is very good.
There is just one problem! I got it working with SystemTags() and then I found this comment in my code:
/* Load the command executable into memory and use the returned segment list to create ...
There is just one problem! I got it working with SystemTags() and then I found this comment in my code:
/* Load the command executable into memory and use the returned segment list to create ...
- Sat Feb 22, 2025 12:33 am
- Forum: General Developer Support
- Topic: Crash when reading from a PIPE:
- Replies: 13
- Views: 78650
Re: Crash when reading from a PIPE:
Ok, you've convinced me that this is not the function I want, so let's change our approach.
First, let's get a big loud warning right at the top of the CreateNewProc() AutoDocs saying "This is probably not the function you want" and ensure that it is made clear that it is a specialised function ...
First, let's get a big loud warning right at the top of the CreateNewProc() AutoDocs saying "This is probably not the function you want" and ensure that it is made clear that it is a specialised function ...
- Sun Feb 16, 2025 12:39 am
- Forum: General Developer Support
- Topic: Crash when reading from a PIPE:
- Replies: 13
- Views: 78650
Re: Crash when reading from a PIPE:
Hello @colinw, thanks for getting back to me.
The example I posted was cut down for illustrative purposes. You can see the full content of the call on my GitHub account here: https://github.com/hitman-codehq/RADRunner/blob/b0c1df9b3b0ce00316891ab322130b9460bdcd77/Execute.cpp#L59 .
I have carefully ...
The example I posted was cut down for illustrative purposes. You can see the full content of the call on my GitHub account here: https://github.com/hitman-codehq/RADRunner/blob/b0c1df9b3b0ce00316891ab322130b9460bdcd77/Execute.cpp#L59 .
I have carefully ...
- Sun Feb 09, 2025 4:45 am
- Forum: General Developer Support
- Topic: Crash when reading from a PIPE:
- Replies: 13
- Views: 78650
Crash when reading from a PIPE:
Hello everyone.
I posted this on os4coding.net already, but I'll repost here in the hope that @colinw sees it.
I have some code that launches a child process and then reads its output. It's working fine on OS3, but on OS4, both the m68k and PPC builds crash when I call IDOS->Read(). I've written ...
I posted this on os4coding.net already, but I'll repost here in the hope that @colinw sees it.
I have some code that launches a child process and then reads its output. It's working fine on OS3, but on OS4, both the m68k and PPC builds crash when I call IDOS->Read(). I've written ...
- Mon Aug 01, 2016 7:47 am
- Forum: General Developer Support
- Topic: How do I query information for a link?
- Replies: 5
- Views: 7542
How do I query information for a link?
Hello.
I have a C++ support class that can be used for querying directory contents on multiple platforms. You call it and it returns a list of objects with information about the files present in the directory. It is cross platform and works on Amiga OS, Linux and Windows. Each entry returned will ...
I have a C++ support class that can be used for querying directory contents on multiple platforms. You call it and it returns a list of objects with information about the files present in the directory. It is cross platform and works on Amiga OS, Linux and Windows. Each entry returned will ...
- Thu Feb 25, 2016 7:58 am
- Forum: General Developer Support
- Topic: How do I set file information on a *link*
- Replies: 15
- Views: 19406
Re: How do I set file information on a *link*
Unfortunately that defeats the purpose of symbolic links.
An operation on the link is supposed to be equivalent to an operation on the target object.
Coming back to this subject after a three month distraction...
The conversation you have all had in this thread is all very interesting, but you ...
An operation on the link is supposed to be equivalent to an operation on the target object.
Coming back to this subject after a three month distraction...
The conversation you have all had in this thread is all very interesting, but you ...
- Wed Dec 02, 2015 7:50 am
- Forum: General Developer Support
- Topic: How do I set file information on a *link*
- Replies: 15
- Views: 19406
How do I set file information on a *link*
Hello everyone.
I have some self written backup software and I have just added support for copying links. This works very well and both the link and the file it points to are now copied to the destination directory and the new link points to the new file correctly. I had to add this support to get ...
I have some self written backup software and I have just added support for copying links. This works very well and both the link and the file it points to are now copied to the destination directory and the new link points to the new file correctly. I had to add this support to get ...
- Thu Nov 12, 2015 7:04 am
- Forum: General Developer Support
- Topic: How do I determine keyboard layout?
- Replies: 5
- Views: 8717
Re: How do I determine keyboard layout?
I'm not sure why you need this? Left and Right alt have distinct codes on any keyboard? (according to the includes at least)
#define RAWKEY_LALT 0x64
#define RAWKEY_RALT 0x65
Andyway a combination of AskKeyMapDeFault() and ObtainKeyMapInfo() should work out what keymap you are using.
Left and ...
- Sat Nov 07, 2015 8:58 am
- Forum: General Developer Support
- Topic: How do I determine keyboard layout?
- Replies: 5
- Views: 8717
How do I determine keyboard layout?
Hello everyone.
I have a use case where I would like to treat the right ALT key differently depending on the keyboard layout.
On US keyboard layouts it is a "normal" ALT but on most European keyboards it is an alt-gr.
But you get the same key code when it is pressed regardless of the keyboard ...
I have a use case where I would like to treat the right ALT key differently depending on the keyboard layout.
On US keyboard layouts it is a "normal" ALT but on most European keyboards it is an alt-gr.
But you get the same key code when it is pressed regardless of the keyboard ...