BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help , urgently !

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Command Line Tools)
View previous topic :: View next topic  
Author Message
Lincon Xue
Guest





PostPosted: Fri Dec 05, 2003 1:07 am    Post subject: Help , urgently ! Reply with quote



I want to complie and link all functions from ".dll" ".vxd" and ".sys" to
my ".exe" files.
So the end-users do not need any ".dll" or ".sys" or ".vxd" to install on
his local machine.
Let me know if it is possible.
If true , how to do it?
Thanks in advance!



Back to top
Bruce Salzman
Guest





PostPosted: Fri Dec 05, 2003 3:00 am    Post subject: Re: Help , urgently ! Reply with quote



Quote:
I want to complie and link all functions from ".dll" ".vxd" and ".sys" to
my ".exe" files.
So the end-users do not need any ".dll" or ".sys" or ".vxd" to install on
his local machine.
Let me know if it is possible.

Sorry, not possible. DLL's are dynamic libraries (hence the name Dynamic
Link Library) and are loaded by Windows. You would need to recompile the
DLL's functions into a static library in order to statically link it with
your program. As for the .sys and .vxd files, they are device drivers (that
must be properly installed/registered with Windows) that are also loaded by
Windows itself.

Regards,
Bruce



Back to top
Lincon Xue
Guest





PostPosted: Fri Dec 05, 2003 3:22 am    Post subject: Re: Help , urgently ! Reply with quote



Bruce wroted:
Quote:
Sorry, not possible. DLL's are dynamic libraries (hence the name Dynamic
Link Library) and are loaded by Windows. You would need to recompile the
DLL's functions into a static library in order to statically link it with
your program. As for the .sys and .vxd files, they are device drivers
(that
must be properly installed/registered with Windows) that are also loaded
by
Windows itself.

But must I install the .sys and .vxd in the direcotry of windowssystem32 ?
I want to let these files in same direcotry as the .exe . Is it possible?



Back to top
Bruce Salzman
Guest





PostPosted: Fri Dec 05, 2003 3:32 am    Post subject: Re: Help , urgently ! Reply with quote

Quote:
But must I install the .sys and .vxd in the direcotry of windowssystem32
?
I want to let these files in same direcotry as the .exe . Is it possible?

It may be possible, but it is dangerous. If the file is deleted somehow,
and Windows expects it to be there, Bad Things Will Happen.

Regards,
Bruce



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Command Line Tools) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.