Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Declare dll call caused an exception
Message
From
31/01/2005 14:20:07
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP2
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00979001
Message ID:
00982383
Views:
47
>>
>>iFormat        = 5   && get FrontFilename & MICR
>>pFrontFileName = LocalAlloc( 64, 256 )
>>pFrontSize     = LocalAlloc( 64, 256)
>>pBackFileName  = LocalAlloc( 64, 256 )
>>pBackSize      = LocalAlloc( 64, 256 )
>>pCode          = LocalAlloc( 64, 256 )
>>pCodeSize      = LocalAlloc( 64, 256 )
>>
>>
>>** MICR FileName
>>cMICR_FileName = 'MICR_Out.TIF'
>>Copy2Mem( pCode, cMICR_FileName, len( cMICR_FileName ))
>>Copy2Mem( pCodeSize, Num2DWord(len( cMICR_FileName )), 4 )
>>
>>
>but the MICR is not saved to a file, it is supposed to be stored in a memory variable.

Hmm.. this is somewhat a bit confusing. This is what I read from the docs you posted
   lpCode      -  File name for MICR of the check.
   lpLenCode   -  Length of the file (ASCII) containing the MICR.
Now, you said it supposed to be stored in memory variable. Can you give more detail info ? Any detail you can share will be usefull
Herman
Previous
Reply
Map
View

Click here to load this message in the networking platform