Pelles C forum

C language => Beginner questions => Topic started by: Robert on February 21, 2021, 07:52:24 AM

Title: MDIWiz Link Problem
Post by: Robert on February 21, 2021, 07:52:24 AM
I'm trying to compile John Findlay's MDIWiz available at

http://www.johnfindlay.plus.com/pellesc/wizards/MdiWiz.zip (http://www.johnfindlay.plus.com/pellesc/wizards/MdiWiz.zip)

Trying, on Pelles C 10.00.6, to build the project, results in

Code: [Select]

Building winapp.obj.
C:\Users\irwis\Downloads\MdiWiz\winapp.c(155): warning #2231: Enumeration value 'Action_UpdateUI' not handled in switch statement.
C:\Users\irwis\Downloads\MdiWiz\winapp.c(188): warning #2231: Enumeration value 'Action_UpdateUI' not handled in switch statement.
Building winapp.res.
Building MdiWiz.dll.
POLINK: error: Unresolved external symbol '__imp__WizGetProjectNameW@8' - referenced from 'C:\Users\irwis\Downloads\MdiWiz\output\winapp.obj'.
POLINK: error: Unresolved external symbol '_WizGetInstanceHandle@0' - referenced from 'C:\Users\irwis\Downloads\MdiWiz\output\winapp.obj'.
POLINK: error: Unresolved external symbol '_WizAddStepW@8' - referenced from 'C:\Users\irwis\Downloads\MdiWiz\output\winapp.obj'.
POLINK: error: Unresolved external symbol '_WizShowSteps@0' - referenced from 'C:\Users\irwis\Downloads\MdiWiz\output\winapp.obj'.
POLINK: error: Unresolved external symbol '__imp__WizSetProjectType@4' - referenced from 'C:\Users\irwis\Downloads\MdiWiz\output\winapp.obj'.
POLINK: error: Unresolved external symbol '_WizWriteTextFileFromResourceW@12' - referenced from 'C:\Users\irwis\Downloads\MdiWiz\output\winapp.obj'.
POLINK: error: Unresolved external symbol '_WizWriteFileFromResourceW@8' - referenced from 'C:\Users\irwis\Downloads\MdiWiz\output\winapp.obj'.
POLINK: error: Unresolved external symbol '__imp__WizAddProjectFileW@4' - referenced from 'C:\Users\irwis\Downloads\MdiWiz\output\winapp.obj'.
POLINK: error: Unresolved external symbol '__imp__WizSetProjectSymbolW@8' - referenced from 'C:\Users\irwis\Downloads\MdiWiz\output\winapp.obj'.
POLINK: error: Unresolved external symbol '__imp__WizGetProjectSymbolW@12' - referenced from 'C:\Users\irwis\Downloads\MdiWiz\output\winapp.obj'.
POLINK: fatal error: 10 unresolved external(s).
*** Error code: 1 ***
Done.

Title: Re: MDIWiz Link Problem
Post by: algernon_77 on February 21, 2021, 08:32:06 AM
Hello!

The IDE is 64 bit now, so the wizards and plugins should be the same (they are dlls loaded by the IDE).
So, go to the right on Project Manager window and right click "MdiWiz.dll" , then Properties; change type to "Win64 DLL".

Rebuild project, It should work now ;)

Regards!
Title: Re: MDIWiz Link Problem
Post by: Robert on February 21, 2021, 09:56:47 PM
Hello!

The IDE is 64 bit now, so the wizards and plugins should be the same (they are dlls loaded by the IDE).
So, go to the right on Project Manager window and right click "MdiWiz.dll" , then Properties; change type to "Win64 DLL".

Rebuild project, It should work now ;)

Regards!

Thank you. Now, it's all good.