Thanks for redirecting me to correct forum.
chirag_chauhan
Posts
-
Problem in accessing files from one virtual directory to second virtual directory on GoDaddy -
Problem in accessing files from one virtual directory to second virtual directory on GoDaddyI am trying to host WCF web-service on GoDaddy.com, where I have web-site hosted in A-virtual directory and web-service hosted in B-virtual directory. Now, I am trying to access the files available in A-virtual directory from web service that is hosted on B-virtual directory and it gives me access denied error. But, If I copy the same files in B-virtual directory, I am able to access those files from web-service. Now the question is, it's GoDaddy that is restricting this?? Can I solve this problem through code? If Yes, How? Or Do I need to contact GoDaddy to do it?? Or Do I need to purchase different kind of hosting account?? Thanks in advance.
-
Problem in accessing files from one virtual directory to second virtual directory on GoDaddyI am trying to host WCF web-service on GoDaddy.com, where I have web-site hosted in A-virtual directory and web-service hosted in B-virtual directory. Now, I am trying to access the files available in A-virtual directory from web service that is hosted on B-virtual directory and it gives me access denied error. But, If I copy the same files in B-virtual directory, I am able to access those files from web-service. Now the question is, it's GoDaddy that is restricting this?? Can I solve this problem through code? If Yes, How? Or Do I need to contact GoDaddy to do it?? Or Do I need to purchase different kind of hosting account?? Thanks in advance.
-
Problem in accessing files from one virtual directory to second virtual directory on GoDaddyI am trying to host WCF web-service on GoDaddy.com, where I have web-site hosted in A-virtual directory and web-service hosted in B-virtual directory. Now, I am trying to access the files available in A-virtual directory from web service that is hosted on B-virtual directory and it gives me access denied error. But, If I copy the same files in B-virtual directory, I am able to access those files from web-service. Now the question is, it's GoDaddy that is restricting this?? Can I solve this problem through code? If Yes, How? Or Do I need to contact GoDaddy to do it?? Or Do I need to purchase different kind of hosting account?? Thanks in advance.
-
c++ signing data using CAPICOMsorry, I was away from the forum for sometime. Does your problem get solved?? If not, may be you can copy-paste relevant code snippet here.
-
creating own gps map in vc++Are you having maps in form for pure images(JPG, BMP)? There are some formulas available on NET to convert lat/long to x/y co-ordinates on basis of width/height & lat/long of ((0,0), (width, height) of map. Here is the link: http://www.actionscript.org/forums/showthread.php3?t=164956[^]
-
Clipbaord copyTry passing hGlobalMemory instead of lpGlobalMemory in SetClipboardData function.
-
win32 windows exploler.I guess, it may be related to OLE just like one can embed excel functionality within Word Document. I haven't tried it, but this may be one of the solution to your problem.
-
Multiple Inheritance doubtThanks, the article is really good.
-
Multiple Inheritance doubtMy code snippet is something like this one, class Base1 { public: Base1() { cout<<"Base1()"<<endl; } virtual void method() { cout<<"Base1::method()"<<endl; } }; class Base2 { public: Base2() { cout<<"Base2()"<<endl; } virtual void method() { cout<<"Base2::method()"<<endl; } }; class Derived:public Base1, public Base2 { public: Derived() { cout<<"Derived()"<<endl; } void method() { cout<<"Derived::method()"<<endl; } }; int _tmain(int argc, _TCHAR* argv[]) { // Derived *d = static_cast<Derived *>(new Base1); // works fine // application crash at Base2::method call, even though Base2() constructor is invoked Derived *d = static_cast<Derived *>(new Base2); d->method(); return 0; } With Base1, application works fine. But when I try to use Base2, application crashes at method() call. And if I change the sequence in Derived class declaration to... class Derived:public Base2, public Base1 then Base2 object works perfectly but Base1 crashes. So, my question is why up-casting (or down-casting, not sure about specific word) works only with primary base class and not with secondary base classes??
-
Getting Last Two BytesYou can also achieve the results using & and shift-operators. Something like unsigned-var & 3 (as last 2 bits are 1s and all others are 0s) and then do left-shift to get last 2 bits.
-
Quitting an applicationK, will take care about it
-
How to debug a DLL () running on the remote server using Visual studio 2005Just copy x86 folder on u r server.
-
c++ signing data using CAPICOMCan you please let me know how much can you able to achieve? Can u able to launch Certificate selection Dialog?? And r u trying with VS2005/2008?
-
Add support for Memory leak detectionYou can use CRT functions like _CrtDumpMemoryLeaks, Refer http://msdn.microsoft.com/en-us/library/d41t22sb(VS.71).aspx[^] to start with.
-
Quitting an applicationYou can also use WM_SYSCOMMAND/SC_CLOSE.
-
How to debug a DLL () running on the remote server using Visual studio 2005Here are some of the steps that mey helps you, > Run msvsmon.exe located under "Program Files\Microsoft Visual Studio 8\Common7\IDE\Remote Debugger\x86" on the remote machine where EXE is running. > Then change the Tools->Options in msvsmon.exe according to your requirements. > On machine where VS2005 is running, Debug->Attach to Process: Transport-Remote, Qualifier-machine-name:port. Click on Refresh, that will give you list of processes running on remote machine. Hope this helps.
-
can you find the problem??By looking at following code statements, unsigned char response[20] ; UINT *rspSize; rspSize = (PUINT)malloc(sizeof(UINT)); result = ezLinkRcv(response,rspSize); it seems like problem with rspSize, rspSize doesn't match with response memory allocatin i.e. 20. I suggest you to try out giving hard-coded 20 instead of rspSize to know exact problem and then after implement generalized logic.
-
c programing project on rejistrationTry seraching for "C Tutorials" on Google, and look at some examples u will get an idea to start-up.
-
Debug Assertion FailedIt's better if you can try out sample application with minimum code including function that cause the error that will help you to get into exact problem. And it will also helps others to find out exact cause of problem and to give appropriate solution.