No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Suppose I have the following collection of "word" elements: [CODE] <word> <id>1</id> <text>My</text> </word> <word> <id>2</id> <text>name</text> </word> <word> <id>3</id> <text>is</text> </word> <word> <id>4</id> <text>Joe</text> </word> [/CODE] Given an integer ID value, in order to find the corresponding TEXT, I can do this: [CODE] <xsl:key name="word-by-id" match="word" use="id"/> return key('word-by-id', … |
|
I have the following segment inside my XSLT transform: [CODE] <property name="Value"><xsl:value-of select="for $index in ...[/CODE] msxsl.exe produces the following error: [I]Code: 0x80004005 Expected token 'EOF' found '$'. for -->$<--index in ...[/I] Is this a syntax error? The code before the shown segment seems to be fine. What am I … |
|
I have a command-line exe that, when invoked from a console window works normally, i.e. when given an input file, produces a good output file. When I invoke the same tool using CreateProcess() from a VC++ 6.0 module, it does not generate the output file. The exe itself has no … |
|
This is VC++ 6.0 code running on a Windows Server 2003 SP2 machine. 1. I launch an external exe from my code using CreateProcess() 2. This process creates a file on disk 3. I do rc = WaitForSingleObject(procInfo.hProcess,INFINITE); 4. rc is returned as WAIT_OBJECT_0 5. int result = _stat( strDestFile, … |
|
I have a C++ console executable module build in VS2008. To run it requires some MS components to be installed, namely: -- Visual C++ 2005 Redistributable Package -- Window Media Encoder 9 Package The module runs fine on all XP machines I tried but fails to load on a Windows … |
|
I need to develop a piece of code in an old legacy Visual C++ 6.0 system. I am invoking a stand-alone executable via a system call. This exe is supposed to create a file if processing goes OK or not create one if it fails. The name of the file … |
|
I need to develop a C++ DLL in a legacy system, so I have to work with Visual Studio 6.0. The project I am working with was copied from a "template" project that someone created a long time ago. I copied it, made lots of changes then realized I also … |
|
I have to develop a C++ DLL using Visual Studio 6 (don't ask why!) I am supposed to start from a template DLL project and then add functionality. Documentation states that I need to copy certain files from the template project into my project. However, when I open the template … |