NULL in ATEASY imported c dll

Raz A.

Oct 27, 2019
82 Posts

0  |  0  

Re: NULL in ATEASY imported c dll

I have an imported dll that is written in c.
It has a function that receive a parameter of type "char *"
Acording to the dll documentation, i need to send NULL in a certain scenario.

My question is, what is the ateasy's NULL equivalent ?

I tried to send NULL, char[1] with 0 and '\0', String with \0 and more...
Nothing works.....

What should i send?

Solution Available
DrATEasy (Ron Y.)
Mission Viejo, CA

Oct 27, 2019
358 Posts

1  |  0  

Re: NULL in ATEASY imported c dll

I assume it is a string value and the string not changed by the function:
- Define the parameter as Val Any and pass Nothing as an argument or 0.
- You can also define the argument as Val DWord and pass 0 or &string.

Please Note
You need to have a M@GIC account to participate in the Forums.
Not yet registered on our website? Click here to register today!

All content, information and opinions presented on the Marvin Test Solutions User Forums are those of the authors of the posts and messages and not Marvin Test Solutions'. All attachments and files are downloaded at your own risk. [Read More]