complex profilestring question 
Author Message
 complex profilestring question

This is a bit of an oddball question for this arena, but at the moment I'm
looking for help wherever I can find it.

I've written an application in a language called SqlWindows (or Centura Team
Developer, depending who you ask).  It calls the WritePrivateProfileStringA
function from kernel32.dll -- at least, it should be calling it.  It seems
that the function does nothing in XP, although it works fine in 98.  I've
asked in SqlWindows forums, but I'm beginning to think it might be more
related to a change in MS Windows.  I'm quite suspicious because I get no
errors on compiling the program, which normally gives me errors if it
doesn't find the function in the dll.

Does anyone know of a change in the function, or in the kernel, that could
produce this?



Mon, 10 Jan 2005 21:12:58 GMT  
 complex profilestring question
This is not the group for that kind of question; we don't get to "do"
API without lots of work... :-)

Here's a guess though.  I suspect the problem may be it calling
WritePrivateProfileStringA instead of WritePrivateProfileString or
WritePrivateProfileStringW explicitly.  XP probably wants
WritePrivateProfileStringW.

--
Please respond in the newsgroup so everyone may benefit.
 http://www.bittnet.com/winremote
 http://www.bittnet.com/scripting


Quote:
> This is a bit of an oddball question for this arena, but at the moment
I'm
> looking for help wherever I can find it.

> I've written an application in a language called SqlWindows (or
Centura Team
> Developer, depending who you ask).  It calls the

WritePrivateProfileStringA
Quote:
> function from kernel32.dll -- at least, it should be calling it.  It
seems
> that the function does nothing in XP, although it works fine in 98.
I've
> asked in SqlWindows forums, but I'm beginning to think it might be
more
> related to a change in MS Windows.  I'm quite suspicious because I get
no
> errors on compiling the program, which normally gives me errors if it
> doesn't find the function in the dll.

> Does anyone know of a change in the function, or in the kernel, that
could
> produce this?



Mon, 10 Jan 2005 21:25:49 GMT  
 complex profilestring question
Thanks Alex, I'll certainly give it a try.  I've actually tried calling the
WritePrivateProfileString directly (when I try defining this in my call to
the dll, I DO get a "function not found" error when I try to compile).  I'll
let you know how it goes.

Sorry about the decidedly off-topic question.  I figured people who know VBS
frequently know other aspects of Windows (at least, the true VBS gurus are
likely to be familiar with the rest of Windows).  In retrospect, I probably
should have hunted around for a more applicable forum.

Sam



Quote:
> This is not the group for that kind of question; we don't get to "do"
> API without lots of work... :-)

> Here's a guess though.  I suspect the problem may be it calling
> WritePrivateProfileStringA instead of WritePrivateProfileString or
> WritePrivateProfileStringW explicitly.  XP probably wants
> WritePrivateProfileStringW.

> --
> Please respond in the newsgroup so everyone may benefit.
>  http://www.bittnet.com/winremote
>  http://www.bittnet.com/scripting



> > This is a bit of an oddball question for this arena, but at the moment
> I'm
> > looking for help wherever I can find it.

> > I've written an application in a language called SqlWindows (or
> Centura Team
> > Developer, depending who you ask).  It calls the
> WritePrivateProfileStringA
> > function from kernel32.dll -- at least, it should be calling it.  It
> seems
> > that the function does nothing in XP, although it works fine in 98.
> I've
> > asked in SqlWindows forums, but I'm beginning to think it might be
> more
> > related to a change in MS Windows.  I'm quite suspicious because I get
> no
> > errors on compiling the program, which normally gives me errors if it
> > doesn't find the function in the dll.

> > Does anyone know of a change in the function, or in the kernel, that
> could
> > produce this?



Mon, 10 Jan 2005 21:55:34 GMT  
 complex profilestring question
Natch - there are things farther off-topic; you got a suggestion out of
it anyway.

Of course if WritePrivateProfileStringW works, you've been justified.
:-)

--
Please respond in the newsgroup so everyone may benefit.
 http://www.bittnet.com/winremote
 http://www.bittnet.com/scripting


Quote:
> Thanks Alex, I'll certainly give it a try.  I've actually tried
calling the
> WritePrivateProfileString directly (when I try defining this in my
call to
> the dll, I DO get a "function not found" error when I try to compile).
I'll
> let you know how it goes.

> Sorry about the decidedly off-topic question.  I figured people who
know VBS
> frequently know other aspects of Windows (at least, the true VBS gurus
are
> likely to be familiar with the rest of Windows).  In retrospect, I
probably
> should have hunted around for a more applicable forum.

> Sam



> > This is not the group for that kind of question; we don't get to
"do"
> > API without lots of work... :-)

> > Here's a guess though.  I suspect the problem may be it calling
> > WritePrivateProfileStringA instead of WritePrivateProfileString or
> > WritePrivateProfileStringW explicitly.  XP probably wants
> > WritePrivateProfileStringW.

> > --
> > Please respond in the newsgroup so everyone may benefit.
> >  http://www.bittnet.com/winremote
> >  http://www.bittnet.com/scripting



> > > This is a bit of an oddball question for this arena, but at the
moment
> > I'm
> > > looking for help wherever I can find it.

> > > I've written an application in a language called SqlWindows (or
> > Centura Team
> > > Developer, depending who you ask).  It calls the
> > WritePrivateProfileStringA
> > > function from kernel32.dll -- at least, it should be calling it.
It
> > seems
> > > that the function does nothing in XP, although it works fine in
98.
> > I've
> > > asked in SqlWindows forums, but I'm beginning to think it might be
> > more
> > > related to a change in MS Windows.  I'm quite suspicious because I
get
> > no
> > > errors on compiling the program, which normally gives me errors if
it
> > > doesn't find the function in the dll.

> > > Does anyone know of a change in the function, or in the kernel,
that
> > could
> > > produce this?



Mon, 10 Jan 2005 22:07:22 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. complex regular expression question

2. complex newbie question

3. Complex save/restore question

4. Complex String Manipulation - Well Complex For Me Anyway

5. ProfileString

6. Complex Powerpoint Question

7. Complex Design Questions

8. msmq question - receive a complex type

9. Complex VB question

10. Complex INI Question?

11. Complex Winsock question about Firewalls.

12. complex database question

 

 
Powered by phpBB® Forum Software