|
-
Jul 13th, 2000, 04:11 PM
#1
Thread Starter
Addicted Member
What does this mean? Why does this happen?
I know when: It happens when I use CopyMemory() function and when I want to assign variable, returned by CopyMemory to my function (string variable).
Here's the code I use:
[code]
function MyFunction() As String
hLock = LockResource(hLoad)
hSize = SizeofResource(hInst, hFind)
ReDim b(0 To lsize) As String
CopyMemory b(0), hLock, hSize
FreeLibrary hInst
MyFunction = b
End function
Zvonko Bostjancic
Ilirska Bistrica, Slovenia
[email protected]
Using VS6 Professional with SP3
Programming mostly in VB and I've started to learn VC++ & MFC
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|