向数据库中存储word 文档和jpg,bmp图象,用long binary型字段.可是为什么文档大小一但超过32k,从数据库中读出来时,word文档就成乱码,而图象文档报"JPEG error #52"的错误?(32k以下正常)
有什么解决办法?
有什么解决办法?
解决方案 »
- 新手请教,如何使用2维数组。
- 创建字段后直接更新值,会报错,请大家进来帮帮忙。
- 大家好,求助如何使用delphi截取屏幕啊
- 怎么编写IDE??
- 多媒体编程问题,急!!!
- Delphi能够使用Windows 2000/XP SDK吗?
- 在线等待:如何把 ASP 的登录验证做成 dll
- 谁有Borland Delphi 6 Personal Edition 的Serial Number 和Authorization key?
- 请问如何使Delphi中主窗体Form的右上角的关闭按钮为虚显示?
- 了解了进程,线程等概念,怎样在编程是应用?
- Delphi DLL调用问题
- 请问有什么好书介绍C/S类和分布式数据库编程方面的书?
下面只是个小例子var
cString: String;
oMemory: TMemoryStream;
Buffer: PChar;
begin
cString := 'This is a String Darnit!';
{ Create a new Memory Stream }
oMemory := TMemoryStream.Create;
{!! Copy String to a PChar }
StrPCopy( Buffer, cString );
{ Write the =buffer= and it's size to the stream }
oMemory.Write( Buffer[0], StrLen( Buffer ) );
{Write that sucker to the field}
GraphicFieldName.LoadFromStream( oMemory );
oMemory.Free;
[email protected]
你留个地址吧
[email protected]
给您发过去了to Nizvoo(会点Pascal)
没有收到请重发。