Search found 49 matches

by atrey65789
Fri Oct 06, 2017 2:07 pm
Forum: DXEditing
Topic: Writing a latent function.
Replies: 21
Views: 30107

Re: Writing a latent function.

Got the poll function to work, almost there thanks to your help... The function in-game waits patiently for detection before it moves on with the rest of the state... Now all I need to figure out is why the callback function isn't detecting midi input. Edit: I found the issue to that too, fixed that...
by atrey65789
Tue Oct 03, 2017 4:21 pm
Forum: DXEditing
Topic: Writing a latent function.
Replies: 21
Views: 30107

Re: Writing a latent function.

I got it to compile, but still isn't calling the Poll function... question, I have a callback function that actually detects the midi signal and message, that sort of acts as a poll function, as it waits for detection of what it is looking for. I tried using it to call eventMidiMessage and got this ...
by atrey65789
Mon Oct 02, 2017 5:43 pm
Forum: DXEditing
Topic: Writing a latent function.
Replies: 21
Views: 30107

Re: Writing a latent function.

This looks great, I am studying the heck out of this and noting your revisions. Did this compile for you? I am getting 3 errors all regarding redefinitions, but looking over everything, all the error-related functions are only defined once. They include the function you made that calls RegisterNames...
by atrey65789
Sat Sep 30, 2017 1:51 am
Forum: DXEditing
Topic: Writing a latent function.
Replies: 21
Views: 30107

Re: Writing a latent function.

https://drive.google.com/file/d/0B_YWF0 ... sp=sharing

There's a link to the whole source, UC, private header, etc. Should be ready to compile except maybe the path of the LIBs and Headers.


Do I call RegisterNames() in the native functions I am importing?
by atrey65789
Fri Sep 29, 2017 8:30 am
Forum: DXEditing
Topic: Writing a latent function.
Replies: 21
Views: 30107

Re: Writing a latent function.

Bump, code still compiles.. but it seems that the Poll function (which I assume is supposed to loop during the latent function) is not being called whatsoever.
by atrey65789
Fri Sep 22, 2017 3:58 am
Forum: DXEditing
Topic: Writing a latent function.
Replies: 21
Views: 30107

Re: Writing a latent function.

Mh IMPLEMENT_NATIVE should have been IMPLEMENT_FUNCTION in the first place, in any case in your code you won't need those as you do this with the AUTOGENERATE_FUNCTION stuff with it been declared inside the header. Alrighty alright. I did the AUTOGENERATE_FUNCTION way as you stated, It compiles and...
by atrey65789
Thu Sep 21, 2017 3:16 pm
Forum: DXEditing
Topic: Writing a latent function.
Replies: 21
Views: 30107

Re: Writing a latent function.

This is the header /*=========================================================================== C++ class definitions exported from UnrealScript. This is automatically generated by the tools. DO NOT modify this manually! Edit the corresponding .uc files instead! ===================================...
by atrey65789
Mon Sep 18, 2017 2:22 pm
Forum: DXEditing
Topic: Writing a latent function.
Replies: 21
Views: 30107

Re: Writing a latent function.

Bump. Anybody know that error? Still messing with it and can't get it to work.
by atrey65789
Sun Sep 03, 2017 10:10 pm
Forum: DXEditing
Topic: Writing a latent function.
Replies: 21
Views: 30107

Re: Writing a latent function.

error C2059: syntax error : 'constant'

I got this on the IMPLEMENT_NATIVE definitions. Could I use AUTOGENERATE_FUNCTION instead since it has the exact same parameters?
by atrey65789
Sun Sep 03, 2017 9:34 pm
Forum: DXEditing
Topic: Writing a latent function.
Replies: 21
Views: 30107

Re: Writing a latent function.

Neat, fixed that. Also, "LatentAction()" was supposed to be "LatentAction". Gonna fix the other simple errors on my part and see if it works.
by atrey65789
Sun Sep 03, 2017 6:41 pm
Forum: DXEditing
Topic: Writing a latent function.
Replies: 21
Views: 30107

Re: Writing a latent function.

I seem to be getting some errors here.

error C2227: left of '->LatentAction' must point to class/struct/union

It shows this error two times, so, I don't think it's finding anything for 'GetStateFrame'.
by atrey65789
Sun Sep 03, 2017 3:21 pm
Forum: DXEditing
Topic: Writing a latent function.
Replies: 21
Views: 30107

Re: Writing a latent function.

Very interesting. That explains why what I'm doing currently prevents the rest of the engine's code from executing. Very informative, Hanfling. Thank you. I will try this method today and let you know how it goes.
by atrey65789
Sat Sep 02, 2017 10:46 pm
Forum: DXEditing
Topic: Writing a latent function.
Replies: 21
Views: 30107

Writing a latent function.

Hi there, during the course of the last few months, I have been studying C++ on my own time and experimenting with importing different functions natively into the Unreal Engine. right now I am experimenting with connecting different USB devices to the Unreal Engine, especially midi devices. The thin...
by atrey65789
Sat Jan 14, 2017 9:14 pm
Forum: DXEditing
Topic: Minor things worth mentioning
Replies: 121
Views: 140094

Re: Minor things worth mentioning

Hey Hanfling, Thanks again for help guide me through working with native code. I have just one question. I have one single LNK2001 Error Which says this: SampleClass.obj : error LNK2001: unresolved external symbol "public: virtual int * __thiscall AActor::GetOptimizedRepList(unsigned char *,struct F...
by atrey65789
Tue Jun 07, 2016 4:01 pm
Forum: DXEditing
Topic: Ideas for improving EditorEngine.
Replies: 5
Views: 6745

Re: Ideas for improving EditorEngine.

Also, this #exec include feature you mentioned. What are the details on this? anything fairly new?