topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday April 16, 2024, 3:18 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - sibbl [ switch to compact view ]

Pages: [1]
1
Circle Dock / ObjectDock Docklets...
« on: September 28, 2008, 07:03 AM »
Hi there,

i dealed with the objectdock sdk in the last days and the following application is the result:



in the background you can see the information which are saved in the docklet dll. And in the foreground you see my C# application which dynamically loads the docklet and reads its data. I think this are the basics for such a implementation of the docklets and in the next days I will have a closer look to alle the functions written in the sdk documentation. Overall it shouldn't be very difficult.
Please tell me your ideas. It would be great too if someone could help me with coding some structs in c++ for c#. especially the following:


Code: C++ [Select]
  1. typedef struct
  2. {
  3.         HWND hwndDocklet;
  4.         HINSTANCE hInstanceDll;
  5.  
  6.         int iTestNumber;
  7.         char szTestString[500];
  8.  
  9. } DOCKLET_DATA;

... it should be something like this:
Code: C# [Select]
  1. [StructLayout(LayoutKind.Sequential)]
  2.     public struct DOCKLET_DATA
  3.     {
  4.         public IntPtr hwndDocklet;
  5.         public IntPtr hInstanceDll;
  6.         public int iTestNumber;
  7.         [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 500)]
  8.         public String szTestString;
  9.     }

but it won't work :(




and there's another problem, too ... i don't know how to handle the functions that are called from the dll plugin ... any ideas?


Take Care,
Sebastian M.

2
Circle Dock / compiled app doesn't work proplery
« on: September 25, 2008, 12:14 PM »
Hello,

first I want to thank you for the great implementation of such a tool. I had the same idea some weeks ago and have found your application now.
And because I'm very interested in it and i have some c# skills I also want to code some features of it.
I downloaded it and it compiles too. But the only problem is that no context menu is opening in my own compiled applications. So i right click on the dock and nothing happens. The same happens at the tray icon...
I have also tried to replaced the System folder with the one which is published in the compiled version...

Please help me, i have some ideas already  ;D
Many thanks in advance  :)

btw where can i send my german translation to?  :)




edit: I'm using Visual Studio 2008 SP1 Professional for compiling ... ;)

edit2: Ok i found the problem ... i downloaded the kiosk source code :) next time i'll read before downloading =( now there's only the question left where i can send my german translation to  ;D 8)

Pages: [1]