Showing posts with label visual Studio. Show all posts
Showing posts with label visual Studio. Show all posts

ATL COM : Regsvr32 Error

The Module "*.dll" was loaded but the entry-point DllRegisterServer was not found.

Have you saw this error any time, have you google it for the solution, did you found the any help ?

My answer is no.

Here is the solution,
1. check the "def" file is updating properly or not
2. Go to Project properties -> linker -> input -> Add the def file path in Module definition file.

Is you problem solved ? happy to see any comments.


I am using third part DLL to configure something:), I don’t have the code/rights to change that third party dll, and I am getting PInvoke error , when I am importing the dll like below:

[DllImport("XXXXXX.dll")]
public unsafe static extern BusinessObject configure(int iConnectTimeout_seconds, int iReadTimeout_seconds,
char[] sProtocol, object pLoggingStream, char[] sUserAgent, char** sError );


And the error what I was getting is :
“A call to PInvoke function 'sathish!CDLL.Cfunction::export' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature.”

I tried all the possible solution mentioned in the Internet. Unfortunately Nothing is working out for me.

Fortunately
once change the target framework to .NET 4 to .NET 3.5 it start working:)

Speed up solution loading time in Visual Studio 2005


Your Visual studio taking long time load your project ?

just delete content of following folder (and keep deleting everyday…)

C:\Documents and Settings\\Local Settings\Application Data\Microsoft\WebsiteCache

More information: http://groups.google.com/group/chromium-dev/browse_thread/thread/b181f59d9d445fa1?pli=1

http://robertbogley.wordpress.com/2007/09/19/how-to-speed-up-loading-time-in-microsoft-visual-studionet-2005-projects/