I have a DLL with maybe 20,000 lines of blocked out code using // and /*
*/. If I take the time to remove all this will it reduce the size of the
compiled DLL?
Thanks
Larry.
Background Information. Using Visual Studio 2005 C++ I have built a xll file that links to Excel just fine and runs no problem on my own machine that I developed the xll file on. I have posted a question before about sharing the dll(xll) file with others, the answer that I got back was I needed to include the library files or bind them into the dll somehow. The problem that I have is that we use Thin Client at work where I need to use the Xll file that I developed. I can not get access to any of the root files or install any external librarys. What I have is a folder that I can copy files into and can access excel files from as well. when I tried to use my xll file I get the error "not a valid addin" I have found on my other home machine if I add the librarys to the machine using the *.exe file that this error goes away. So my quesion is this, how can I if at all get all the necessary files into one dll? Any input would ge great. Also I am weak on the compiler switches in 2005 so a details would be appreciated. Thanks Blair
2. A question of size.. size matters :)
3. DLL Entry point problem - Dll compiles but throws error when ran
I've written a simple dll in C++ which basically right now just consists of a function to create an object, another function to check if an object has been created or not, and finally a function to destroy the object. The create, and Exists functions work fine, I added the destroy function and the DLL was built fine, no errors, not even a warning. Then I tried to access the destroy function of the dll and got this message "The procedure entry point _myproject_Destroy could not be located in the dynamic link library Mmyproject" (myproject substituted for the actual name for privacy reasons). I recognize this as a standard Windows error message when there's a dll problem but I can't figure out what it is. Any ideas? I'm accessing the destroy function the exact same way as the create and exists function, I've double checked spelling and everything.
4. Compile Multiple DLLs into a single DLL - CSharp/C#
5. compile error: storage size of 'var' isn't known
Hello everyone,
I get a strange compile error when compile such simple program. Any ideas?
foo.c: In function `main':
foo.c:5: error: storage size of 'var' isn't known
foo.c
[CODE]
#include "goo.h"
int main (int argc, char** argv)
{
t_st var;
var.member = 100;
return 0;
}
[/CODE]
goo.c
[CODE]
struct st {
int member;
};
[/CODE]
goo.h
[CODE]
typedef struct st t_st;
[/CODE]
thanks in advance,
George
6. how to compare the sizes of 2 structures at compile time
7. Compiled ocx file reports different sizes
Hi, When I use MSVC 6.0 ide to compile my active x component , the size reported is 412KB But when I comple the same fromcommand line, the size reported is 408KB Why ? Am I loosing something here Does IDE add somethings... Help sandSpiderX