Package VC++ as static standalone
-
hi, i'm trying to package my console program as a static standalone, i.e. make it such that it does not require any dlls/libs on the client machine. can someone tell me how to do it?? thanks a lot!
-
hi, i'm trying to package my console program as a static standalone, i.e. make it such that it does not require any dlls/libs on the client machine. can someone tell me how to do it?? thanks a lot!
MFC as a statically linked library rather than DLL and make sure you don't specifiy an external DLLs. Elaine :rose: The tigress is here :-D
-
MFC as a statically linked library rather than DLL and make sure you don't specifiy an external DLLs. Elaine :rose: The tigress is here :-D
hi, thanks for replying. what do u mean by don't specify an external dll? i'm using oracle and so, i do have to use a certain oracl32.lib would that be what u mean?
-
hi, thanks for replying. what do u mean by don't specify an external dll? i'm using oracle and so, i do have to use a certain oracl32.lib would that be what u mean?
Then I think this won't be possible then. Unless you have lib file provided so you can statically link it instead of dynamically...
-
Then I think this won't be possible then. Unless you have lib file provided so you can statically link it instead of dynamically...
yes, i do have the lib file. u mean *.lib right? i have that. so how can i statically link it?
-
yes, i do have the lib file. u mean *.lib right? i have that. so how can i statically link it?
Normally (but I'm not sure), you can go to the project settings somewhere and specify all the libraries you are using. But I don't remember exactly where and I don't have VC++ installed here...
-
Normally (but I'm not sure), you can go to the project settings somewhere and specify all the libraries you are using. But I don't remember exactly where and I don't have VC++ installed here...
i've already done the settings. the problem arises when i try to use another computer that doesn't have the libraries already installed. when i do so, the program won't work and it will complain that the libraries are not available. the problem is i can only have one file to push, as i'm doing a activex object. so i need to package those additional dlls/libs into the dll that i'm creating. please help, i'm tearing my hair out! :(
-
i've already done the settings. the problem arises when i try to use another computer that doesn't have the libraries already installed. when i do so, the program won't work and it will complain that the libraries are not available. the problem is i can only have one file to push, as i'm doing a activex object. so i need to package those additional dlls/libs into the dll that i'm creating. please help, i'm tearing my hair out! :(
ng kok chuan wrote: the problem is i can only have one file to push, as i'm doing a activex object. so i need to package those additional dlls/libs into the dll that i'm creating. ?? Uhh... Why ?? An active X can use external dll, what is the problem here ?? You just need to ship all the files
-
ng kok chuan wrote: the problem is i can only have one file to push, as i'm doing a activex object. so i need to package those additional dlls/libs into the dll that i'm creating. ?? Uhh... Why ?? An active X can use external dll, what is the problem here ?? You just need to ship all the files
it's cos the other files can't be installed as dlls. i'm using dlls from oracle and visual studio c++, and in order to use those dlls, it requires oracle and vc++ to be installed. i've tried registering the files manually but it doesn't work. hence the requirement to package as a static file instead of using dlls. sigh, weird solution to a weird problem...