AnsweredAssumed Answered

vrf Fw: Help Needed on Importing VB to play .wav for audio al

Question asked by VRFuser on Jun 5, 2001
Hi!

Take a look at the GetPrivateProfileString/int/section and WritePrivateProfileString/int/section calls, I am sure they will do it for You..

Defined in my c-header file as:
UINT STDCALL GetPrivateProfileIntW(LPCWSTR,LPCWSTR,INT,LPCWSTR);
BOOL WINAPI GetPrivateProfileStructA(LPCSTR,LPCSTR,LPVOID,UINT,LPCSTR);
BOOL WINAPI GetPrivateProfileStructW(LPCWSTR,LPCWSTR,LPVOID,UINT,LPCWSTR);
DWORD STDCALL GetPrivateProfileStringW (LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,DWORD,LPCWSTR);
BOOL STDCALL WritePrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR);
BOOL WINAPI WritePrivateProfileStructA(LPCSTR,LPCSTR,LPVOID,UINT,LPCSTR);
BOOL WINAPI WritePrivateProfileStructW(LPCWSTR,LPCWSTR,LPVOID,UINT,LPCWSTR);
DWORD STDCALL GetPrivateProfileSectionW(LPCWSTR,LPWSTR,DWORD,LPCWSTR);
DWORD WINAPI GetPrivateProfileSectionNamesA(LPSTR,DWORD,LPCSTR);
DWORD WINAPI GetPrivateProfileSectionNamesW(LPWSTR,DWORD,LPCWSTR);
BOOL STDCALL WritePrivateProfileSectionW(LPCWSTR,LPCWSTR,LPCWSTR);

Do you have the win-api documentation?? If not try: ftp://ftp.cs.virginia.edu/pub/lcc-win32/win32hlp.exe (they have an excellent c-compiler too)

// Fredrik Andersson


> -----Original Message-----
> From: c2e4gnfb@pro.klienci.pkobp.pl
> [mailto:c2e4gnfb@pro.klienci.pkobp.pl]
> Sent: tisdag 5 juni 2001 12:17
> To: vrf@lvld.agilent.com
> Subject: vrf VRF: Handling *.ini files in Vee
>
>
> I need to save more than "a few" parameters between sessions of my
> *.vee program. I do not want to play with Registry so the most handy
> way seems to be to use *.ini file and separate keys in it. I am sure
> that there must be some functions in Win dlls to manipulate
> records in *.ini files - using native Windows functions would be more
> convenient. Is there anyone in VEE WORLD who can help ?
>
> Pawel Zylka
> Wroclaw University of Technology
> Institute of Electrical Engineering Fundamentals
> Division of Electrotechnology
> Wybrzeze Wyspianskiego 27
> 50-370 Wroclaw
> Poland
> ---------------------------------------------------------------------
> This is the "vrf" maillist, managed by Majordomo.  To send messages to
> this maillist, just email to "vrf@lvld.agilent.com". 
> Subscriptions and
> unsubscriptions are done through the address
> "vrf-request@lvld.agilent.com".
> If you need details, just send a message containing the text "help"
> to "vrf-request@lvld.agilent.com".
> ---------------------------------------------------------------------
>

-------------------

Fredrik K Andersson
Service engineer, calibration and maintenance

Ericsson Microwave Systems AB Phone:     +46 33 179600
Sandlidsgatan 3               Direct:    +46 33 171637
SE-504 12 Bors               Fax:       +46 33 179850
Sweden
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo.  To send messages to
this maillist, just email to "vrf@lvld.agilent.com".  Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------

Outcomes