Pin vi khuẩn tự sạc – nguồn cung hydrô dồi dào
Các nhà khoa học Mỹ vừa tìm ra công nghệ giúp các pin làm từ vi khuẩn có khả năng tự cung năng lượng và có thể sản xuất ra một nguồn hyđrô vô hạn.
Điện năng từ nước tiểu
Lần đầu tiên các chuyên gia Anh đã thành công trong việc sử dụng nước tiểu để tạo ra điện, mở ra hướng phát triển mới cho ngành năng lượng thế giới trong tương lai.
Máy phát điện từ nước thải
Các nhà nghiên cứu Mỹ vừa giới thiệu nguyên mẫu thiết bị mà họ cho là có khả năng sản sinh dòng điện từ nước thải.
Phát triển thành công pin hoạt động nhờ nước tiểu với kích thước nhỏ, giá thành rẻ
Làm việc với các đồng nghiệp đến từ Đại học Queen Mary và Trung tâm Năng lượng sinh học Bristol, các nhà nghiên cứu tại Đại học Bath (Anh) đã chế tạo thành công một loại tế bào nhiên liệu vi khuẩn (Microbial Fuel Cell – MFC) hoạt động nhờ chính nước tiểu con người.
Visual C++, CMap object save to blob column
I have a MFC CMap object, each object stores 160K~ entries of long data. I need to store it on Oracle SQL. We decided to save it as a blob. Since we do not want to make additional table, we also thought about saving it as local file, with the SQL column pointing to that file. We would prefer to just keep it as blob on the server and clear the table every couple of weeks.
Database Facade to wrap our existing queries?
We have a very big application written in C++ using the MFC framework (millions of code lines). No need to say that it’s a legacy system, but it’s also heavily maintained and updated. This application lacks a lot of architecture. For example, we have a lot of classes that do queries directly to the database, which creates a lot of difficulty for unit testing.
MFC CDialog::Domodal returns -1 with exact error 1814
I’m trying to create a UI(dialog) in an existing dll using MFC where an application is supposed to call the method which should create this dialog(this can be any application. the dialog is specific to the dll, but the method is generic across multiple dlls). I’m using DoModal method here with a CDialog inherited class and the return value of the DoModal is -1 with result of getexacterror code 1814 which is ERROR_RESOURCE_NAME_NOT_FOUND according to the microsoft documentation. Has anyone faced similar situation and guide me through it. I’ve literally tried copying from a sample app and it still wouldn’t work.
MFC CDialog::Domodal returns -1 with exact error 1814
I’m trying to create a UI(dialog) in an existing dll using MFC where an application is supposed to call the method which should create this dialog(this can be any application. the dialog is specific to the dll, but the method is generic across multiple dlls). I’m using DoModal method here with a CDialog inherited class and the return value of the DoModal is -1 with result of getexacterror code 1814 which is ERROR_RESOURCE_NAME_NOT_FOUND according to the microsoft documentation. Has anyone faced similar situation and guide me through it. I’ve literally tried copying from a sample app and it still wouldn’t work.
How can I handle the selection in a Task Pane, AddMRUFilesList function, using MFC?
I want to handle the selection in a Task Pane, AddMRUFilesList function using MFC. I’d think that there would be a function to handle that option. But I can’t find one.
Can’t get fopen_s to work in new VS MFC project
I am trying to use some code that works fine in an earlier VS MFC project, but I can not get fopen_s to work in a new VS MFC project. It refuses to open files. I can get a CFile operation to open files but I need fgetc function and don’t know how to achieve it with CFile. Solution?