Search found 8 matches
- Mon Aug 01, 2016 6:47 am
- Forum: General Developer Support
- Topic: How do I query information for a link?
- Replies: 5
- Views: 4061
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 be...
- Thu Feb 25, 2016 7:58 am
- Forum: General Developer Support
- Topic: How do I set file information on a *link*
- Replies: 15
- Views: 13395
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 have...
- Wed Dec 02, 2015 7:50 am
- Forum: General Developer Support
- Topic: How do I set file information on a *link*
- Replies: 15
- Views: 13395
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 m...
- Thu Nov 12, 2015 7:04 am
- Forum: General Developer Support
- Topic: How do I determine keyboard layout?
- Replies: 5
- Views: 5523
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 right...
- Sat Nov 07, 2015 8:58 am
- Forum: General Developer Support
- Topic: How do I determine keyboard layout?
- Replies: 5
- Views: 5523
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 keybo...
- Mon Jul 13, 2015 8:29 am
- Forum: General Developer Support
- Topic: ASL Requesters coming up behind parent window
- Replies: 2
- Views: 2563
ASL Requesters coming up behind parent window
Hello. I have a program that opens an ASL file requester using the following code snippets (only partially displayed for clarity): struct TagItem Tags[] = { { ASLFR_Window, (ULONG) m_poWindow }, ...}; Requester = IAsl->AllocAslRequest(ASL_FileRequest, Tags); IAsl->AslRequestTags(Requester, TAG_DONE)...
- Tue Jun 03, 2014 5:48 am
- Forum: General Developer Support
- Topic: Best way to resolve a soft link?
- Replies: 17
- Views: 14095
Re: Best way to resolve a soft link?
Hello everyone. I have been away so have not been able to get back to this thread for a while. It seems my question was not understood, or at least I need to explain the idea behind what I want to do and why. I am writing (actually have written) some backup software which mirrors a partition or dire...
- Sun May 11, 2014 10:31 am
- Forum: General Developer Support
- Topic: Best way to resolve a soft link?
- Replies: 17
- Views: 14095
Best way to resolve a soft link?
Hello all. I have a situation where I need to resolve the target of a softlink programatically. We have the dos.library function ReadSoftLink() but this is a low level function that sends a message to the filesystem. From its API it is obviously too low level for application programs and its documen...