Type: Posts; User: Igor Vartanov
Search took 0.11 seconds.
I don't think I could recommend anything better than what plain google search would do. I believe, MSDN, and CodeGuru, and CodeProject sites are good to start with.
Not sure if speculation on what should be the most logical in the situation like that would have any value. Anyway, you are not able to change the design of list control. You either find the answer...
August 29th, 2014, 12:34 AM
OCX you mention here is just an alias to ActiveX term, which in its turn is an alias to COM in-proc server. So let's talk a bit about COM in-proc servers.
COM is Windows way to bring OOP to...
August 28th, 2014, 01:31 AM
It seems your buffer appears overrun at the moment you start getting random return values, so your problem hardly has anything to do with threading or DLL. It's most probably either true corruption...
August 24th, 2014, 12:32 PM
August 14th, 2014, 11:38 PM
Exactly, the compiler can not.
August 14th, 2014, 08:37 AM
For your information, the link just fails to open. I tried it twice, which is exactly two attempts more than I typically use for unknown web resources.
So this is where I fail to understand...
August 14th, 2014, 07:25 AM
Any Monospaced font should do for this.
August 14th, 2014, 07:16 AM
C3861 (identifier not found) is related to incomplete header files.
What I can imagine as a reason to have this issue in multi-project solution is dynamic header generation, like importing COM...
August 14th, 2014, 06:50 AM
Okay, you said:
Do you mind to explain every part of your message? I mean the following:
relation between ASP.NET C# page and server, what hosts what
August 14th, 2014, 05:55 AM
This actually makes no sense to me. Any web page implies the generated HTML code be loaded to browser. Therefore, ASP.NET code execution has a short life cycle strictly limited by HTML code...
August 14th, 2014, 05:41 AM
You should refer to fortran documentation to see if it's possible. As far as I know, it is possible, but only with C-style linkage and data types. I.e. no C++ type parameters can be exposed to...
August 12th, 2014, 01:14 AM
Well, passing C++ objects across thread's boundaries is potentially unsafe, as the same object becomes accessible from multiple threads simultaneously.
I would think about possibilities of...
August 9th, 2014, 02:09 PM
How thoughtful of them. :)
Anyway, today I installed VS 2010 Express to one of my VMs. The sample project attached. First you build ConsoleApplication1 project (VB.NET exe), then you build...
August 9th, 2014, 10:11 AM
Then next your try should be with DebugBreak. :)
Ultimately you always can debug with OutputDebugString or even with logging to a plain text file.
August 8th, 2014, 03:00 PM
I never use Express versions, so I would not help you with this. However, debugging DLL project did not change since at least VC++4 when I built my first DLL. You start Debug on DLL project, and IDE...
August 8th, 2014, 04:57 AM
You need to make sure you deal with correct dll.
Set your dll as default project in the solution. Specify the path to your VB.NET exe for running dll project. Set a breakpoint in dll code. Run the...
August 7th, 2014, 04:02 AM
Okay, you must be right, my fault. Suspending required. :)
August 7th, 2014, 02:28 AM
The sample below does nothing but creates threads with 5 seconds interval. As you may guess, it shows no handle leaks. I would suggest you to look somewhere else, the structure for example, if it...
August 7th, 2014, 02:17 AM
I believe, it already is much more elegant: CWinThread::m_bAutoDelete and CWinThread::m_hThread. As you can see, no suspending required.
August 6th, 2014, 03:15 AM
Okay, new sample. Same DLL accepting callback, two clients: non-threading console and threading gui apps.
The clients' code stripped to minimal required. No MFC controls accessed in worker thread....
August 6th, 2014, 01:39 AM
Yes, it does execute in a worker thread.
And yes, you're right that accessing MFC UI controls from worker thread is not recommended in general.
However I'm not that religious about following...
August 5th, 2014, 02:27 PM
Mike, the sample was made to be a simplistic representation of C-style callback use in GUI. Your additional DLL aspect adds almost nothing to it, but as long as you asked for it, the demo includes...
August 5th, 2014, 04:29 AM
GUI <- Callback <- DLL sample attached
August 3rd, 2014, 08:33 AM
As for me, VS is the most attractive IDE for Windows. I really love it's debugger, though Whole Tomatoe's add-in is still a recommendation for improving its editor. Express edition, which is free,...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.