Post

 Resources 

Console


hm got an idea why.../solution?! YellowSheep (1 reply, 0 views) (2001-Jun-29)
-
Hm well i lucky told me why it might crash... he told me to get some space for string first and if you have it, copy the type into it.. space(len(mytype)) aka this style before the copymemory, what do you think? my vb dont crash now, but it looks like that the usertype wasnt copied... if i try to display it in an msgbox ist an empty string.. i tried it like that: mystr = space(len(mytype)) copymemory mystr, mytype,lenB(mytype) hm but i think len/lenB isnt the same as sizeof from C or so... i think it just searches for the \0 in the string... and has an small counter that returns when it found the null termination... or ?


-
Up One Level | Back to Forum

Ummmm W-Buffer (0 replies) (2001-Jul-5)

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 59 visitors within the last 20 minutes
RSS News Feed