Quantcast
Viewing all articles
Browse latest Browse all 2935

Build stops in pb 11.1

I searched on this issue... and, it looks like it was an old posting

which I can't bring up anymore

But, it seems to stop the build process without an error indication

it just doesn't create the rest of the DLL's in my project

if I remove the UF_IMBC function below

it will compile

could it be the blob conversion statement?

 

 

I have an external function that's designed to give me an intelligent mail barcode string

defined as this

 

Function long USPSEncode ( &

          blob TrackPtr, &

          blob RoutePtr, &

          Ref string BarPtr &

          ) Library "usps4pb.dll" Alias For "pbEncoder;ansi"

 

------------------------------------------------------------------------------------------------------------------

 

and, I get the data... from calling this function

 

UF_IMBC

 

Blob lblb_Track, lblb_Route

string as_tracking, as_routing, as_barcode, ret_val, czipcode

long test, ll_retcode

 

 

 

 

If Pos(s_zip,"-") > 0 then

          czipcode=mid(s_zip,1,Pos(s_zip,"-")-1)+mid(s_zip,Pos(s_zip,"-")+1,4)

else

          czipcode=s_zip

End if

 

 

if len(v_mailer) > 6 then

          as_tracking = '00' + v_service + v_mailer + string(v_serial,"000000")

else

          as_tracking = '00' + v_service + v_mailer + string(v_serial,"000000000")

end if

 

 

//return as_tracking

as_routing = czipcode

//as_routing = ret_val

//return as_tracking

lblb_Track = blob(Trim(as_Tracking)+Space(21),encodingansi!)

lblb_Route = blob(Trim(as_Routing)+Space(12),encodingansi!)

 

 

as_BarCode = Space(65)

 

 

ll_retcode = USPSEncode(lblb_Track, lblb_Route, as_BarCode)

 

 

If ll_RetCode = 0 Then

          return as_BarCode

Else

          return string(ll_retcode)

End If


Viewing all articles
Browse latest Browse all 2935

Trending Articles