Sorry :(, I forgot an essential point. All the function (from App to the Dll ) was at other Thread ("Dll thread"). Not in the main (GUI) thread, but in the same one (using queue) The init(…) and other function first enter to Q and the pulled by the "Dll Thread") koby
kobyb
Posts
-
C# with MFC -
Using Bitmap and got exception in disposeI used Bitmaps from camera by DirectX in my App . ( I get a frame - analyze and move to the next frame, and so on) After a long running time I get "exception in system.drawing.dll" in the dispose. "Object used by other process" ???:confused: If I add "Dispose", I get it sooner. Thank :rose: Koby
-
C# with MFCThe Code in the C#: [..."MyDll.dll"...] export static int Init(CallBack* xxx, SData* ps); The function get delegate to return event from the DLL and data on the application. ( name and ID, not window handle or other data like it) Koby
-
Global VariablesU can use singleton class with public properties Koby
-
C# with MFCHi :confused: I have MFC Dll with dialog, I used it in C# App. It's working functionality, but The MFC Dialog stays grey. (Missing WM_PAINT (? I think that I have problem with window handle. Can U help me? Thanks :rose: Koby
-
Managed DirectXHi I want to start working with Managed DirectX, aftre I install the SDK I have Microsoft.DirectX....xml file and not DLLs to references. Am I nead to compile any project? How I get the DLLs ? Thanks Koby :confused: