You can pass only character parameters into exe.
>I am trying to pass parameters from a VFP Exe to a FPD exe. I am using dos shell for my method to fire off the exe. My parameters are variables.
>
>VFP6 Code (EXE)
>-------------------------
>strParam = 'Test Param'
>blnParam = .t.
>dteParam = {11/30/2001}
>numParam = 15
>
>!/n fpdtest.exe strParam blnParam dteParam numParam
>
>FPD Code (EXE)
>-------------------------
>param strParam, blnParam, dteParam, numParam
>------------------------------------------------------
>What end's up happening is instead of capturing the value of my variable parameters, it captures the name of the variable itself.
>Instead of 'Test Param' it is capturing 'strParam'
>
>How can I pass and capture the value of a variable and not the name?
>
>Thanks in advance,
>Ben
--sb--