Jump to content

Use .NET C structure


Recommended Posts

Possible, yes. Easy... hrm.

The "right" way probably involves writing something using .NET reflection to look at the assembly. From there, you could build the structure as a cluster using LV's scripting interface.

The, ah, cheap and dirty way probably involves using Redgate's Reflector in command line mode, outputting to a file, and parsing the file for the structure info. You're still going to need to use scripting, though.

Overall, it would be very time consuming over just manually doing the work.

Joe Z.

Edited by jzoller
Link to comment

Possible, yes. Easy... hrm.

The "right" way probably involves writing something using .NET reflection to look at the assembly. From there, you could build the structure as a cluster using LV's scripting interface.

The, ah, cheap and dirty way probably involves using Redgate's Reflector in command line mode, outputting to a file, and parsing the file for the structure info. You're still going to need to use scripting, though.

Overall, it would be very time consuming over just manually doing the work.

Joe Z.

On further reflection, you could skip scripting by just using a variant dictionary, map, associative array, or other generic storage.

Joe Z.

Link to comment

On further reflection, you could skip scripting by just using a variant dictionary, map, associative array, or other generic storage.

Joe Z.

Joe thx for your sugesstions,

being short in time I had to build the cluster manually.

Manfred

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.