I am trying to convert a VB6 project to RB. It seems to be working
except when it makes the following call:
Declare Function SetOptionValueA Lib "engine.dll"(ByRef Name as
cstring, ByRef Value as cstring) as integer
return SetOptionValueA(mb1,mb2)
mb1 & mb2 are memory blocks, assigned in this manner:
mb1 = newMemoryBlock(1+LenB(sName))
mb2 = newMemoryBlock(1+LenB(sValue))
mb1.cstring(0) = sName
mb2.cString(0) = sValue
The application just crashes on WinXP and wants to send the report for
Microsoft. The DLL works because the VB6 application works fine. Any
help would be appreciated. :)
Christian
Pariahware, Inc. Custom Software
<pariahware at pariahware dot com>
<http://www.pariahware.com>
--
God loved you so much that He gave His only son Jesus. What have you
done with God's gift?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|