Re: [Iup-users] IupGetActionName
I was able to solve my problem. I was looking at some old code. Attached is an example of the latest IUP code working with ScriptBasic 3.0 Windows 64 bit. On 2024-04-19 22:24, supp...@scriptbasic.org wrote: I'm trying to get the ScriptBasic Windows 64 bit IUP interface compiled and it seems IupGetActionName was removed in 3.19. I use this function to determine what callback type that was executed. I'm still doing IupCallBackWait which I plan to change to a more direct callback to ScriptBasic in the near future. Is there a function I can use that will tell me the callback type? (button, listbox, ...) John ___ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users ___ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users
Re: [Iup-users] IupGetActionName ghost.
-B doesn't seem to remake everything as I expected. After deleting the ext. mod. (.o, .def, .a) that where built before removing IupGetActionName from my interface.c program, it works. I also verified all was well with the compile of IUP's sample.c. Works great! Thanks for the help! On Mon, 2016-10-24 at 09:22 -0200, Antonio Scuri wrote: > Maybe it is used in some macro in a .h? > > > Or some modules need to be rebuilded? > > > Best, > Scuri > > > > On Mon, Oct 24, 2016 at 2:24 AM, John Spikowski >wrote: > Antonio, > > I'm using the latest Mingw32 IUP library and I have no > reference to > `IupGetActionName' anywhere in my program. I can't seem to get > by this > error. > > John > > C:\sbgcc\source\extensions\pui>mingw32-make -B > gcc -w -D_WIN32 -m32 -c -LC:\TDM-GCC-32\lib\IUP -IC:\TDM-GCC- > 32\include\IUP -o ..\..\bin\mod\obj\pui\s_interface.o > interface.c > ar -r ..\..\bin\mod\lib\pui.a > ..\..\bin\mod\obj\pui\s_interface.o C:\TDM-GCC-32\lib\IUP > \libiup.a > C:\TDM-GCC-32\lib\IUP\libiupcontrols.a C:\TDM-GCC-32\lib\ > IUP\libiupcd.a C:\TDM-GCC-32\lib\IUP\libcd.a C:\TDM-GCC- > 32\lib\IUP\libfreetype6.a > gcc -Wno-write-strings -D_WIN32 -static-libgcc -pipe -shared > -w -s -O2 > -m32 -LC:\TDM-GCC-32\lib\IUP -IC:\TDM-GCC-32\include\IUP > -Wl,--add- > stdcall-alias,--o > utput-def,"..\..\bin\mod\dll\pui_imp.def",--out- > implib,"..\..\bin\mod\dll\pui_imp.a" -o ..\..\bin\mod\dll > \pui.dll > ..\..\bin\mod\obj\pui\interface.o -liup - > liupcontrols -liupcd -lcd -lfreetype6 > ..\..\bin\mod\obj\pui\interface.o:interface.c:(.text+0x2463): > undefined > reference to `IupGetActionName' > ..\..\bin\mod\obj\pui\interface.o:interface.c:(.text+0x248d): > undefined > reference to `IupGetActionName' > ..\..\bin\mod\obj\pui\interface.o:interface.c:(.text+0x24d3): > undefined > reference to `IupGetActionName' > C:/TDM-GCC- > 32/bin/../lib/gcc/mingw32/5.1.0/../../../../mingw32/bin/ld.exe: > ..\..\bin\mod\obj\pui\interface.o: bad reloc address 0x20 in > section > `.data' > collect2.exe: error: ld returned 1 exit status > Makefile:11: recipe for target 'bin\mod\dll\pui.dll' failed > mingw32-make: *** [bin\mod\dll\pui.dll] Error 1 > > C:\sbgcc\source\extensions\pui> > > > -- > Check out the vibrant tech community on one of the world's > most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > ___ > Iup-users mailing list > Iup-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/iup-users > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > ___ > Iup-users mailing list > Iup-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/iup-users -- The Command Line: Reinvented for Modern Developers Did the resurgence of CLI tooling catch you by surprise? Reconnect with the command line and become more productive. Learn the new .NET and ASP.NET CLI. Get your free copy! http://sdm.link/telerik ___ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users
Re: [Iup-users] IupGetActionName ghost.
Maybe it is used in some macro in a .h? Or some modules need to be rebuilded? Best, Scuri On Mon, Oct 24, 2016 at 2:24 AM, John Spikowskiwrote: > Antonio, > > I'm using the latest Mingw32 IUP library and I have no reference to > `IupGetActionName' anywhere in my program. I can't seem to get by this > error. > > John > > C:\sbgcc\source\extensions\pui>mingw32-make -B > gcc -w -D_WIN32 -m32 -c -LC:\TDM-GCC-32\lib\IUP -IC:\TDM-GCC- > 32\include\IUP -o ..\..\bin\mod\obj\pui\s_interface.o interface.c > ar -r ..\..\bin\mod\lib\pui.a > ..\..\bin\mod\obj\pui\s_interface.o C:\TDM-GCC-32\lib\IUP\libiup.a > C:\TDM-GCC-32\lib\IUP\libiupcontrols.a C:\TDM-GCC-32\lib\ > IUP\libiupcd.a C:\TDM-GCC-32\lib\IUP\libcd.a C:\TDM-GCC- > 32\lib\IUP\libfreetype6.a > gcc -Wno-write-strings -D_WIN32 -static-libgcc -pipe -shared -w -s -O2 > -m32 -LC:\TDM-GCC-32\lib\IUP -IC:\TDM-GCC-32\include\IUP -Wl,--add- > stdcall-alias,--o > utput-def,"..\..\bin\mod\dll\pui_imp.def",--out- > implib,"..\..\bin\mod\dll\pui_imp.a" -o ..\..\bin\mod\dll\pui.dll > ..\..\bin\mod\obj\pui\interface.o -liup - > liupcontrols -liupcd -lcd -lfreetype6 > ..\..\bin\mod\obj\pui\interface.o:interface.c:(.text+0x2463): undefined > reference to `IupGetActionName' > ..\..\bin\mod\obj\pui\interface.o:interface.c:(.text+0x248d): undefined > reference to `IupGetActionName' > ..\..\bin\mod\obj\pui\interface.o:interface.c:(.text+0x24d3): undefined > reference to `IupGetActionName' > C:/TDM-GCC- > 32/bin/../lib/gcc/mingw32/5.1.0/../../../../mingw32/bin/ld.exe: > ..\..\bin\mod\obj\pui\interface.o: bad reloc address 0x20 in section > `.data' > collect2.exe: error: ld returned 1 exit status > Makefile:11: recipe for target 'bin\mod\dll\pui.dll' failed > mingw32-make: *** [bin\mod\dll\pui.dll] Error 1 > > C:\sbgcc\source\extensions\pui> > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > ___ > Iup-users mailing list > Iup-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/iup-users > -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot___ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users