15,991,353 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by SheepSpeech (Top 21 by date)
SheepSpeech
31-Jan-18 10:59am
View
Thank you. After my searches, could you answer some new questions I had in mind :
3) Because an Access database needs Jet or ACE, can we say that an Access database file is "embedded"? What is the difference with, say, a PostgreSQL database?
4) Is Access really using Jet, which is deprecated ? Even Access 2016 ? It sounds weird to me...
SheepSpeech
26-Jan-18 10:56am
View
Thanks. But then how do you explain this part of the error message: "or memory usage accumulating continually over time"? As I said, it seems to be related in some way...
SheepSpeech
26-Jan-18 4:28am
View
Well I can't give you the code because this is a project I'm on with other people. But I can tell you that I'm using Entity Framework, and the long operation is generating entries for a database.
Anyway, the only difference between both cases is the new thread creation.
I added the error message I get when I'm in debug mode. The interesting part is "or memory usage accumulating continually over time". It seems to be related in some way...
Do you have any ideas, even vague? It might help me find out what's relevant here.
SheepSpeech
13-Dec-17 9:19am
View
Thanks !
I just finished a project in C#, my mistake. But I saw this on the internet and it seems to work, I use it for my databases exceptions: AfxMessageBox(L"Database error: " + e->m_strError);
SheepSpeech
13-Dec-17 8:13am
View
Deleted
Thanks !
I just finished a project in C#, my mistake. But I saw this on the internet and it seems to work, I use it for my databases exceptions: AfxMessageBox(L"Database error: " + e->m_strError);
SheepSpeech
13-Dec-17 6:35am
View
And the database will be fully embedded? (The client machines won't need Access ?)
SheepSpeech
9-Nov-17 8:58am
View
Thanks, but this link was in my original post, and I explained that I couldn't find what I wanted on that page (either because it's not here or because I don't search correctly): a System.Data.SQLite.dll working as a single file. And this is possible: I gave you a link to a tutorial with such a file.
SheepSpeech
9-Nov-17 6:41am
View
Which page should I look to find x64 and x86 versions of System.Data.SQLite.dll ?
SheepSpeech
9-Nov-17 4:33am
View
Which one?
SheepSpeech
9-Nov-17 3:57am
View
Well, I found in a tutorial (https://blog.tigrangasparian.com/2012/02/09/getting-started-with-sqlite-in-c-part-one/) a single System.Data.SQLite.dll file for x86, but I can't find it in the download page (it's always referencing other dll like SQLite.Interop.dll). I would like only 1 dll as I had with this tutorial, but from the official website.
SheepSpeech
9-Nov-17 3:20am
View
Here it is:
I have the following questions:
- where can I find x64 and x86 versions of System.Data.SQLite.dll ?
- how can I compile them myself from source code?
- is there an easy way to have the System.Data.SQLite.dll file as an embedded resource, so I'll only have to distribute one dll in the end ?
SheepSpeech
8-Nov-17 5:03am
View
This is not what I am asking for, I would like to have one dll for x64 and then create a x64 version of my library, and in an other projet, a dll for x86 and then create a x86 version of my library.
SheepSpeech
2-Oct-17 4:49am
View
This is what I understand:
"One is set a breakpoint in your code where you invoke functions from the DLL and then step into the code that it calls." You need to have the main app's source code for this.
"The second is to set a breakpoint inside the functions of the DLL and then run the program until one of those breakpoints is hit." You need to be able to run the debugguer from the DLL, to do this you have to attach the DLL to the app, but as I explained the app doesn't launch it in this case because it's not in its Plugins directory. If you also put the .dll in its Plugins directory and choose to launch it from the app, breakpoints are ignored.
SheepSpeech
29-Sep-17 10:36am
View
Did you try this without the main app's source code? Thanks.
SheepSpeech
29-Sep-17 4:05am
View
Hi,
I think it is what I've done (did I forget something? May be the .pdb files but I wasn't explicitly blocked without it).
The problem is more into this: my app loads plugins from its "Plugins" directory and then the user can choose one of them and launch it. So only attaching my extension to the app do not allow me to see the plugin in my app. Moreover, doing this way, my app doesn't load any plugin (usually, it loads all the plugins available in its "Plugins" directory).
SheepSpeech
25-Sep-17 4:07am
View
Hello,
I have another question: in what kind of situation this ID issue may happen? Because I had this problem when I tried to create a window from a template ID, ie this way:
CDialog myDlg(IDD_DIALOG1);
myDlg.DoModal();
But I don't have it anymore if I create my window via a class, this way:
PluginDialog dlg;
dlg.DoModal();
Is it chance, or in this case there is no way I can get an ID conflict? I need some explanations.
Thanks!
SheepSpeech
21-Sep-17 10:54am
View
I need a piece of advice:
I just want to test something on my extension's dialog, so I would like to quickly change the _APS_NEXT_*_VALUE. However, when I do that, my dialog doesn't appear anymore + its ID is not changed in resource.h. What am I supposed to do?
And also, _APS_NEXT_*_VALUE is the next value for the current project, it's a lower limit, right?
SheepSpeech
21-Sep-17 10:14am
View
Thank you, I'm gonna try that and give you a feedback !
SheepSpeech
21-Sep-17 10:05am
View
Deleted
Yeah sorry, I found out more about the subject and was able to precise my question. I don't understand this part of your answer:
"adjust the _APS_NEXT_* values on the bottom for new resources, and adjust all existing definitions to be before the NEXT definitions but after the definitions used so far plus space for new ones in the other file."
Do you mean that I have to put manually the right value, or there is some macro to do it "dynamically" according to other MFC extension DLLs and the main app?
SheepSpeech
21-Sep-17 10:04am
View
Deleted
Yeah sorry, I found out more about the subject and would precise my question. I don't understand this part of your answer:
"adjust the _APS_NEXT_* values on the bottom for new resources, and adjust all existing definitions to be before the NEXT definitions but after the definitions used so far plus space for new ones in the other file."
You mean that I have to put manually the right value, or there is some macro to do it "dynamically" according to other MFC extension DLLs and the main app?
SheepSpeech
21-Sep-17 9:22am
View
Hi,
Thanks for your reply. I assume the resources will simply increment by one each time one is added to the project.
However, my final purpose is to let other people create MFC extension DLL for my app. I would like to find a solution which avoid any conflict (and avoid the need to set a range), because people won't know the range used by the main app and other extensions.
Show More