Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. need help in TrimStart()

need help in TrimStart()

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpcsharptutorial
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sheshidar
    wrote on last edited by
    #1

    Hi, in my project i have to use TrimStart(), for this i included "mscorlib.dll", but i am getting error message as D:\Sheshidar\DiplomArbeit\DAP\DAPDlg.cpp(8) : fatal error C1083: Cannot open include file: 'mscorlib.dll': No such file or directory when i searched for help most of the results giving for VC++.Net, but i am working on VC++6.0 can u help me in this how to overcome on this error and how to add mscorlib.dll for my work. thanking you have a nice time ciao sheshidar patnam

    W S 2 Replies Last reply
    0
    • S sheshidar

      Hi, in my project i have to use TrimStart(), for this i included "mscorlib.dll", but i am getting error message as D:\Sheshidar\DiplomArbeit\DAP\DAPDlg.cpp(8) : fatal error C1083: Cannot open include file: 'mscorlib.dll': No such file or directory when i searched for help most of the results giving for VC++.Net, but i am working on VC++6.0 can u help me in this how to overcome on this error and how to add mscorlib.dll for my work. thanking you have a nice time ciao sheshidar patnam

      W Offline
      W Offline
      willy_total
      wrote on last edited by
      #2

      you can't use the .Net framework in VC 6.0. You will have to use CString or the C-Runtime Library funcitons.

      S 1 Reply Last reply
      0
      • S sheshidar

        Hi, in my project i have to use TrimStart(), for this i included "mscorlib.dll", but i am getting error message as D:\Sheshidar\DiplomArbeit\DAP\DAPDlg.cpp(8) : fatal error C1083: Cannot open include file: 'mscorlib.dll': No such file or directory when i searched for help most of the results giving for VC++.Net, but i am working on VC++6.0 can u help me in this how to overcome on this error and how to add mscorlib.dll for my work. thanking you have a nice time ciao sheshidar patnam

        S Offline
        S Offline
        shivditya
        wrote on last edited by
        #3

        FRIEND DONT INCLUDE DLL FILE dll project generates two important files 1).dll 2) .lib A)copy these both files in your main project debug dirctory B)copy the header file of the all\required classes used in DLL PROJECT in to main project directory. Include these header files wherever it does not identify class if required. C)IN MAIN PROJECT Goto Menu Project - > settings open the link tab inthat Object\link modules type the name of lib file with extension D) In addition copy the dll and lib in your main project folder also remember earlier i asked to copy in debug folder where your exe gets generated now i am asking just for safety. REMEMBER DLL IS NOT HEADER FILE TO INCLUDE still problem contact me shivditya@hotmail.com || ART OF LIVING ||

        1 Reply Last reply
        0
        • W willy_total

          you can't use the .Net framework in VC 6.0. You will have to use CString or the C-Runtime Library funcitons.

          S Offline
          S Offline
          sheshidar
          wrote on last edited by
          #4

          Thx Willy, but which C-Runtime Library funcitons i have to use instead of Timstart()?

          W 1 Reply Last reply
          0
          • S sheshidar

            Thx Willy, but which C-Runtime Library funcitons i have to use instead of Timstart()?

            W Offline
            W Offline
            willy_total
            wrote on last edited by
            #5

            The easiest way is to use CString LeftTrim, but if you can't use CString. You might be able to use StrTrim, but it will remove the chars from the left and right, so if that will not work for you, you will have to loop through the string.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups