Moderators: Despellanion, Dr. Best

Aragon
Forum Leader
Aragon
Forum Leader
Joined: August 18th, 2008, 8:49 am

December 24th, 2014, 9:03 am #61

Well, i did get it working until i upgraded GMS to version 1.3.
Since then it isn't working anymore... But i guess you could now use Enigma?
Quote
Like
Share

civic71
Advanced Member
civic71
Advanced Member
Joined: May 17th, 2007, 1:17 pm

July 8th, 2017, 10:51 am #62

Hi, after all these years I resumed Ultimate3DGM8.dll + GMS (1.99.549 ) .

As we know about GMStudio the u3d window is not docked to the game window.
Could it depend on whether the window ID ( about GMStudio) maybe matches a string and not a number?
Example of a window ID on GM 5.0 = 1234567;

Example of a window ID on GMStudio 1.99. xx = 00100B96;

global.u3d_init=ExternalDefineDouble("InitUltimate3D",10);
It calls 10 ty_real functions but it would take maybe ty_string for window_handle();
Being higher than 4 on GMS You cannot change ty_real with ty_string.

What I write is probably incorrect, not being I experienced in creating DLLs. :unsure:
Quote
Like
Share

Dr. Best
Forum God
Dr. Best
Forum God
Joined: March 16th, 2005, 8:47 pm

July 23rd, 2017, 8:16 am #63

I think your confusion is due to the fact that 00100B96 is a hexadecimal number. You must pass it to the DLL as a double.
Quote
Like
Share