Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Using IanM´s INI Plugin

Author
Message
Slooper
21
Years of Service
User Offline
Joined: 13th Feb 2003
Location: Sweden
Posted: 8th Jan 2009 19:45 Edited at: 8th Jan 2009 21:22
Hi ppl

I was trying to use IanM´s plugin that can read and write to INI files.

Seems i am doing something wrong becuse it cant read the values that i have in my INI file. The screen stays black when i run my code below.

I have read the readme file that came along with the dll and from what get out of that readme. This is the way to do it, still as it doesnt work mabey not. So if someone would be really kind and tell me the secret how it work i would really be an happier human being.

Here is the very very short code




and here is the INI file if i did something wrong in that :S




cheers all


You never fail, only make mistakes.
Olby
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location:
Posted: 9th Jan 2009 11:03
Looks like you are using it correctly, I am at work right now so I cannot confirm you that. But from what I can see the code is OK. Maybe try removing tabs from your INI file.

ACER Aspire 5920G: Core2Duo 2.2GHZ, 2GB Ram, GeForce 8600M GT 1280MB, Windows Vista Ultimate SP1, DirectX10, DBPro 7.1
CuCuMBeR
21
Years of Service
User Offline
Joined: 11th Jan 2003
Location: Turkey
Posted: 9th Jan 2009 13:15
If i remember correct, you have to use full paths of the ini files.
Like:
OPEN INI STORE 1,"c:\my project\Light_Omni.ini"

There is always one more imbecile than you counted on.
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 9th Jan 2009 13:58
Mostly right - if you use the plain (slow) ini, then you need to use a pathname. It doesn't need to be a full path, so just putting ./ in front of the filename should be enough.

Slooper
21
Years of Service
User Offline
Joined: 13th Feb 2003
Location: Sweden
Posted: 9th Jan 2009 15:52
Tnx IanM that made it work, now i can proceed with my project


You never fail, only make mistakes.

Login to post a reply

Server time is: 2024-04-20 05:36:39
Your offset time is: 2024-04-20 05:36:39