Unable to build MaxGUI.Win32MaxGUI in Windows 7

BlitzMax Forums/MaxGUI Module/Unable to build MaxGUI.Win32MaxGUI in Windows 7

Ked(Posted 2009) [#1]
Hey. I've come across an error when trying to build the non-XP/Vista driver on Windows 7.



Brucey(Posted 2009) [#2]
You don't have the latest source.


Ked(Posted 2009) [#3]
That was right out of SVN today.


grable(Posted 2009) [#4]
That is indeed the latest, i just pulled it a few minutes ago.
Im guessing it should have been CreateWindowExW instead ;)


byo(Posted 2009) [#5]
Hmm... unfortunately the version on the SVN seems broken. I have Windows XP SP2 and the mod won't install. The error is in the same file mentioned (win32button.cpp) but the message is differently:

hwnd is not defined in this scope, or something like it.

I installed the official maxgui130 and it's working fine.
Could someone take a look if there's something wrong please?


SebHoll(Posted 2009) [#6]
Are you using the SVN version of BlitzMax too?

If not, you may have to checkout that too in order to build the latest MaxGUI SVN code.


byo(Posted 2009) [#7]
I'm not sure. It's been a while since I don't update anything. I'll reinstall everything from the SVN just to be sure. Thanks.


byo(Posted 2009) [#8]
I have copied the SVN folder of blitzmax and after trying to build modules, I have the same error of the first thread:

"C:/Arquivos de programas/BlitzMax/mod/maxgui.mod/win32maxgui.mod/win32gui/win32button.cpp: In constructor `Win32Button::Win32Button(BBGroup*, int)':
C:/Arquivos de programas/BlitzMax/mod/maxgui.mod/win32maxgui.mod/win32gui/win32button.cpp:21:
error: cannot convert `const wchar_t*' to `const CHAR*' for argument `2' to `HWND__*
CreateWindowExA(DWORD, const CHAR*, const CHAR*, DWORD, int, int, int, int, HWND__*, HMENU__*, HINSTANCE__*, void*)'

Build Error: failed to compile C:/Arquivos de programas/BlitzMax/mod/maxgui.mod/win32maxgui.mod/win32gui/win32button.cpp"



byo(Posted 2009) [#9]
I've got my problem solved.
I manually deleted all my installation folders and then copied all again from the SVN. Sorry for any trouble. :)