User Hook Compatibility [PickMaster 3]

Hello,

I’m trying to crete my user Hook, but I cannot see it in the HookerTester.

I just copy the example and compile it.

The difference respect the SW requirements is that I’m using VS .Net 2008 and .NET Framework 2.0.

Could it be the problem?

BR Oscar

2008-02-11_155600_ClassLibrary1.zip

Hi Oscar

I doubt that UserHooks make in VS2008 will work.
Maybe if you can set it up to only use .NET FW 1.1.

BR
Mats

I try to set up the project for .NET FW1.1 but I cannot.

Can someone help me to make this set up in Visula studio 2008?

BR

Oscar

Hi Oscar,

Try this:
http://tech.einaregilsson.com/2008/01/15/developing-aspnet-1 -1-in-visual-studio-2008/

I haven’t done it myself for VS 2008, only for VS 2005. Then I used MsBee:
http://www.codeplex.com/Wiki/View.aspx?ProjectName=MSBee

Good Luck!
/Mats

Hi Mats,

I now installed Visual studio 2005 Express edition, in order to build up my user hook.

I installed the .net framework 1.1 sdk

I installed the MSbee.

I modify the project and I try to compile.

Still I cannot see my hook in the list of the hooktester.

I attach the project and the printscreen of the msbuild.

2008-07-21_134439_MatrixUserHook1.zip

2008-07-21_134540_Print_MSBuild.zip

Can yuo check that everythink is ok?

BR

Oscar

Oscar,

I tried your dll and it works fine.
Make sure you use the files in the .inFX1_1Debug directory and that you select Position Adjuster in the HookTester.

To be able to always build for .NET 1.1, I suggest that you remove the Condition=" ‘$(BuildingInsideVisualStudio)’ == ‘’ AND ‘$(TargetFX1_1)’==‘true’" conditions in the csproj file.

I have even been able to upgrade your project to VS2008.
Note that if you do so, you have to edit the first line in the csproj file to:
*_

/M

Thanks Mats,

now i can build it!

Is there any chance to debug the application?

I try with

System.Diagnostics.Debugger.Launch();

but it is not working.

BR

Oscar

Thanks for the hint, it works for me!