Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DECLARE DLL problem
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00909545
Message ID:
00909559
Views:
6
Thank you! Its work now.




>>Hi,
>>I use Tobit software api. It have samples on VB.
>>
>>Private Declare Function DVEmlFromMailItem Lib "DvApi32" (ByVal oMailItem As DvApi32.MailItem, ByVal strFileName As String) As Long
>>
>>Declare Integer DVEmlFromMailItem In "DvApi32" Object @, String lcFilename
>>
>>
>>When I call DVEmlFromMailItem(loMailItem,lcTmpFilename) I got error "Declare Dll call caused an exception"
>>Code same as VB example in help file, just on foxpro. loMailItem have MailItem type.
>>
>>What might be diffrent between VB and VFP object parameters?
>>
>>Any ideas
>
>Try removing the @ symbol. From the VB code, it's passed by value not reference. I know it sounds weird but that's what the VB code says.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform