how to add 2 DLL's to exe?

joaquim cambalinho_83@hotmail.com
Tue Aug 27 13:13:00 GMT 2013


see these VB code:


        strCompilerName = App_Path & "\MinGW32\bin\g++.exe"
        strEXEFileName = """" & App_Path & "\test" & """"
        strCPPFonteName = """" & App_Path & "\test.cpp"
        strMainIcon = """" & App_Path & "\MainIcon.res" & """"
        strRC = """" & App_Path & "\MainIcon.rc" & """"
        strResCompilerName = """" & App_Path & "\MinGW32\bin\windres.exe" &
""""
(i must use """" for considere the space and others characteres.. something
about VB i think)
app_Path is the program folder(where i have the program that will compile).

and see how i use it:
(here you don't see the strCompilerName  because is used in other place...
i'm showing these for you understand how i'm doing it;))
"-o " & strEXEFileName & " " & strCPPFonteName & " -static"

if i take off the & " -static", the compiler do the job correctly:(
so what i'm doing wrong?



--
View this message in context: http://gcc.1065356.n5.nabble.com/how-to-add-2-DLL-s-to-exe-tp963523p963560.html
Sent from the gcc - Help mailing list archive at Nabble.com.



More information about the Gcc-help mailing list