Hi Mark,
I tried using SQLCONNECTSTRING in one of my MTDLL's and it worked just fine. I think Claude is correct when he states that it probably has some sort of security implication. I found the same thing as Claude when I applied SP1 to VFP7. What is the error message you are receiving?
Bye for now
>It does not work from a .EXE.
>
>>I'll bet it works from a .EXE, but, it needs to run from a .dll. I've seen this in VFP7sp1,win2k pro (does yours work in 7sp1?). Ironically it worked from a .exe and ASP.NET! At first blush, I would say it's a security issue, but, it definitely isn't clear cut...
>>>>Did the same code work in VFP7 ? Is it compiled to a mtdll or .exe? Are you running from a virtual directory?
>>>>
>>>>>>Hi Mark,
>>>>>>
>>>>>>I have had no problems at all. What kind of problems are you encountering? I may have run into some of them already.
>>>>>>
>>>>>>Bye for now
>>>>>>
>>>>>>Tom
>>>>>>
>>>>>>>Has someone got any luck creating COM dlls in VFP8 beta and calling them from ASP pages? I am getting errors from JIT.
>>>>>>>
>>>>>>>Thanks, Mark
>>>>>
>>>>>It fails at SQLSTRINGCONNECT(lcStrConnect).
>>>Same code fine in VFP7.
>>>I did not try to compile to exe. Dont think it will make any difference.
>>>Since I am talking about JIT yes I am running it from a virtual folder. Same code works OK in VFP8 IDE. Strange.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement