Forum Replies Created
-
AuthorPosts
-
Bummer.
Time for a Patreon goal or or a mobil hardware fundrasier?
+one, AR is high on my list of things I’d like to work with.
A cross platform wrapper would of course be king
Great news!
As promised I have also bought bought the IAP module.
I have no immediate use, but plan to use it at some point in the not so far future.I hope as many of you as possible do the same, to support Mark/Monkey and the MX2 Mobile targets.
Thanks and thanks for testing!
I cleaned up the code a little and moved it to the code archive.
Thanks for explaing. I see now that I need only write the names of constants, and then the values are automaticly picked up, very handy like in:
Const WS_CHILD:Int
I got it working with preview window and all
Code here: http://monkeycoder.co.nz/forums/topic/windows-screensaver-with-preview/
ok, thanks got it now.
I don’t get why some things are written:
Struct HWND__
End
Alias HWND:HWND__ Ptrand some
struct RECT
and where to look it up though.
[EDIT]
Got it compiling by using RECT (no underscores), don’t know why though. I’m thinking the struct needs to match the naming in windows.h or… ?
Monkey1234567891011121314151617181920212223242526272829303132333435363738394041424344#Import "<libuser32.a>"#Import "<std>"#Import "<windows.h>"#Import "<std>"#Import "<mojo>"Using mojo..Using std..ExternAlias LPCTSTR:CStringStruct HWND__EndAlias HWND:HWND__ PtrStruct RECTField left:LONGField top:LONGField right:LONGField bottom:LONGEndFunction GetClientRect:Bool(in:HWND,out:RECT Ptr)Function GetCommandLineW:LPCTSTR()Function MessageBoxA:Int (hWnd:HWND, lpText:CString, lpCaption:CString, uType:Int)PublicFunction Main()Local phwnd:HWND ' dummyLocal parentrect:RECTGetClientRect(phwnd, Varptr parentrect)EndI just called it something, does the naming of the struct matter?
A Win32 module seems like a good idea.
.solved
Getting the comandline seems to work:
Monkey1234567891011121314#Import "<std>"Using std..#Import "<windows.h>"ExternAlias LPCTSTR:CStringFunction GetCommandLineW:LPCTSTR()PublicFunction Main()Local cmd:= GetCommandLineW()Print cmdEndBeaming positive vibes from the opposite side of planet earth.
Take your time to get back in shape.
Best wishes.@mat : No luck yet
As you say, the speed increase (for the things that do compile) seems awsome, so I’d really like to get it sorted out, but I’m unsure of what to try next.
I tried adding the above VS components, and adding the advapi32.lib
If I try rebuilding mojo from within Ted2Go, I get :
Monkey12C:/monkey2/modules/mojo/mojo.buildv1.1.05/windows_release_msvc/include/mojo_audio_2audio.h(35): fatal error C1083: Cannot open include file: 'openal/openal.buildv1.1.05/windows_release_msvc/include/openal_openal.h': No such file or directoryI’f I run RebuildAll2Go I get these errors:
Monkey123Line 266: LINK : fatal error LNK1181: cannot open input file 'C:/monkey2/modules/std/std.buildv1.1.05/windows_release_msvc/std.lib'Line 1791: C:/monkey2/src/ted2go/ted2.buildv1.1.05/windows_release_msvc/include/ted2_dialog_2DialogExt.h(12): fatal error C1083: Cannot open include file: 'mojox/mojox.buildv1.1.05/windows_release_msvc/include/mojox_dialog.h': No such file or directoryLine 1833: LINK : fatal error LNK1181: cannot open input file 'C:/monkey2/modules/std/std.buildv1.1.05/windows_release_msvc/std.lib'Any suggestions?
https://en.wikipedia.org/wiki/Wavefront_.obj_file#Texture_maps and
http://paulbourke.net/dataformats/mtl/
There needs to be a texture file reference in the mat file, and as Mark says, theres not.
-
AuthorPosts