How Can I Secure The Data Within a DLL File Created With ATEasy?
John K.
Bacau,

Sep 9, 2011
55 Posts

How can I secure the data within a DLL file created with ATEasy?

Hi there! How can I secure the name/numer of the functions and their parameters name/number so noone can change them? I've imported some DLL's that had this property so they couldn't be modified in any way; but I'm not sure those DLL's were built under ATEasy environment. Is there any way to build such a DLL under ATEasy?

DrATEasy (Ron Y.)
Mission Viejo,

Sep 9, 2011
235 Posts

Re: How can I secure the data within a DLL file created with ATEasy?

DLL (or EXE) created by ATEasy is the same as the one created by Visual Studio. They contains binary data of the compiled modules (sources are not included in the DLL).

John K.
Bacau,

Sep 10, 2011
55 Posts

Re: How can I secure the data within a DLL file created with ATEasy?

Yes, it's true. I've compiled a DLL using ATEasy and after that I've imported this library in another ATEasy project. I've noticed that I can edit the function and parameter names pertaining to the DLL within the other project. Also, I can erase some or all functions from it (parameters also), and I don't want that to be allowed. I've imported lots of DLLs and they were "read-only". I mean, their functions and parameters couldn't be deleted or modified in any way! Also, when I import this DLL to another project, and double click on the Procedures module within the DLL, the list is empty! I have to right-click on the library and select "Import ATEasy DLL Procedures" and so the list becomes populated with the procedures contained by my DLL. Isn't there a way to fix that so the contained procedures to appear always from the first seek? I hope to get the answers I need because I really need help! Thank you in advance!

Best regards,
Alex J.

John K.
Bacau,

Sep 12, 2011
55 Posts

Re: How can I secure the data within a DLL file created with ATEasy?

Actually, I saw now that those files that provide unchangeable functions appear in ATEasy as COM objects (though they were loaded from .DLL files!). DLL files that are seen by ATEasy as DLL's provide changeable function names and parameters (even deleting them is possible). Can I make a loaded DLL to have unchangable data, as I said before?

DrATEasy (Ron Y.)
Mission Viejo,

Sep 12, 2011
235 Posts

Re: How can I secure the data within a DLL file created with ATEasy?

ATEasy allows to change the DLL procedures interface where you use it but if you change it it will not change the actual DLL. This is the same as Visual Studio in C you can change the .H header file but it will not change the DLL.
I'm not sure what is the problem and why would you attempt to change the prototype of DLL functions in the first place.

John K.
Bacau,

Sep 12, 2011
55 Posts

Re: How can I secure the data within a DLL file created with ATEasy?

Thank you for your posts, Ron! I was confusing DLL with imported COM objects and I wanted that the functions my DLL provides to be "as it is", I mean with no changeable options. But it's OK now, I understand the permissions ATEasy offers. Only this: is it possible that a DLL file to appear as COM object after it was loaded into ATEasy (and not as DLL as it should)?

Solution Available
DrATEasy (Ron Y.)
Mission Viejo,

Sep 12, 2011
235 Posts

Re: How can I secure the data within a DLL file created with ATEasy?

DLL contains no standard way as COM or .NET to export their functions prototype. That is why for .COM/.NET it is not allowed to define the functions prototype manually. ATEasy DLL function prototype are automatically defined when you insert them to Libraries since they have a special resource section that contain that information - that section is only used by ATEasy so that you will not need to define the functions manually (as in DLLs defined in C). The library is not changed to readonly for simplicity so it will show as other non-ATEasy DLLs, also making it read-only require us to to keep track on changes in the DLL functions (source project) and serialize the functions differently.

John K.
Bacau,

Sep 12, 2011
55 Posts

Re: How can I secure the data within a DLL file created with ATEasy?

Thank you, Ron! I've got it now! Have a good day!



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]