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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Aleksei

  1. Aleksei

    Problem of using Switch statement to display data in CListBox

    I am confused by your use of the switch, and the == operator. Note 1: you are doing a switch on a fixed number (int choices = 3) (???) Note 2: the == operator does a comparison. But you use it like an assignment. Are you missing an if? Note 2b: String comparison / assignment should be done...
  2. Aleksei

    How to extract a string from the statement

    going back to standard C++, you can use the strtok() or strsep() routines. If you don't have the MSDN Library, look at http://www.gnu.org/manual/glibc-2.0.6/html_chapter/libc_5.html#SEC65 for an example. This work on standard null-terminated C-style strings (char *), so if you're using...
  3. Aleksei

    Modeless Dialogs

    Once you have defined your Dialog, and have an instance of it's Class, call it's .Create() function to display it. This will show the dialog modeless. You can define member variables to hold the contents of the controls on the dialog. These member variables are updated when the Ok button is...
  4. Aleksei

    Modeless Dialog from DLL causes Assertion fails

    OER Candy, AGF, I am unclear with what you mean by Notification Message. Are you talking about Windows Messages ? Unfortunatelly, I have no control over the source code of the 'client' application - I consider it as a black box, which calls the Init routine twice (don't ask me why exactly)...
  5. Aleksei

    Modeless Dialog from DLL causes Assertion fails

    Hi, I am working on a DLL which will display a modeless dialog box. The executing program first calls an initialisation routine in the DLL (which calls .Create()), and then starts polling another routine, which should update a certain control in the Dialog. The polling routine does this by...
  6. Aleksei

    Building DLL in Visual Basic

    Okay guys, that was the answer I was afraid of. I tried to tackle my problem in VC++ originally, for which I also have an example of how to hook into the target application. I spent *way* too much time on the VC++ part, where I lack experience. A collegue suggested I'ld try VB instead, and I...
  7. Aleksei

    Building DLL in Visual Basic

    Hi all, I have a problem in exporting routines from a DLL written in VB6. What I need is a DLL which simply exports about four pre-defined routines, which the target application calls. I have created an Active X DLL project, containing one module (with sub main()) and one class (with...
  8. Aleksei

    complex substitution

    The /e modifier did the trick - I just found it in man perlop myself. Thnx guys!
  9. Aleksei

    complex substitution

    Well, my problem is calling the s/<expr>/procedure($+)/mg; It replaces the matched string with the string 'procedure()'
  10. Aleksei

    complex substitution

    I am trying to do a complex multi-line substitution while parsing a file. My data is in the form of &quot;KEYWORD identifier (multiline\ndata) (more data);&quot;. I've got the proper matching statement and the processing of the data figured out (put it in a subroutine), but now I want to apply...

Part and Inventory Search

Back
Top