pass long BSTR to automation function

spidi_onespidi_one Member Posts: 17
Hello guys,

Need some help.
I'm woking with an automation that generate a "cookie" witch is longer that 1024 so I decide to save like BLOB.
Problem is that after, I need to pass this "cookie" to autmation function that require BSTR and cannot assing BigText, only Text variable

What should I do in this conditions?

Comments

  • SogSog Member Posts: 1,023
    Use a stream to read parts of the cookie?
    |Pressing F1 is so much faster than opening your browser|
    |To-Increase|
  • einsTeIn.NETeinsTeIn.NET Member Posts: 1,050
    It depends on many different things. First of all any additional information about your solution is appreciated. You know, it's like being in the dark if only that few information is provided.

    One thing you could do, is to ask your automation provider if it's possible to create a function that expects the path to the cookie as parameter instead of the cookie itself.

    Or you could write or own automation that will pick up the cookie from a given path and path it through to the provider's automation.

    Or you could try to use a stream.

    Or you could upgrate to 2009 R2 RTC and use the new Data Type dotnet to try to solve it.
    "Money is likewise the greatest chance and the greatest scourge of mankind."
Sign In or Register to comment.