• Welcome, Guest. Please login.
 
August 27, 2026, 05:21:53 PM

News:

Please read the FORUM RULES


Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - maxhurtz

1
Plugins / Re: Visual C++ Telemetry Sample Project
August 22, 2011, 12:21:32 AM
It works!

You were right, the structures were out of date (specifically the Event struct). Just copied the ones from krp_example, and removed the code that referred to the missing field (m_afLimiter[]) and it now works perfectly.

Thank you very much,

John
2
Plugins / Re: Visual C++ Telemetry Sample Project
August 21, 2011, 11:02:29 PM
Here you are.
The file created should be "telemetry_output.txt".

Thanks for taking a look.

John
3
Plugins / Re: Visual C++ Telemetry Sample Project
August 21, 2011, 07:13:04 PM
OK, I changed it to 5, but still no luck.

Would posting a copy of my dll help?

thanks

John
4
Plugins / Re: Visual C++ Telemetry Sample Project
August 21, 2011, 04:42:32 PM
OK, I've got around to trying it, but am having no luck.
I have built the project with Visual C++ Express 2010 on 32 bit Windows Vista SP2.
Copied the dll into the KRP plugins directory and ran KRP and carried out a short testing session.
No sign of the log file (telemetry_output.txt) being created. Looked in the install folders and Documents\PiBoSo\Kart Racing Pro\.
Using ProcessMonitor I can see that it finds the dll, but it does not seem to successfully be calling any of the functions.

I even tried moving the install folder out of Program Files, in case it was a permission problem. Still no output.
The telemetry.dll supplied with KRP works fine - creates the logdata.csv file in Documents\PiBoSo\Kart Racing Pro\.
I removed that dll before testing the new one.

I noticed that this example returns 4 from a call to Version(), whereas the proxy example that PiBoSo has supplied returns Version 5. I assume that KRP beta 3 can handle either.

thanks for any light you can shed on the matter,

John
5
Plugins / Re: Visual C++ Telemetry Sample Project
August 03, 2011, 11:58:54 AM
Many thanks SimRacer, just what I was looking for.