First thing first Iâm using FCKEditor in asp.net site on GoDaddy.com. Of course Iâm using dll assembly to control editor
Now, the problem:
When I try to browse for file I always get Security Exception in procedure
Public Shared Function CreateDirectory(ByVal path As String) As DirectoryInfo
Afther several days spent in searhing solution on google, I changed entire component to vb.net and found problem and solution on my on.
Problem was in procedure _mkdir and, I quess, dllimport function âmsvcrt.dllâ. Probably godaddy doesnât allow access to this function so when I change entire CreateDirectory procedure with this
Public Shared Function CreateDirectory(ByVal path As String) As DirectoryInfo IO.Directory.CreateDirectory(path) Exit Sub
everything works fine.
My question is âWhy fckeditor use dllimport instead of .Net build-In function for creating folders? â Is there some function that now doesnât work?