Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Graphics Server ???

Status
Not open for further replies.

VFP7

Programmer
Jan 17, 2001
15
IN
I have lots of small executables. Except one (main) all other are opened with SET PROCEDURE TO command and I do my work and RELEASE PROCEDURE when not required. I therefore have lots of icons and graphics files which are shared among these executables. I do not want to include all of them in the exe for the sake of size and also that way sharing will not be there. Does there any way by which I can create a DLL in VFP (like MOREICONS.DLL) which can serve me whatever icon I want and that too, can I place the call directly in THIS.Picture =.
 
I may be wrong about this. But I believe if you include all the graphic files in your main exe as long as it is in scope all the other should be able to find the files.

BTW. If you are calling the other exes by using set proc you might as well compile them to apps. They will be a bit smaller that way. The main diffence between a VFP exe and app is that the exe includes some code so it can find the runtime libraries. If you are calling from one main exe that has already been done.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top