Forum Replies Created
-
AuthorPosts
-
i used app.run to show that you can create instance in console mode obv you would need to overide the window attributes you just create ur own app.run not the default.
the other way would be to create a cpp class that handles the SYS WINDOW directly so you just hook into the window exteranly.
could you not extend the app.cpp in mojo?
[/crayon]Monkey1234567891011121314151617181920212223242526272829[crayon-5cb9bc82a40b2538509683 inline="true" ]Namespace myConsoleApp#Import "<std>"#Import "<libc>"#Import "<reflection>"#import "<mojo>"Using std..Using libc..Using reflection..Using mojo..class appwindow Extends WindowMethod New()Super.New("Game", 640, 480)End MethodEnd Class'here is the main function which is called. and the simplest text "hello world" is outputted to the consoleFunction Main()Print "Hello World"Global pAppinstance1:= New AppInstanceGlobal pApp1:= New appwindowGlobal pAppinstance2:= New AppInstanceGlobal pApp2:= New appwindowApp.Run()Endas you can see you can create instances and multi windows from the console its the route im trying to pass instance to a externel lib. its a bit hackish but mx2 is still being developed.
cool thats much better thx
you could run in console mode and use createwindow function in mojo module just use global pointers to store the new window hwnd and then terminate the global appInstance and as its console it should not close the full app just the hwnd.
yes thats the correct panel and its when you single click a monkey2 source file in the file tab it auto changes to the member view tab so you have to reclick the file view every time.
its off putting when ur looking for stuff and it keeps changeing the tab.
Thanks for the link
Adam in the editor is it posible to stop the window tab changeing to member view when you click on a src file as its annoying when you get the view changed when browsing code src files.
its not a case of doing anything i can open up ted2go create a new file boom runtime error same happens even if i dont do ANYTHING just a blank window crashes the editor for me im starting to think there is a problem with memory and win 8.1pro 64bit.
i can keep devcpp or visio2015 going all day no problems hell i had my laptop on for a week while bug hunting in visio2015 and not one problem.
Blitzmax works fine also.
look il level with you i had a stroke few years back and i no longer am able to get what i wants to say out in words its why i wanted to convert my codebase to monkey (less to rewmember) but atm i am starting to miss the simplicity of Blitzmax/blitz3d mx2 is very cool But for me its starting to go into the realms of over complication.
im starting to strugle with how to join up my objects togeather. this is realy not a begginers language.
also mark in the editor for the love of god make it so you can see all members of a namespace as all you get is members of the file ur working on witch means have to keep swaping back and forth to find members that are not in that file but is a member of the namespace it makes it hard for idiots to stich objects togeather accros multi source files.
new offical binary still crashing ted21 ok so far
got it il try it out over next few days im trying to bring in dx11 renderer striped it down to just a window
im getting a dead link il check again later
thats pretty cool of you! im looking over the vulkan bit as i type
wish i could get blide to work with it lol
windows 8.1 pro quad core 8gb ddr3 ram laptop for dev
no problems so far with nothing loaded
-
AuthorPosts