Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Clipboard functions
Message
From
23/11/1999 06:37:30
 
 
To
23/11/1999 06:30:46
Tom Antczak
Allentown Digital Services
Allentown, Pennsylvania, United States
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00294261
Message ID:
00294270
Views:
15
>Hi Ed,
>
>Thanks for the info, I really appreciate it! But, I have tried to define the format (CF_BITMAP) and even tried to include the header files. None of this seemed to work, even substituting 2 for the param...as I research more and more, I'm wondering if I need to call a few more functions to allow it to recognize the clipboard in my program...maybe a call to the OpenClipboard() before I try to extract the data and then an EmptyClipboard() and a CloseClipboard() before I move on to the next process. I'm working in a loop and dealing with thousands of records that are copied to the clipboard before I need to extract them and convert to JPEG format for viewing on the web.
>

It's tough to access something that hasn't been opened. I'd advise not trying to use the Clipboard as an IPC mechanism if you're dealing with thousands of records - you're going to bury the memory on the server, and may well exhaust the virtual memory in the process.

You obviously need to issue and OpenClipboard(); realize that each separate instance of a bitmap is a separate clipboard entry, and you'll need to spin through gathering each occurance of a bitmap. I'd rethink the mechanism used to move the data...
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform