| | |
How can i load a file from memory not local !? Newbie
Please support our Pascal and Delphi advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Sep 2007
Posts: 11
Reputation:
Solved Threads: 0
Dear delphi coders
i am a newbie to delphi , i am using an free ocx called devalvr for loading panorama images , thats a great activex with powerfull parameters all free
now i want to create a multimedia cd with delphi and flash and i want to load panorama images into this ocx but this line below is how this ocx will load files
but i don't want to put files right in cd i mean i don't want to everyone can see my source images and easily copy them , is there any method any way , trick ,
i know how to encrypt or decrypt files but the problem is that this activex load files like coded line !!
Thanks in advance
i am a newbie to delphi , i am using an free ocx called devalvr for loading panorama images , thats a great activex with powerfull parameters all free
now i want to create a multimedia cd with delphi and flash and i want to load panorama images into this ocx but this line below is how this ocx will load files
Pascal and Delphi Syntax (Toggle Plain Text)
src:="c:\image.jpg"
but i don't want to put files right in cd i mean i don't want to everyone can see my source images and easily copy them , is there any method any way , trick ,
i know how to encrypt or decrypt files but the problem is that this activex load files like coded line !!
Thanks in advance
•
•
Join Date: Aug 2008
Posts: 1,735
Reputation:
Solved Threads: 186
You didnt really explain what you expect to store your images in. However, if you use a database, you could write temp files out to load into the source.
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
•
•
Join Date: Aug 2008
Posts: 1,735
Reputation:
Solved Threads: 186
If your component only takes file input, then thats what you've got to work with. If you just need to display images, why use an OCX in the first place?
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
•
•
Join Date: Sep 2007
Posts: 11
Reputation:
Solved Threads: 0
•
•
•
•
If your component only takes file input, then thats what you've got to work with. If you just need to display images, why use an OCX in the first place?
here you can see some examples but in IE activex version
DevalVr Examples
but i am using standalone ocx , in web it's easy with some set of permissions you can secure you source images from downloading but in local machines !?
I think there is a trick or way to do this but how ( i don't know ) , for example for some activex like flash player there is some versions that can load swf file from memory , then i think maybe there is a trick that i can do it with devalVr , anyway i am not just looking for loading from memory any other way to secure files on local machines , and another thing is that when this ocx load files , if delete the source file the deval still works fine , i mean devalvr will load ( buffer ) images into memory then there is no need to source image , i just give this suggestion maybe will help you to find a solution for this matter
Still Thanks in advance for your Consideration
•
•
Join Date: Sep 2007
Posts: 11
Reputation:
Solved Threads: 0
And another thing is that , is there any way by using WM_COPYDATA message !?
This message is what fiero ( Developer Of DevalVr Give Me )
This message is what fiero ( Developer Of DevalVr Give Me )
•
•
•
•
Hi synxmax,
It is not possible to share a portion of RAM to pass an image between two programs. This is for security reasons.
In Windows only exists a mechanism to pass some data from any program to another application. This is the WM_COPYDATA message. Can you manage the WM_COPYDATA message from your Delphi application?
At this moment this is not implemented in the viewer, but maybe could be possible to send an image to the player through WM_COPYDATA...
regards!
•
•
Join Date: Aug 2008
Posts: 1,735
Reputation:
Solved Threads: 186
WM_COPYDATA only works if the receiver knows what to do with it. You are limited by what your OCX will understand. Best thing to do would be to post on their forums to find out what options you have.
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
![]() |
Similar Threads
- "Forbidden / You don't have permission to access / on this server." error (Linux Servers and Apache)
Other Threads in the Pascal and Delphi Forum
- Previous Thread: Report Application Pascal
- Next Thread: StringGrid Detecting Default Selection?
| Thread Tools | Search this Thread |
Tag cloud for Pascal and Delphi






