English
Forum

Ole Strings

 
- Page 1 -



Normann
Strübli
Hi,

have The honour The first question here to put To can

I work in the moment the data base-system Cheetah
[...]  and the whole
working too terrific. The Dll supported whom Funktionsaufruf through
OLE Strings but too with standard zero-terminierten Strings.
so far so well...

now would like I The Memofelder benefit circa there binäre data (Images)
To Save. there in the suitable function no Memory-Variable
separate only the String transfer becomes is the maximum length Yes on
32767 characters terminable - the langt but not there

If I the right understood have are OLE-Strings roughly said
dynamic Strings The no defined length and have each arbitrary
characters include can (correct me Please) and not of
Profan supported go. -means bad luck had...

really have I me The question so already self answers,
or I have there what overlooking???

unfortunately is the data base no Freeware , but Perhaps
has Yes jmd. interest The whole functions for Profan
umzusetzen - have already a Include written The whom Use
vereinfacht.

now likes itself of/ one ask Why I The Dll at all using:

1. Very small, stood alone
2. Very quick
3. Extensive Suchfunktionen
4. wants me not SQL keep busy

here again short The Spezifikationen:

Max number of records: 2,147,483,647
Max number of fields: 1000
Max character field size: 256
Max numeric field size: 20
Max memo size: Limited by disk space
Max record size: 4000 bytes

Indexes
Max open indexes by database: 100
Max fields for compound indexes: 6
utterly allowable open indexes: 1000
Queries

Max number of conditions: 50
Max sort expressions: 6
Multiuser

Max number of concurrent users: 255

Greeting
Normann Strübli
 
05/16/04  
 



 
- Page 2 -


well, ne Hex-Datenkette wanted not, then ne compressed Perhaps? i'd you ne small DLL basteln damits quick goes and so You The Kneete not whom sand staid have. The Dll could then 2 functions having, a The one BinFile to a komprimiertem txt-file power, and ne Gegenfunktion.

To denne, iF
 
07/08/04  
 




Michael
Wodrich
I have me the example with the 2 Memodateien time respected. there becomes first one String the length the File prepared and then the File read. at that write becomes simply the String indicated.

this is very How in Your example. though would I with the the Char$() over again reaktivieren and testing. because very so ought to it walk.

have Thou too XProfan with all latest Patches keeps?
The Char$() having Yes time Problems with whom in the string encompassed nobodies.

MfG
Michael Wodrich
 
Programmieren, das spannendste Detektivspiel der Welt.
07/08/04  
 




Normann
Strübli
Yup, The latest Patches Have I installs.

Michael, the trouble isn't the String self separate How I it
commit.

what I utterly not understand:
If I a String with the addr() of/ one function transfer would like
then works not, see Profan Help, there with chr$(0) end is.

now have I but a area# the The data contains and say simply
Bereich& = area# and already standing Yes The address the Memory-Variables in the LongInt what about me can it transfer. (at least theoretical)

means but not:
xdbAssignField_Z(dbHandle&,0,PictureField&,addr(data$))

now:
xdbAssignField_Z(dbHandle&,0,PictureField&,Bereich&)

If I me The Memo-File now time with a editor angucke standing
there objectively what drin unzwar again very until Nullbyte GRRR!
but Why? Why not everything???

@IF:
That the mini-Dll is evtl a Possibility, but says me nevertheless not
To. thanks for your tender!
The problem is (and I'm sorry if I so on the Theme rumreite)
i want understand Why the so is what's it like and not functions. And if not on XProfan lying then werd I the Entwicklern the data base time my
opinion moreover say (though know I do not so many english Schimpfwörter )

OK, is already late be tired and before I dank it Stromausfalls (wg. the small thunderstorm here) everything new write must say I
there time

good night!
 
07/08/04  
 



[quote:499fc797e0]@IF:
That the mini-Dll is evtl a Possibility, but says me nevertheless not
To. thanks for your tender![/quote:499fc797e0]
 
07/08/04  
 




Michael
Wodrich
getreu the Motto: what The data base can should, the should tappt im dunkeln then too without Fremdeinwirkung do...
mandatory I you somehow right give.

but how'bout instead of with jangle simply time with Verbesserungsvorschlägen. pieces whom Entwickern simply with, that the with the Memofeldern not all Programmiersprachen functions and question, whether tappt im dunkeln not a function install can, a address and a Längenangabe expects.
then go from the Speicherbereich, on the The address shows, very amount Bytes into Memodatei copies (and Rückweg very so).
the ought to then with all Programmiersprachen functions.

MfG
Michael Wodrich
 
Programmieren, das spannendste Detektivspiel der Welt.
07/09/04  
 




Frank
Abbing
Hi,

Perhaps can you The APIs lstrcpy() and lstrcat() help.
The copy (or. hanging on) a String a Buffer.
otherwise can you Perhaps too MultiByteToWideChar() or WideCharToMultiByte() help.
 
07/09/04  
 




Normann
Strübli
[quote:8a80d2de32]Perhaps can you The APIs lstrcpy() and lstrcat() help.
[/quote:8a80d2de32]
unfortunately No there tappt im dunkeln as Parameter ditto a Nullterminierten String expect and it so automatically gekürzt becomes.
[quote:8a80d2de32]what The data base can should, the should tappt im dunkeln then too without Fremdeinwirkung do...
[/quote:8a80d2de32]
naturally can I expect the everything correct functions damn, so a Sch&$% DB!
Also schimpf I Yes none! (even if itself the Perhaps so reads)

but you have Yes right what about me have again a Mail on whom Support written. I wanted to hold gladly exclude the it on me or
XProfan lying, english Mails verfassen heard namely sure not To my
strengthen, but Why should The not too something To laugh having with the work.

time bad what there happens!

Andernfallst would it well not To plenty desires if Roland quick time even a Support for OLE Strings einbaut

Greeting
Normann
 
07/09/04  
 



Hmmm, were OLE Strings not these, which with a the Längenangabe begin (number d. bytes) and then with the eigendlichen Content equips are? Perhaps can you the simply a area simulate, hear You?
 
07/09/04  
 




Normann
Strübli

I listen...

versteh only not integrally - was now ne question?

know Thou what OLE Strings very are? - I nothing very white.

Greeting
Normann
 
07/09/04  
 



now, if i remember rightly are OLE-Strings nothing moreover as Pointer with a 32bit Header which The length angibt.

iF
 
07/09/04  
 




Normann
Strübli
you mean means so:

FileData# < contains sinngemäß z.B. whom Content the File
DataOLE# < contains whom simulierten OLE String

Adresse& = FileData#

LONG DataOLE#,0 = @SizeOf(FileData#), Adresse&

means the first 4 byte give The length on and the next 4 The address
the Memory-Variables.

if so then is not. :|
 
07/09/04  
 



no, probier time 32bit size, and remainder Data.

means

dim b#,8
long b#,0=4
byte b#,4=ord(t)
byte b#,5=ord(e)
byte b#,6=ord(s)
byte b#,7=ord(t)
 
07/09/04  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

16.733 Views

Untitledvor 0 min.
H.Brill05/21/24
Member 361000511/11/22
RudiB.04/26/22
Ingo01/20/20
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie