
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?