Siliconetics Developer Center 
(609) 7607027
admin@srcsb.com

The different betwen "Normal" and "Fast Food" restaurant in Bistro

Admin0 Comments02-12-2021 08:06

Normal:
Take Order -> Process -> Eat -> Pay

Fast Food:
Pay -> Process -> Eat/Takeaway

read more

LANGKAH-LANGKAH UNTUK MENAIKTARAF KE MFC 2017

0 Comments17-04-2019 05:15

Berikut adalah langkah-langkah yang dilakukan untuk mengadaptasi aplikasi yang dibangunkan sebelum ini menggunakan MFC 2008 kepada MFC 2017. Projek targer ialah Siliconetics Trade Spider.

read more

BORANG INPUT DENGAN FITUR "MEDAN INPUT TERKAWAL"

Admin0 Comments24-12-2016 02:31

Kaedah atau fitur "Medan input terkawal (Protected input fields)" atau PIF adalah bertujuan untuk memudahkan input data dan mengelakkan kekeliruan dengan cara melumpuhkan medan-medan input mengikut keperluan. Misalnya hanya medan kod diaktifkan manakala semua medan lain dilumpuhkan apabila rekod baru dicipta dan sebelum pelanggan ditentukan.

Contoh borang input yang menggunakan medang terkawal (protected fields) ialah borang LESEN PENANAMAN KENAF dalama Sistem Maklumat Peladang (SMP). Ini merupakan borang input pertama yang diterapkan dengan sistem medan input terkawal.

Berikut adalah penambahan yang perlu dilakukan untuk menerapkan fitur PIF:

1. Fungsi "UpdateInputState" perlu dimasukkan ke "class" skrin input bertujuan untuk mengemaskini kadudukan mendan input mengikut situasi semasa.

2. Fungsi "UpdateInputState" mesti dipanggil dihujung fungsi "Refresh" dan "UpdateOwner".

3. Tambahkan kod ini dalam "Accept":

if(!pDoc->m_Owner.IsValid())
{
m_CtrlCustCode.SetFocus();
OnOK();
return false;
}

read more

MULTI MONITOR NOTE

Admin0 Comments21-04-2014 06:42

There is no handle for every monitor. All monitors only share a single desktop. However we can create different DC for different monitor. Please refer CreateDC Windows function.

read more

Runtime error R6034

Admin0 Comments01-03-2014 09:02

Error berlaku pada Windows XP. Sebabnya:

Data manifest tidak dimasukkan ke dalam resource kerana baris berikut telah dikomenkan dalam "resrouce.h" dengan tidak sengaja ( atau mungkin dikomenkan oeh Visual Studio 2012 ).

#define IDR_MANIFEST 1

read more

MISSING MFC90.DLL

SDC0 Comments14-02-2013 08:24

I currently develope an application for a member card system. This is not a new aplication but continously updraded for years. The application working very well before on any Windows from version 95 up to 7 untill this error suddenlly appeared when I tried to install this application on an XP. The error does not appear in Windows 7, so I failed to notice this error during development.

After about 10 hours of working time then I detected that it's caused by the defination for IDR_MANIFEST was accidentally removed from "resource.h" which caused the application to be built without manifest information. This application works well in Windows 7 but failed in XP. This problem are very difficult to detect because the compiler does not notify any error or warning.

SOLUTION: Never delete IDR_MANIFEST definition in resource.h even it was marked as unused.

read more

The procedure entry point _except_handler4_common could not be located in the dynamic link library msvcrt.dll

SDC0 Comments01-01-2013 04:51

Hi guys, If you are facing this error continuously whenever you click any program or software such as: firefox, msnmessenger, or any other program, and you have done all your efforts to get rid of this error, just follow these 2 simple steps solution:

1. Browse to C:\Windows\System32 folder and file this file dwmapi.dll
2. Rename this file from dwmapi.dll to dwmapi.dll_old

Now you can run your application without any hassle :)

The DwmAPI.dll file is a Direct X related file that is used for vista. Allow me to elaborate on WHY it's used for vista, however.
The file that you're having problems with is a Direct X file that is part of DirectX10. This is why some people have this problem after installing graphics cards, and some have it after installing DX10 Games, and applications that are developed with the DX10 A.P.I in them (I.E. Firefox 3.5 - They had a faulty install on the first release of 3.5 that put this file onto XP machines.)

This file MAY, or may NOT hurt your system. That's all dependent on if you have a DX10 compatible Graphics card.
If you do NOT have a DX10 compatible graphics card, the best solution for you, is to go ahead, and do it what I have mentioned above in two steps.

read more

Flitbase File Structure

SDC0 Comments13-09-2010 09:01

The Flitbase file structure basically consists of three parts, a header at the begining of the file, the body containing all the records and a reference table at the end of the file.

read more