Menu

#157 creating DLL with spaces in project filename

open
nobody
None
5
2012-09-26
2003-08-14
Anonymous
No

Dev-Cpp 4.9.8.0

I found that if there are spaces in the project filename
and you want to create a dll it won't compile (using
inverted commas around the filename should fix this).

Discussion

  • Colin Laplace

    Colin Laplace - 2003-08-28

    Logged In: YES
    user_id=25510

    True. The quotes are there but dllwrap eats them and doesn't
    give the correct filename to c++.exe
    I'll be investigating that

     
  • Oliver Stöneberg

    Logged In: YES
    user_id=591019

    There is a problem with argv[] (at least in MSVC++ 6), that
    it eats the last quote (") if the character before it is a
    backslash () and it keeps the first one.

    Input argv: "C:\Program Files\Common Files\Test\"
    Internal: "C:\Program Files\Common Files\Test\

    Input argv: "C:\Program Files\Common Files\Test"
    Internal: C:\Program Files\Common Files\Test

    Input argv: "C:\Program Files\Common Files\Test\ "
    Internal: C:\Program Files\Common Files\Test\

     

Log in to post a comment.