Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Malachi

    Custom Build Step problem

    I found this annotation from josh's Weblog I will pursue using a macro. If anyone has a better suggestion it would be appreciated. Thanks in advance
  2. Malachi

    Custom Build Step problem

    I have a custom build step in which the Commands are: mkdir ..\MYPROGRAM\HELP mkdir ..\MYPROGRAM\DATA mkdir ..\MYPROGRAM\LOGS mkdir ..\MYPROGRAM\DEMO and the Outputs are ..\MYPROGRAM\DEMO ..\MYPROGRAM\DATA ..\MYPROGRAM\HELP ..\MYPROGRAM\LOGS I assigned this custom build step to 10 of my...
  3. Malachi

    Debug question

    Thank you Zyrenthian and PerFnurt. I had changed the project settings Debug Working directory to C:\MYPROGRAM", and then changed the General Output Files directory to "C:\MYPROGRAM", and then invoked "File01.EXE". When "File01.EXE" was running I called "File02.EXE" from within "File01.EXE" and...
  4. Malachi

    Debug question

    Microsoft Knowledge Base Article - 121556 has some interesting information. The section "Can't set breakpoint in source file when corresponding symbolic information isn't loaded into memory by debugger." has helped me avoid the error " One or more breakpoints cannot be set and have been...
  5. Malachi

    Debug question

    Thank you for the response. I changed the "File02" Project Settings "Executable for debug session:" to C:\MYPROGRAM\FILE01.EXE and the "Working Directory:" is set to C:\MYPROGRAM. After these changes I set a breakpoint in the File02.c source code and pressed the "F5" key to debug the project. I...
  6. Malachi

    Debug question

    Ok, now the files are built in the C:\MYPROGRAM Directory, and I no longer get the error message about the missing .ini file. I set a breakpoint in the File02.c source at a function definition. File01.exe, calls File02.exe via a WinExec() call. When I execute my main program by pressing F5 I get...
  7. Malachi

    Debug question

    Ok, via the IDE Workspace Window I have selected the Main program's project (File01.exe)and, after right-clicking the project name, chosen "Set as active Project" from the context menu. The project name is now marked in bold text. I now press the "Ctrl+F5" combination on the keyboard to...
  8. Malachi

    Debug question

    It looks like I'm getting more than I bargained for now. I have now changed each Debug project's "Output Files" path to C:\MYPROGRAM (no file renaming is necessary). For each output file, there are two additional files with extension .ilk and .pdb. What are these? Is there a way to avoid this?
  9. Malachi

    Debug question

    I have a Workspace located in a root directory, with numerous child directories. Within each child directory is a VC++ project that compiles and creates an executable or library within each respective child directory. Here is an illustration of the directory structure: (Parent Directory)...
  10. Malachi

    Clearing text from an entry widget

    Thank you both for this information. I am using array elements for the textvariables, but I forgot about &quot;array names <array_name>&quot;. Using a hash to store name/value pairs is a trick I learned when writing Perl CGI scripts for parsing HTML forms. Since all entry widgets need to be...
  11. Malachi

    Clearing text from an entry widget

    I have an dialog box that appears and asks the user for some information. When the user presses the &quot;SAVE&quot; button, the text is read and stored in an internal data structure. This all works fine. When the dialog box appears the second time the old text is still visible in the entry...
  12. Malachi

    XML vs. Delimited Text document

    I'm using ActiveStates Tcl/Tk v8.4. The parser I'm using is Zveno (http://www.zveno.com/) TclXML, a SAX like parser. The utility I'm writing is a personal document management program for use on Windows and Linux. It already works well with my proprietary configuration file. I want to use XML...
  13. Malachi

    XML vs. Delimited Text document

    Thank you for responding. I know XML can provide a means to eliminate proprietary data formats, but I'm far from understanding how to use XML as a data format for my programs. I think what I should have asked is &quot;Are there any good introductory books about XML usage?&quot;. I'm sure that...
  14. Malachi

    XML vs. Delimited Text document

    I'm interested in converting some programs I've written for personal use to utilize XML as a &quot;configuration file&quot; format. Currently, I'm using delimited text documents to define input records for a project management tool written in Tcl/Tk. The program opens the configuration file...
  15. Malachi

    Memory could not be [read/written]

    Thanks for the response. It gave me some insight to the VB string passing quirks. Passing a LPCSTR to wsprintf causes a warning so I didn't use it. I'm now assigning a LPCSTR variable a string value: LPCSTR myString = &quot;Hello, World!&quot;; and returning the myString to the calling...
  16. Malachi

    Memory could not be [read/written]

    I have a piece of code giving me fits. I am attempting to call a DLL function, which should return a String to the calling environment. Here is the DLL source code: // MYDLL.DLL #include <windows.h> BOOL WINAPI DllMain( HINSTANCE hinstDll, DWORD fdwReason, LPVOID lpvReserved ) { } void...
  17. Malachi

    Call Visual Basic routine from C

    I am a complete newbie to Visual Basic. I have experience in C and have a C application from which I need to call routines written in Visual Basic and vice-versa. It's been suggested to me to use &quot;Automation&quot; (which I believe was called OLE some time ago). Unfortunately, Automation...
  18. Malachi

    Backslash interpreted incorrectly

    Thank you very much for the reply. I should have mentioned that the code I'm working with is legacy code, and is wrought with string literal definitions like the one I mentioned. The code works well if each line in the string literal has NO preceding characters. However, if the auto-format...
  19. Malachi

    Backslash interpreted incorrectly

    I used the backslach character to perform line continuation in the MSVC++ V6.0 IDE. After Auto-formating the text a number of extra spaces were added to the string literal. I'm trying to create an array to pass to the OPENFILENAME structure in order to present the user with a list of files to...
  20. Malachi

    Howto Add Comments to Resourc (.rc) file

    Oh, o.k. thanks. However, this method makes no sense to me ( maybe it does to Bill G. ). Why should I make a .rc2 file? The original .rc file was crafted by hand, and when opened in the MSVC++ 6.0 IDE I was greeted by a message indicating that the .rc file was not created using MSVC++ and...

Part and Inventory Search

Back
Top