function GetPrivateProfileString did not work.... 
Author Message
 function GetPrivateProfileString did not work....

Hi!

I have a big problem using the function GetPrivateProfileString from Lib
Kernel32.dll.
I Declared all, but when i call the function then it returns th e
DefaultString.
I have testet several INI Files and checked the Syntax.
It doesent matter what INI i used it always returned the DefaultString.

I hope someone can help me with this Problem!

P.s.: Sorry for my English, but reading is easier than writing ;)



Sat, 02 Oct 2004 07:29:46 GMT  
 function GetPrivateProfileString did not work....
Take a look at this class file:
http://www.allapi.net/classlib/class.php?id=1
It's a VB.NET implementation of the Profile API functions.

Regards,
Pieter Philippaerts


Quote:
> Hi!

> I have a big problem using the function GetPrivateProfileString from Lib
> Kernel32.dll.
> I Declared all, but when i call the function then it returns th e
> DefaultString.
> I have testet several INI Files and checked the Syntax.
> It doesent matter what INI i used it always returned the DefaultString.

> I hope someone can help me with this Problem!

> P.s.: Sorry for my English, but reading is easier than writing ;)



Sat, 02 Oct 2004 07:36:57 GMT  
 function GetPrivateProfileString did not work....
Thanks very much for the tip!



Quote:
> Take a look at this class file:
> http://www.allapi.net/classlib/class.php?id=1
> It's a VB.NET implementation of the Profile API functions.

> Regards,
> Pieter Philippaerts



> > Hi!

> > I have a big problem using the function GetPrivateProfileString from Lib
> > Kernel32.dll.
> > I Declared all, but when i call the function then it returns th e
> > DefaultString.
> > I have testet several INI Files and checked the Syntax.
> > It doesent matter what INI i used it always returned the DefaultString.

> > I hope someone can help me with this Problem!

> > P.s.: Sorry for my English, but reading is easier than writing ;)



Sat, 02 Oct 2004 16:20:52 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Does anyone haver a working sample of API function GetPrivateProfileString which reads values from ini files

2. Does anyone haver a working sample of API function GetPrivateProfileString which reads values from ini files

3. GetPrivateProfileString does not work!

4. DBGrid Delete Key function not working on some DBGrids while it works on others

5. Cannot get GetPrivateProfileString or Section to work, HELP?

6. Can't get GetPrivateProfileString API to work

7. ------------ GetPrivateProfileString doesn't work !! ---------------

8. GetPrivateProfileString doesn't work with kernel32.dll

9. API GetPrivateProfileString and WritePrivateProfileString don't work.

10. GetPrivateProfileString -how does it work?

11. GetPrivateProfileString doesn't work with colors

12. Audit Functions not working

 

 
Powered by phpBB® Forum Software