All,
on the internet i have found this interesting library, which consists in additional GUI controls for Winapi programming:
http://mctrl.sourceforge.net/
https://github.com/mity/mctrl
Unfortunately, this has been build for Visual Studio.
Please find an attached Pelles Project, about drawing pie charts and bar charts in a window.
It is a copy and paste of sample codes from the author, so i assume they are correct....
The error i got is a "impossible to find GetStartupInfoA entry point within mCtrl.dll".
Can you suggest me how could i fix that ?
Did numerous attempts myself, but all unsuccessful.....
THank you in advance and best regards !
The library is broken.
Use the attached mCtrl.lib rebuilt from a modified mCtrl.def.
It was missing '_mcChart_Initialize@0' and '_mcDialogBoxParamW@24'. These symbols has been created adding the lines:
_mcDialogBoxParamW@24 = mcDialogBoxParamW
_mcChart_Initialize@0 = mcChart_Initialize
to the def module, then creating the import library with command:
polib /DEF:mCtrl.def /OUT:mCtrl.lib
Many other defs are missing and you'll get a lot of other undefined symbols using other library functions. You have to use same system to fix it.
The best solution anyway is to recompile the library using PellesC.
I was unable to do it right now because I have an XP machine and the code is buggy trying to include options not available on XP (they made some check on OS version, but it don't work correctly).
Frankie !!!
Great !!!!
I have just tried again and it works fantastic !!!!
Thank you very much indeed and regards,
Rnard
Hi Frankie,
just one last detail: what tool did you use to create the def file that you sent me?
I use Filalyzer to view the Import/Export tables.
For the DLL in question, Filalyzer shows me one exported function more, but that's absolutely not a big deal, just a mere detail (not a function that i need to use).
Thank you in advance and regards,
Roberto
The def file is in the sources of the project. If you download sources you'll find it there.
I have just modified it, not created it.
Oh, got it !
Thank you!