Hi
iam using regasm.exe to generate tlb file and register the assembly programatically.But the path of tlb in .NET root directory itself. so do like this
buffer contains c:\windows\Microsoft.Net\framework\v2.0.57\RegAsm.exe
if(!CreateProcessW(buffer,L" C:\Program Files\Test\Test.dll /codebase /tlb /silent" ,NULL, NULL,FALSE, 0,NULL,NULL,(LPSTARTUPINFOW)&si,&pi ) )
But i think it wont tkae fulpath since there is a blank b/w Program and Files.as expected the when i run the command it also shows unable to locate input assembly c:\program.
normally at coomand prompt we can give as
RegAsm.exe "c:\program files\Test\test.dll" /codebase /tlb this bold characters i have to pass as command line but it have Double quptes with in double quotes. so i was strucked.
How can i fix it