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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

graphics in dll

Status
Not open for further replies.

vanni75

Programmer
Nov 27, 2002
29
BE
Hi,

is it possible to store graphics into a dll compiled in VFP. Is it possible to use them in an other program?

thx

 
I would have to test for sure but I would ASSUME you could store the graphics in to a general field in a dbf then INCLUDE the dbf and fpt files into the project build the dll. If I am correct in my thinking by INCLUDING the files they get built into the dll and would be available at runtime [read-only].

Steve Bowman
steve.bowman@ultraex.com

 
Vanni,
I agree you could store them, but it couldn't directly display then, since this is a limitation of a VFP COM DLL (no UI!). I suppose you could return the image data from the DLL and have the calling application display it though.

Rick
 
you could include a method that would write the image to disk and return the full path to display.

Steve Bowman
steve.bowman@ultraex.com

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top