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. sscanf in dll

sscanf in dll

Scheduled Pinned Locked Moved C / C++ / MFC
questionhelp
4 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.
  • B Offline
    B Offline
    Bastard777
    wrote on last edited by
    #1

    hi everyone i got a little problem. i'm trying to build a dll which opens a file to read ellipsoid parameters. these parameters are double values. i found out, that i get a run time error when using "sscanf" in a dll. but what is the solution? how can i get doubles from a string in a dll? live fast, die young!

    A A B 3 Replies Last reply
    0
    • B Bastard777

      hi everyone i got a little problem. i'm trying to build a dll which opens a file to read ellipsoid parameters. these parameters are double values. i found out, that i get a run time error when using "sscanf" in a dll. but what is the solution? how can i get doubles from a string in a dll? live fast, die young!

      A Offline
      A Offline
      Alexandru Savescu
      wrote on last edited by
      #2

      Did you try atof? Regards, Alexandru Savescu

      1 Reply Last reply
      0
      • B Bastard777

        hi everyone i got a little problem. i'm trying to build a dll which opens a file to read ellipsoid parameters. these parameters are double values. i found out, that i get a run time error when using "sscanf" in a dll. but what is the solution? how can i get doubles from a string in a dll? live fast, die young!

        A Offline
        A Offline
        Arsalan Malik
        wrote on last edited by
        #3

        If you are reading file in dll, then why are you not using fscanf? ARSALAN MALIK

        1 Reply Last reply
        0
        • B Bastard777

          hi everyone i got a little problem. i'm trying to build a dll which opens a file to read ellipsoid parameters. these parameters are double values. i found out, that i get a run time error when using "sscanf" in a dll. but what is the solution? how can i get doubles from a string in a dll? live fast, die young!

          B Offline
          B Offline
          Bastard777
          wrote on last edited by
          #4

          thanx to both of you. i tried both and it all works fine. live fast, die young!

          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