Posted October 24, 201311 yr i created a gui with a few controls in c++. is there a way to use this gui in my asm project?
October 28, 201311 yr I never tried this but my first idea would to make it a dll that creates the GUI and gives back references to dialogProc functions etc...Then you could use those values to interact. Or a better version of this would be a dll with exports for controlling it (setText, button click callbacks..)Then you wouldnt have to deal with WinAPI crap in your assembly and simply call the exports with little parameters. Other way could be dumping the plain resource information that make up the GUI and then using winAPI create the GUI from its resource and doing complete handling in asm. You could even pack those resource information into .data and then extract/map it to memory.However that would be way more complex than using a dll that does most of the job for you. Hope I could help...
Create an account or sign in to comment